Message ID | 20231121202925.2481471-2-dmitry.baryshkov@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2b07:b0:403:3b70:6f57 with SMTP id io7csp898181vqb; Tue, 21 Nov 2023 12:31:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IGrg0hm8w1OvkgE/E7S3TYdlCJCCAAFWOtCPLKqJpS7gmzegiiMDvKLYvd+BiYmelmYDkiW X-Received: by 2002:a05:6a20:9183:b0:189:ccc0:ff2d with SMTP id v3-20020a056a20918300b00189ccc0ff2dmr134844pzd.52.1700598688883; Tue, 21 Nov 2023 12:31:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700598688; cv=none; d=google.com; s=arc-20160816; b=g3z7NAGO0O8SN5seFQrzmsGhiFdGGqaAC2Z4TRK8T3to06H3fFsgwPd1pZiS7MtOB5 WjyzkXySnvmAXGN6HqC2CF1hlq8+iM4KhbOI1+oacnb4/3IPeCg4lCdDBFC1pDvF7pmH Hmmmm3yoCBdxt0tbhZO/cZ2WNNeENnzH05LZEWlW2bj7NAOK0toaT876yrYUv0hGciS3 ni5sNIIiS/1Zw2T3r4TVrozcPF2NmFp/j6hX5pIABAJJf4RK8KIQoszCOrAkUomvGxOV uqRh6lfCT8xdjaAWYnlZ6vIs0m1ObLLcAR8m5BJvpxvcrqR1BBFxGRBaQxUm/uuXrapf wMrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=bFG5UZCWSj4c38SGi7sUkHkOSwjgQKhUp/xUHaHE5CA=; fh=A3blBdamKtq5kPtlpYpz4l6zGyY+ur9G2hKXzMhYY3Y=; b=uAuPf6AmFPxWNUunr6Nnjw+jQYJ3oG3CeLflxQZqxKAqMbxsEUr54zZ77ZjzVNnKy4 Exj++oJ6OrRmakP9a5IpZEQxAaFAug8idVZwh0xGwqN2NqguZsBKijUi4PXQx8sU9m4+ deXxC2nRCke9PMzWU3k1VIaOlZbtrXPRtdffXZX+7ihksHXoXr9SyMO9L9tKuN5GP337 HtQobo2GO61KjJpjRhOuaBIgxcA3mRMt7RXr+1BCsTCPqkqcwKTd2Iec+mgF70HGn4Y7 4lv8DgJTbA/lnoyM1v/2OlNMi06R+PNUWilGXJwyphZm1PXXQNNrSIYBK23iPzQ2Hl7i yg6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XbUOLmjj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id e7-20020aa798c7000000b006c346de97b0si10798221pfm.336.2023.11.21.12.31.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 12:31:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XbUOLmjj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id DF45F807411D; Tue, 21 Nov 2023 12:30:40 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234703AbjKUUae (ORCPT <rfc822;ouuuleilei@gmail.com> + 99 others); Tue, 21 Nov 2023 15:30:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234599AbjKUUaQ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 21 Nov 2023 15:30:16 -0500 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1C871FD4 for <linux-kernel@vger.kernel.org>; Tue, 21 Nov 2023 12:29:31 -0800 (PST) Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-50aaaf6e58fso4322140e87.2 for <linux-kernel@vger.kernel.org>; Tue, 21 Nov 2023 12:29:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700598568; x=1701203368; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=bFG5UZCWSj4c38SGi7sUkHkOSwjgQKhUp/xUHaHE5CA=; b=XbUOLmjjz9PPlcr3KzGO4M0K/yAcbwtQDQcaYeKxnPrVbT9XvSg/Q2rmlrffDl5t9B Zbx/LoXc9yq/h8eIFlX7r24EO5vPk1nyhtmHEep1JWBRk5MIOOmKaUUx31l0P+a5eGv4 pwA7IXMAeeRA4oQh3c2aVY4snPBOnZaKcstSDTSA155gKBaFmOa2LAdFOLydJVqDOaE5 2uOIOYt4E5jIa6MdShVxxgpL9MxqI5BwacvDGfN+JEWsAmaNUN9bTJ/qUMI43O/FV7oe XtqaeSWJgwYhQk6+7+uKsVRdhlVJlBEntzt3NuOCdYrp9erd8KDDspO90qKdASPXQc+2 iY4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700598568; x=1701203368; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bFG5UZCWSj4c38SGi7sUkHkOSwjgQKhUp/xUHaHE5CA=; b=qVMF939JeqjfovU2G64vu2QZD6Foz4IVRVx6WUnP8y2jSaoAXwyzA5go0I9VoDB28J L2UKoFO5rw6mvP+g1vRMc+VSJFkUEDzAGdebt9wDvgi8lwpyG+dSaQJvm5JT29TCDIw6 ORzpWo8fs6FjxQzTQHw8aYxU9c2TDyW3eXa0O5Co169AgpiNrF5U3Cd5KlmlzcMVXGTU xcnBbZvWDEN+DRWcX6fAbJgU1b3tzdvtmjtkmFnZ4oGNcRGQ8/SMjwZaYHjsQRWas34+ 4uQMaoe4HTB/xUgHsQ6+OcCBgMtFbYFVQ0jtVfMhNtgvg8+B8uSwJ4Rif21CjsSz9gLb YLwQ== X-Gm-Message-State: AOJu0Ywhnondh7PGb2/K+uaXGvmHhoW3I5JKvlNLtr8qV2px9BWC7tgD 8twcdWJmTKttrN1sitiyxvh4DA== X-Received: by 2002:ac2:4c36:0:b0:508:1470:6168 with SMTP id u22-20020ac24c36000000b0050814706168mr204843lfq.57.1700598567709; Tue, 21 Nov 2023 12:29:27 -0800 (PST) Received: from eriador.lan (dzdqv0yyyyyyyyyyybcwt-3.rev.dnainternet.fi. [2001:14ba:a0db:1f00::8a5]) by smtp.gmail.com with ESMTPSA id h4-20020a056512350400b0050ab6112af2sm286287lfs.65.2023.11.21.12.29.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 12:29:26 -0800 (PST) From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> To: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Hans de Goede <hdegoede@redhat.com>, =?utf-8?q?Ilpo_J=C3=A4rvinen?= <ilpo.jarvinen@linux.intel.com>, Mark Gross <markgross@kernel.org>, Heikki Krogerus <heikki.krogerus@linux.intel.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-usb@vger.kernel.org Subject: [PATCH v2 1/2] dt-bindings: connector: usb: add accessory mode description Date: Tue, 21 Nov 2023 22:26:59 +0200 Message-ID: <20231121202925.2481471-2-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231121202925.2481471-1-dmitry.baryshkov@linaro.org> References: <20231121202925.2481471-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 21 Nov 2023 12:30:41 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783206970701809416 X-GMAIL-MSGID: 1783206970701809416 |
Series |
usb: typec: tcpm: Handle Accessory Modes
|
|
Commit Message
Dmitry Baryshkov
Nov. 21, 2023, 8:26 p.m. UTC
Add description of the USB-C Accessory Modes supported on the particular
USB-C connector. This is required for devices like Qualcomm SM8150-HDK,
which have no other way to express accessory modes supported by the
hardware platform.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
.../devicetree/bindings/connector/usb-connector.yaml | 12 ++++++++++++
1 file changed, 12 insertions(+)
Comments
On Tue, 21 Nov 2023 22:26:59 +0200, Dmitry Baryshkov wrote: > Add description of the USB-C Accessory Modes supported on the particular > USB-C connector. This is required for devices like Qualcomm SM8150-HDK, > which have no other way to express accessory modes supported by the > hardware platform. > > Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> > --- > .../devicetree/bindings/connector/usb-connector.yaml | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > Reviewed-by: Rob Herring <robh@kernel.org>
On Tue, Nov 21, 2023 at 10:26:59PM +0200, Dmitry Baryshkov wrote: > Add description of the USB-C Accessory Modes supported on the particular > USB-C connector. This is required for devices like Qualcomm SM8150-HDK, > which have no other way to express accessory modes supported by the > hardware platform. > > Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> > --- > .../devicetree/bindings/connector/usb-connector.yaml | 12 ++++++++++++ > 1 file changed, 12 insertions(+) Does not apply to my tree, can you regenerate this against the next linux-next and resend with the acks added? thanks, greg k-h
diff --git a/Documentation/devicetree/bindings/connector/usb-connector.yaml b/Documentation/devicetree/bindings/connector/usb-connector.yaml index c1aaac861d9d..b4f96ef85fb0 100644 --- a/Documentation/devicetree/bindings/connector/usb-connector.yaml +++ b/Documentation/devicetree/bindings/connector/usb-connector.yaml @@ -171,6 +171,18 @@ properties: offer the power, Capability Mismatch is set. Required for power sink and power dual role. + accessory-mode-audio: + type: boolean + description: Whether the device supports Audio Adapter Accessory Mode. This + is only necessary if there are no other means to discover supported + alternative modes (e.g. through the UCSI firmware interface). + + accessory-mode-debug: + type: boolean + description: Whether the device supports Debug Accessory Mode. This + is only necessary if there are no other means to discover supported + alternative modes (e.g. through the UCSI firmware interface). + altmodes: type: object description: List of Alternative Modes supported by the schematics on the