From patchwork Wed Aug 4 08:19:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kyle Tso X-Patchwork-Id: 12418041 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=unavailable 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 E2C44C4320A for ; Wed, 4 Aug 2021 08:19:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BD92261073 for ; Wed, 4 Aug 2021 08:19:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236287AbhHDITk (ORCPT ); Wed, 4 Aug 2021 04:19:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236278AbhHDITj (ORCPT ); Wed, 4 Aug 2021 04:19:39 -0400 Received: from mail-pj1-x1049.google.com (mail-pj1-x1049.google.com [IPv6:2607:f8b0:4864:20::1049]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50F19C061799 for ; Wed, 4 Aug 2021 01:19:27 -0700 (PDT) Received: by mail-pj1-x1049.google.com with SMTP id on10-20020a17090b1d0ab029017773c0b9aeso5777629pjb.1 for ; Wed, 04 Aug 2021 01:19:27 -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=C1EVFl+pMa5xKDarlXbCwR3ZQAR2GrvW09BixTn6J/8=; b=W5hgfrZDKalDsMytlNPR0fkoArwsxYmw/i+MAyb1IrmBWUhxCPdE5z9zLdHPP5yTvu +rh5WS+D+AhpmTi6GFiZnA55lTcuHrvUZdrJOF/6lUOh9mGdrxBbwTxv/CdKsvUfqB5v gigE6Q+ikeRWolpIK74dv1u5HPTRasUGW2vNH7yxAavvny5YrY1kdmV1CW6e6duT4NgB 2YF4WzSHI9bfhFNjqQVmLZu++ohxjzIZ8Elb7UEIEvIg2aZQ7IpEgj5Fj8br55OVMfqv EWn1/XhGyR+A9BGlRmh3LX+cyN5THQknxfKycUw8x8sb3eersDYKvtHwyv/avYj6tRBB lfmQ== 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=C1EVFl+pMa5xKDarlXbCwR3ZQAR2GrvW09BixTn6J/8=; b=o/XsZKN/OMfQwG2tA5HI72+dusgazUFSIIwXbB9OpwR1C3c2mxBIIZedjUJDRySFI6 crpgtcAKmVfWFTqEgeCVFX03wDe6xu+vDv0Br0SeSxh1KK1aEJ1AcK1xy6iyKI7bHoEg Mo1tmh1NB3Ro0P4l2wShsVEgOEaWAUxJk70B3By/4phoXH5ymtyd5Rehu5220PydH4lA 8J36n6LGpIvZZg+edSwVA3MW945Fm9eyH9qRRLnkeMT7X1F2HaVvDP0R8rfJQqVVKcqp cRpcv7I9X32BViQIWaG/xEoGKQuSqDWTSiAQNDVbYoXjEnPf7oYF0gy+UACN/pPYk83/ tObg== X-Gm-Message-State: AOAM533cchAECM6rQo/oDvxBE8KQQn+rvcmpLPFFp/rtCXRJ4Usa05kD 7pIQSseoMXqwXt1vTABDLy2nny2yYWX5 X-Google-Smtp-Source: ABdhPJx8Q/lL774JTLuDicVKFxGtOTVqf/nwjZS8BaVrMF1Xz/dKsBBD54XVSvUyAuFB6qStJn/WF+I+oibv X-Received: from kyletso.ntc.corp.google.com ([2401:fa00:fc:202:7eb8:c2f5:2e08:d4bc]) (user=kyletso job=sendgmr) by 2002:a17:902:bd83:b029:12c:1fea:7dc with SMTP id q3-20020a170902bd83b029012c1fea07dcmr21770700pls.59.1628065166725; Wed, 04 Aug 2021 01:19:26 -0700 (PDT) Date: Wed, 4 Aug 2021 16:19:16 +0800 In-Reply-To: <20210804081917.3390341-1-kyletso@google.com> Message-Id: <20210804081917.3390341-2-kyletso@google.com> Mime-Version: 1.0 References: <20210804081917.3390341-1-kyletso@google.com> X-Mailer: git-send-email 2.32.0.554.ge1b32706d8-goog Subject: [PATCH v6 1/2] dt-bindings: connector: Add pd-disable 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: linux-usb@vger.kernel.org Set "pd-disable" property if the Type-C connector has no power delivery support. Signed-off-by: Kyle Tso Reviewed-by: Rob Herring --- Changes since v5: - Changed the property name to "pd-disable" .../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..7eb8659fa610 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-disable: + 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: