Message ID | 20230127103913.3386435-1-christianshewitt@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp763355wrn; Fri, 27 Jan 2023 02:42:06 -0800 (PST) X-Google-Smtp-Source: AK7set9LftTT8hDgQzHj6A5dGZN2/9rmgeA89/RYtGLCyR+j1NrcFmqpFs2KRamq6ZShXLdit9Lx X-Received: by 2002:a17:90b:4a0a:b0:22c:1a8:f88d with SMTP id kk10-20020a17090b4a0a00b0022c01a8f88dmr10520703pjb.40.1674816125885; Fri, 27 Jan 2023 02:42:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674816125; cv=none; d=google.com; s=arc-20160816; b=e+5nzKOHQuUjSe8X9AGcVpTSzYq6KYhaSCPU5wnvIh/5K/xZBoHZkixlo+ZtCthmVo fp4sHYFe2o+q9O0oBn9dXXftXPc01jAIzpggOYs5l0PhMz6QV4ONx5YjdYxsNHxPeNy0 e6oaTbXsvo9CYptGPXmHmTBgLnMo2EdCOOdbOIeVae6iCadcO/AUBdUyQtMZoxpdI/U8 yF1EjYVi3jNRUg6/rQymTjU6TS8NpsBrfrFw8oKgnFOmpKjYRnIGR9iDyTPvRYiibWtJ tinNVK9WtTb9m6g8r4svAlY02VEKaFPnvr45uxfsbCHLS68pk6e6yjJJPbHaTs8+qILb xH/A== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=9cdeNu2rBUonzxoRF7BM3W3tfmDx0o1jZ8hpPYfrDac=; b=E3GSdaL5FU0oG3FR1T7e3ty4SYhUhUJrCOUG3YXd4kYjBFuuqk5qOAJCVpSTQzEbvR i5mh+Dwxtm7M/7mNcefkfwb/Y9tKcq/cCw1u3ePNv+xwH0QDv4jytE9NP8wzzF7cnFlb ZOgN96C4iP9s4KTmIrEdh9EyuKHGeYgjMNGI598ux8JZW0VEV4J2JPXZpBEsiOeszJ6E wWVsVvvHwoWguxYgu+hyRbU7N2OD/EtNYXwjT5CeCDDWC5sc/MrRMrEZYaWJBgC5sHWL VZ1oIsRqv30uiqywXvvAVl1SN8KPpITr8YgasmpR4mewJRxZsqluU3E2H/QF8AW9q5TU 1SeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=DAc5fdvu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y3-20020a17090aa40300b0022be95c1ea1si8021595pjp.59.2023.01.27.02.41.53; Fri, 27 Jan 2023 02:42:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=DAc5fdvu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232012AbjA0Kj2 (ORCPT <rfc822;lekhanya01809@gmail.com> + 99 others); Fri, 27 Jan 2023 05:39:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232048AbjA0KjZ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 27 Jan 2023 05:39:25 -0500 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2A191D90C; Fri, 27 Jan 2023 02:39:19 -0800 (PST) Received: by mail-wm1-x32d.google.com with SMTP id f12-20020a7bc8cc000000b003daf6b2f9b9so5097176wml.3; Fri, 27 Jan 2023 02:39:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=9cdeNu2rBUonzxoRF7BM3W3tfmDx0o1jZ8hpPYfrDac=; b=DAc5fdvudmdCacf9+7vec558W+yzremTGjoG3Ptit4ATrUwdmQPHKnS0Jq969HMQAh aZQ+puLj0KKKZ88tsd9PPzXPeqgMTd+OJLHh2t7abbXBj1AzH1xzfhJv4BX5XsShqGoa ql4GDehOUm603Qx8w6ZhsbOneUVUm7UEmzlgppiODmDcjSOQAw6I/O4Efo3JIzo4U97w iFRxj9iGP098x/YXH7avsdu+xwOER1m2CfyGAlD3oAQOcRMP452aAAdjHmxf2TKbHn8z KAXnXVdEZ6vLyI5GASrSclvclBbyd4dNkePSpB7ql85fVt2VM4fkbeNW5NujarJey+qa c2mQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9cdeNu2rBUonzxoRF7BM3W3tfmDx0o1jZ8hpPYfrDac=; b=Jo4uh9fmVJLPE8MXgafM3vC31tBn0dStgZNkw6hO3V10L0i0t3BJb7A6gQHMrtwPo+ EwFvkthMdeGBjgpGgg1K38PPXDOtEFo3gREm0hlS/sDaypyvrZ7zYDWEoXBQ7Gr4ajwr lASHnjsRMzW2v+oNNujctZcxJ9AvnwDnnKEgXSgWF1ucUn9eaFObxDnShIy+DPs/HGqY YM4Os/fXq4qgeeXS+ZkJCLr8VLxY6Zj9wn6D+tYxsUSWsSIG8NPr0ewK01gt5cJ4PSaC lnAeSlxUEiA1mvOq/EBVZH7Yz/WQaU/KXsAPJ+4uas3RfRoqqezJS/duShwiudQxuh45 hTvg== X-Gm-Message-State: AFqh2kpYc0gFXvVOShW11iVgW/TZlTVb5ifhJA1NBGCxCMeZKahQo1NZ 6W6/V0uHgFT3uplxbUM3gYc= X-Received: by 2002:a05:600c:3d98:b0:3d6:ecc4:6279 with SMTP id bi24-20020a05600c3d9800b003d6ecc46279mr36100281wmb.27.1674815958374; Fri, 27 Jan 2023 02:39:18 -0800 (PST) Received: from toolbox.. ([87.200.95.144]) by smtp.gmail.com with ESMTPSA id j2-20020a5d4482000000b002be063f6820sm4348243wrq.81.2023.01.27.02.39.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Jan 2023 02:39:17 -0800 (PST) From: Christian Hewitt <christianshewitt@gmail.com> To: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Neil Armstrong <neil.armstrong@linaro.org>, Kevin Hilman <khilman@baylibre.com>, Jerome Brunet <jbrunet@baylibre.com>, Martin Blumenstingl <martin.blumenstingl@googlemail.com>, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Christian Hewitt <christianshewitt@gmail.com> Subject: [PATCH] arm64: dts: meson: radxa-zero: allow usb otg mode Date: Fri, 27 Jan 2023 10:39:13 +0000 Message-Id: <20230127103913.3386435-1-christianshewitt@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756171993758521302?= X-GMAIL-MSGID: =?utf-8?q?1756171993758521302?= |
Series |
arm64: dts: meson: radxa-zero: allow usb otg mode
|
|
Commit Message
Christian Hewitt
Jan. 27, 2023, 10:39 a.m. UTC
Setting dr_mode to "host" prevents otg which can be useful on a board
with limited connectivity options. So don't force host mode.
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
---
arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts | 1 -
1 file changed, 1 deletion(-)
Comments
On 27/01/2023 11:39, Christian Hewitt wrote: > Setting dr_mode to "host" prevents otg which can be useful on a board > with limited connectivity options. So don't force host mode. > > Signed-off-by: Christian Hewitt <christianshewitt@gmail.com> > --- > arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts > index e3bb6df42ff3..cf0a9be83fc4 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts > +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts > @@ -401,5 +401,4 @@ &uart_AO { > > &usb { > status = "okay"; > - dr_mode = "host"; At some point we would need to add the fusb302 node to have proper USB-C PD and mode switch handling. Fixes: 26d1400f7457 ("arm64: dts: amlogic: add support for Radxa Zero") Acked-by: Neil Armstrong <neil.armstrong@linaro.org
Hi, On Fri, 27 Jan 2023 10:39:13 +0000, Christian Hewitt wrote: > Setting dr_mode to "host" prevents otg which can be useful on a board > with limited connectivity options. So don't force host mode. > > Thanks, Applied to https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git (v6.3/arm64-dt) [1/1] arm64: dts: meson: radxa-zero: allow usb otg mode https://git.kernel.org/amlogic/c/ce43ea00b927805c1fd0450ccc9b4b6069e292c5 These changes has been applied on the intermediate git tree [1]. The v6.3/arm64-dt branch will then be sent via a formal Pull Request to the Linux SoC maintainers for inclusion in their intermediate git branches in order to be sent to Linus during the next merge window, or sooner if it's a set of fixes. In the cases of fixes, those will be merged in the current release candidate kernel and as soon they appear on the Linux master branch they will be backported to the previous Stable and Long-Stable kernels [2]. The intermediate git branches are merged daily in the linux-next tree [3], people are encouraged testing these pre-release kernels and report issues on the relevant mailing-lists. If problems are discovered on those changes, please submit a signed-off-by revert patch followed by a corrective changeset. [1] https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git [2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git [3] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts index e3bb6df42ff3..cf0a9be83fc4 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts @@ -401,5 +401,4 @@ &uart_AO { &usb { status = "okay"; - dr_mode = "host"; };