From patchwork Wed Jul 28 09:29:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kyle Tso X-Patchwork-Id: 488980 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-26.3 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT,USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3E5FEC4338F for ; Wed, 28 Jul 2021 09:29:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 22FE360F9E for ; Wed, 28 Jul 2021 09:29:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231494AbhG1J3q (ORCPT ); Wed, 28 Jul 2021 05:29:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235384AbhG1J3q (ORCPT ); Wed, 28 Jul 2021 05:29:46 -0400 Received: from mail-yb1-xb4a.google.com (mail-yb1-xb4a.google.com [IPv6:2607:f8b0:4864:20::b4a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03109C061760 for ; Wed, 28 Jul 2021 02:29:45 -0700 (PDT) Received: by mail-yb1-xb4a.google.com with SMTP id d69-20020a25e6480000b02904f4a117bd74so2121653ybh.17 for ; Wed, 28 Jul 2021 02:29:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=RUJPh6UqFvsmnaeSLFxYRKVeU3eXey0w6Oeu1NKymnI=; b=SAUZTquQMTOFe3oo+mO1hGfbqJlmT+2gKwTClaKYJ/O2cpkGEViRDgvq7webhvbRkC xCTxqkcR31iJTz1JxG7j+34DjrkTr6OqQ6fwcjYx40q+UCmvtKqa1F4vZYrtm9fBHshx nQNvY3FkrocKOb0ic68hEMQGjvzDUOUlNXnHFAa1tqNDz/OgB8yqpuLFf+q56oZbh+v1 GuSRUXZUP7HDEaaX+BVTrWG63Hqd20/wIokRwncseKTd2zbe143s605qRg5QuBhD1EAX CjHyHrqSIcpxa5dE9dbUyuAmqkufTpkAs8eY2A46iv4525GE8P/UigjmqKpAKzMkKFH+ KWSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=RUJPh6UqFvsmnaeSLFxYRKVeU3eXey0w6Oeu1NKymnI=; b=IwTCNzQ+wS4AI82DUCZajcB0XuZVHmjQEaeoyo66S8gTFETPRtYq01APNm8JwEWcGC D2EXfNSoK3UWuetZMwROpasLUe3fUseGXmOItH+mZ0emEdLgdReMNxWIkvddeoeA2ES6 ougz2MzshgZH6yxIjJbS+HNbmoqm5Yp/39QC4drlNy3jzlZfrRwX5QKR2OBXHkJUa5WR WjMpkOKxRhqFcU9SoUT+JBZ92d4HzioVp2QFQbLL6XfKi6Ua1ImA0ld9SGgPpoAYteMC 66xLjp/R/pgSbaROAOzV6NvwmYfgfm99fmJrG/RqLWhK61hCFY5DMq+Xjy7WpuDMGrGE 41mQ== X-Gm-Message-State: AOAM532xPpgqiyxqmGwU/GRB3EG0THUHc0TYZqeyVf0xqc0QK7ScvOPn Gew0IfTEbZ73DEk/qXp0oeke6pU16HOR X-Google-Smtp-Source: ABdhPJxIed430XTN1GHV69yeSBEg8wY0pGsT1vjQrsjClecO5dJSZdfCxhtFXLHjMS6YdFjr+5AgRyclgpYp X-Received: from kyletso.ntc.corp.google.com ([2401:fa00:fc:202:da7f:a21b:ee74:66a2]) (user=kyletso job=sendgmr) by 2002:a25:24d4:: with SMTP id k203mr21079840ybk.383.1627464584182; Wed, 28 Jul 2021 02:29:44 -0700 (PDT) Date: Wed, 28 Jul 2021 17:29:29 +0800 In-Reply-To: <20210728092930.2552619-1-kyletso@google.com> Message-Id: <20210728092930.2552619-2-kyletso@google.com> Mime-Version: 1.0 References: <20210728092930.2552619-1-kyletso@google.com> X-Mailer: git-send-email 2.32.0.432.gabb21c7263-goog Subject: [PATCH v3 1/2] dt-bindings: connector: Add pd-supported property From: Kyle Tso To: linux@roeck-us.net, heikki.krogerus@linux.intel.com, gregkh@linuxfoundation.org, robh+dt@kernel.org Cc: badhri@google.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Kyle Tso Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Set "pd-unsupported" property if the Type-C connector has no power delivery support. Signed-off-by: Kyle Tso --- changes since v2: - Negated the meaning and the name of the dt property. Now the name is "pd-unsupported". .../devicetree/bindings/connector/usb-connector.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/connector/usb-connector.yaml b/Documentation/devicetree/bindings/connector/usb-connector.yaml index 92b49bc37939..21ec470117a6 100644 --- a/Documentation/devicetree/bindings/connector/usb-connector.yaml +++ b/Documentation/devicetree/bindings/connector/usb-connector.yaml @@ -111,6 +111,10 @@ properties: - 1.5A - 3.0A + pd-unsupported: + description: Set this property if the Type-C connector has no power delivery support. + type: boolean + # The following are optional properties for "usb-c-connector" with power # delivery support. source-pdos: