From patchwork Sun Jul 2 16:19:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alain Volmat X-Patchwork-Id: 13299255 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 11552EB64DD for ; Sun, 2 Jul 2023 16:21:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=7jW6NlnS/AhkAKz7xtlmGoUi+HnthNTtZmdkGg99BCo=; b=GE2xdmSxVUDlXJ 5G2ZlUZs0DvwfPelBZAzG5tpsQDdN3ygUqHB9KqSGrHIqZOsUC7rx3f9ERyEE2KKCG4dXv0f3kGe4 tMpkOSNJG8FFRM8dvsdKpHgPSpJQfpEeRLJjL+yOE6Knn8ba6F/KyfvJKExPv4vMP593qXUy1Y5jR JeUckMVrnR5bYfvP/MWNGkOaF06JBn8YNucM4u8ts9xcdhyUG2Fw6NcLOJXgA26eaVD566Kijtes1 3e+HhSUu68shUYl250XHyIErkt3qG7Ee/Bur0QgWXVenKlcOmRrJ33LQS5bVEaEQDW3a22c0gXo1U gHe0MGmLED6q/j5z5NWw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qFzoe-0086q0-2W; Sun, 02 Jul 2023 16:20:48 +0000 Received: from qs51p00im-qukt01080102.me.com ([17.57.155.19]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qFzob-0086nh-11 for linux-arm-kernel@lists.infradead.org; Sun, 02 Jul 2023 16:20:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1688314835; bh=qpy3QnsNYV/6i+Z+E/7oVPqLATRtztnFxJi7PACiimo=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=dCwTwT8rwm0z7+pxWPyNsJVDJpkzUWLfCFjQptH+nYNQUYvowrtI4Yb9Pvq2oexAp WAwR/YKICXrC3B02ML5S0/eUO1GigaDBYLBMs/W7GYQCsshDZj/vf4DALz+0q0j/9K dBDHT1ONCv1c1xU1LCbKAqnHL/NRRR5f4fxJXJp0R19H12561Hnt/IA2qXt5zpexG0 o9fODmW1Cngm/AvCkyBItr7Qo77NxXh9Bc/7brbzwAgVtwaTDD00ZS8cF2yDCANsgF 9ao4OkOtf5n+eIZ4IQvF5E+ym3a+/kE7mi51UA9zscrarI1oro10O5FPEyKpM950Ny dEbd9mGXdQqGA== Received: from localhost (qs51p00im-dlb-asmtp-mailmevip.me.com [17.57.155.28]) by qs51p00im-qukt01080102.me.com (Postfix) with ESMTPSA id 0B3BF1CC011A; Sun, 2 Jul 2023 16:20:34 +0000 (UTC) From: Alain Volmat To: Patrice Chotard , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: avolmat@me.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] ARM: dts: st: correct serial alias in stih418-b2264.dts Date: Sun, 2 Jul 2023 16:19:33 +0000 Message-Id: <20230702161936.134429-2-avolmat@me.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230702161936.134429-1-avolmat@me.com> References: <20230702161936.134429-1-avolmat@me.com> MIME-Version: 1.0 X-Proofpoint-GUID: 3qWlRv3hkttOG_FJeOtgvo5utsrLyM1i X-Proofpoint-ORIG-GUID: 3qWlRv3hkttOG_FJeOtgvo5utsrLyM1i X-Proofpoint-Virus-Version: =?utf-8?q?vendor=3Dfsecure_engine=3D1=2E1=2E170-?= =?utf-8?q?22c6f66c430a71ce266a39bfe25bc2903e8d5c8f=3A6=2E0=2E425=2C18=2E0?= =?utf-8?q?=2E790=2C17=2E0=2E605=2E474=2E0000000_definitions=3D2022-01-12=5F?= =?utf-8?q?03=3A2022-01-11=5F01=2C2022-01-12=5F03=2C2020-01-23=5F02_signatur?= =?utf-8?q?es=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 malwarescore=0 clxscore=1015 phishscore=0 suspectscore=0 mlxscore=0 adultscore=0 bulkscore=0 mlxlogscore=884 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2307020155 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230702_092045_434052_9234986C X-CRM114-Status: GOOD ( 11.76 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Aliases should only contain lowercase, digits or - hence correct the alias for the serial from ttyAS0 into serial0 as already done for the other boards. Signed-off-by: Alain Volmat Acked-by: Patrice Chotard --- arch/arm/boot/dts/st/stih418-b2264.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/st/stih418-b2264.dts b/arch/arm/boot/dts/st/stih418-b2264.dts index fc32a03073b6..f496ca28850d 100644 --- a/arch/arm/boot/dts/st/stih418-b2264.dts +++ b/arch/arm/boot/dts/st/stih418-b2264.dts @@ -69,7 +69,7 @@ opp04 { }; aliases { - ttyAS0 = &sbc_serial0; + serial0 = &sbc_serial0; ethernet0 = ðernet0; }; From patchwork Sun Jul 2 16:19:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alain Volmat X-Patchwork-Id: 13299254 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7339CEB64D9 for ; Sun, 2 Jul 2023 16:21:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=eqFXrAxr1jzzUTIX7bdtx66+3ZNn+N+LBFQ0XLtlxlY=; b=D2jjoP/C0csGua sOMrNr9dq+2YIvNqq1TCaxRxbD+jEuWTL7HKSIUqw9ecnWHjQPZzZK/QwA2Qh4xerDLGX2IoTImZ7 PHN0rceuA8kQ4XptbTN5Ysr0EWBgbFkTCisLwI0SJEnJytfZwxFTBJXIsVAbboaHUU8nR9QMUBjiE zBkW/7IvPiDUDKKxzivJILI0Gxby7jVLO/GzNj6HErrUHyRkNJyzAHti5lIxgbobKXgc63sOGBN+7 MXhDR27XljVyeoZrGdBgVbD28KkeFqBROsibuN8YhTB7IK7MWyYDqn3gLZemVOi2RQ277jtEghtjy Q2sltFwVIgymUtYnC+rg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qFzob-0086oi-0X; Sun, 02 Jul 2023 16:20:45 +0000 Received: from qs51p00im-qukt01072702.me.com ([17.57.155.17]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qFzoY-0086nz-2e for linux-arm-kernel@lists.infradead.org; Sun, 02 Jul 2023 16:20:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1688314838; bh=ihsW05Uhu9hqcllR7UBKHvIYj/SkTR9WK8vpLcgHFF8=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=KzXpI2w3XfjW1YbDtx1QDnhdKsZt2NEzSM9fWeVK4/wffHdVy9cvudVlwTFRmnAz/ /XU4qGNw4uS2S2eBVqr//83AshPg+egZuITcdSacRy6HbGjPKYCNcbd6XkS+XyE4mv fxtymz6n3Dtt5ii1Csl/ZwW+Z6mRIDMk7c9nPiUfkbdM5/8XteUEYMPyxiWaPgJmRv dftQjOy903DSph6BpLRs3G7lD7PtNn0zpMfIW9BcBY+RxiDNIHkyZq0yLIUPmUiMBk xeDwI8j/iznUJKA0LC4ZQdDsu3DBSj2p1UQNt8An1JzhvfLEf+8K8M+WATFjB91U0h QdXjM1NQzH24A== Received: from localhost (qs51p00im-dlb-asmtp-mailmevip.me.com [17.57.155.28]) by qs51p00im-qukt01072702.me.com (Postfix) with ESMTPSA id C0D521680318; Sun, 2 Jul 2023 16:20:37 +0000 (UTC) From: Alain Volmat To: Patrice Chotard , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: avolmat@me.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] ARM: dts: st: move leds out of soc in stih418-b2264.dts Date: Sun, 2 Jul 2023 16:19:34 +0000 Message-Id: <20230702161936.134429-3-avolmat@me.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230702161936.134429-1-avolmat@me.com> References: <20230702161936.134429-1-avolmat@me.com> MIME-Version: 1.0 X-Proofpoint-GUID: Hq7pmxZDyMLLDW0rNQx6exNUaiH5LqEj X-Proofpoint-ORIG-GUID: Hq7pmxZDyMLLDW0rNQx6exNUaiH5LqEj X-Proofpoint-Virus-Version: =?utf-8?q?vendor=3Dfsecure_engine=3D1=2E1=2E170-?= =?utf-8?q?22c6f66c430a71ce266a39bfe25bc2903e8d5c8f=3A6=2E0=2E425=2C18=2E0?= =?utf-8?q?=2E572=2C17=2E11=2E62=2E513=2E0000000_definitions=3D2022-01-11=5F?= =?utf-8?q?01=3A2022-01-11=5F01=2C2020-02-14=5F11=2C2021-12-02=5F01_signatur?= =?utf-8?q?es=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=550 bulkscore=0 spamscore=0 malwarescore=0 phishscore=0 suspectscore=0 adultscore=0 clxscore=1015 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2307020155 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230702_092042_919409_B682B46D X-CRM114-Status: GOOD ( 10.12 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Move the leds node out of the soc section and correct the following warning: Warning (simple_bus_reg): /soc/leds: missing or empty reg/ranges property Signed-off-by: Alain Volmat Acked-by: Patrice Chotard --- arch/arm/boot/dts/st/stih418-b2264.dts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/arm/boot/dts/st/stih418-b2264.dts b/arch/arm/boot/dts/st/stih418-b2264.dts index f496ca28850d..d4874282cfba 100644 --- a/arch/arm/boot/dts/st/stih418-b2264.dts +++ b/arch/arm/boot/dts/st/stih418-b2264.dts @@ -73,15 +73,15 @@ aliases { ethernet0 = ðernet0; }; - soc { - leds { - compatible = "gpio-leds"; - led-green { - gpios = <&pio1 3 GPIO_ACTIVE_HIGH>; - default-state = "off"; - }; + leds { + compatible = "gpio-leds"; + led-green { + gpios = <&pio1 3 GPIO_ACTIVE_HIGH>; + default-state = "off"; }; + }; + soc { pin-controller-sbc@961f080 { gmac1 { rgmii1-0 { From patchwork Sun Jul 2 16:19:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alain Volmat X-Patchwork-Id: 13299256 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A8DF3EB64DA for ; Sun, 2 Jul 2023 16:21:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=q8zqmqPHwPJwR/4hhXSkYNjJS/NVaUv+GbsS+yZEyJE=; b=ExJMkT1Ros5wJn 9OaJaf40yDLAk00I5xETlqUxPGiRN9s+OQExfHzzAGRP++TZVRvXAo3sIXQZtdpWW0Y8j5PgvuoUi 2dWpkQqnjoL8AvIdNqhc+49iPCmceJsp59nO2Jf2AaujdwP+zJlR9dlEzrqcPQ6/5iyIEb2PatUJ1 x7NyIQVC7+2DxYK4oyNKfm5umq8l46NqhZ6NoluXlXDnagv+z6JpV18FyL4m7EN6B/5kJ3f+Fpzj6 idMIAiwDC/FszgbYV3buUHAezoFT5q9PGcvho1Ux6rwMFU6ksXO/7PKiyR0J932EUm8oPPhE6a7lS c+6Y15In+maGUZmoj78Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qFzog-0086qp-05; Sun, 02 Jul 2023 16:20:50 +0000 Received: from qs51p00im-qukt01080501.me.com ([17.57.155.22]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qFzoc-0086oh-1V for linux-arm-kernel@lists.infradead.org; Sun, 02 Jul 2023 16:20:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1688314841; bh=tikfUA3+VXi/hwqJ7CqZ/vgC+Mb6/V7T56yDg/1Q3/I=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=NWpYhx20spcAAG+lHyg2puSmMYdYYu11/fTgg+Fu4Bp1ajCyd83by4TKOi2Okc2hV XPTlgRvEWvFDVsImdV8xwrQANmh+bmXhNT7FgnHLJYv7I/arVr3Pl1TzfRuMnOsbN8 3mgoHI4zyqdDHLjbygRWrPgweYqJ2IPO2tNMW4N80gitl/KVbR/rdbw2nsjN1oMxZn IgZJapw0EqB/08flrnDxmG7PkwoN1DSElCcoOCDnMAaDqfCPVg6iroTNN8jCnH9PHZ /N83/qfmaFxyOIcw1dUMXJkUDiOuWFE9+6utSh2pdm9Y9b0airqnLkAldJMykE2gqd u6vREY2zh73VQ== Received: from localhost (qs51p00im-dlb-asmtp-mailmevip.me.com [17.57.155.28]) by qs51p00im-qukt01080501.me.com (Postfix) with ESMTPSA id AEDF6198028B; Sun, 2 Jul 2023 16:20:40 +0000 (UTC) From: Alain Volmat To: Patrice Chotard , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: avolmat@me.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] ARM: dts: st: correct led level in stih418-b2264.dts Date: Sun, 2 Jul 2023 16:19:35 +0000 Message-Id: <20230702161936.134429-4-avolmat@me.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230702161936.134429-1-avolmat@me.com> References: <20230702161936.134429-1-avolmat@me.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: HywNm_p0YEdWCCbmxWq_YEsGX7TzKvOu X-Proofpoint-GUID: HywNm_p0YEdWCCbmxWq_YEsGX7TzKvOu X-Proofpoint-Virus-Version: =?utf-8?q?vendor=3Dfsecure_engine=3D1=2E1=2E170-?= =?utf-8?q?22c6f66c430a71ce266a39bfe25bc2903e8d5c8f=3A6=2E0=2E138=2C18=2E0?= =?utf-8?q?=2E790=2C17=2E11=2E62=2E513=2E0000000_definitions=3D2022-01-12=5F?= =?utf-8?q?02=3A2020-02-14=5F02=2C2022-01-12=5F02=2C2021-12-02=5F01_signatur?= =?utf-8?q?es=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 clxscore=1015 bulkscore=0 spamscore=0 phishscore=0 suspectscore=0 adultscore=0 mlxscore=0 malwarescore=0 mlxlogscore=661 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2307020155 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230702_092046_569398_990008D4 X-CRM114-Status: GOOD ( 12.01 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The state of the green led on the stih418-b2264 is currently inverted. Correct this by fixing the GPIO active state. Signed-off-by: Alain Volmat Acked-by: Patrice Chotard --- arch/arm/boot/dts/st/stih418-b2264.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/st/stih418-b2264.dts b/arch/arm/boot/dts/st/stih418-b2264.dts index d4874282cfba..fdc16e9f5822 100644 --- a/arch/arm/boot/dts/st/stih418-b2264.dts +++ b/arch/arm/boot/dts/st/stih418-b2264.dts @@ -76,7 +76,7 @@ aliases { leds { compatible = "gpio-leds"; led-green { - gpios = <&pio1 3 GPIO_ACTIVE_HIGH>; + gpios = <&pio1 3 GPIO_ACTIVE_LOW>; default-state = "off"; }; };