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: 115101 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp44337vqx; Sun, 2 Jul 2023 09:30:09 -0700 (PDT) X-Google-Smtp-Source: APBJJlH//0ZAOZDPvaZxwSGM7B6EdZ7nvWOTUOEkAL546kp+PjhuzmiyGS/dHfaYyPhBjRhBC4Ko X-Received: by 2002:a17:902:c246:b0:1b8:5827:8763 with SMTP id 6-20020a170902c24600b001b858278763mr8508308plg.4.1688315408784; Sun, 02 Jul 2023 09:30:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688315408; cv=none; d=google.com; s=arc-20160816; b=DoeDhcOEiEA8fkHvqUsQ6l3ZygdLSITUdgA0DJ9wFY2IRxVVE2/UATwzzKkbEqzq4K tankketM4iDBDlYbGmTd4aVmzD4lr5FoDRBYd1sVqCzIDxMvs+Z40IUZKP3ssw/17379 HYCqpAzNHePw5YoRBg2FfE5xQM9PjbOskdRqtkMfrRSV4+XddONSJOOtPKga2J4i7W8b e84kWhVHhCOujxWG8SbSLGE1kmjUy9pCD9Lzwvpdrgv8MlinZACetsLfmwS+fLS5J4oZ MkjdkdhS/qAGSFHigwnUfR5HTbrgmGy1UCfpq0XoTkLjJD5MiQKX+0Qy9U7LvOinladO Yyhw== 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=ihsW05Uhu9hqcllR7UBKHvIYj/SkTR9WK8vpLcgHFF8=; fh=iwdZtJ69O+PfVPTXcljsb/wejkKYGoLAtXJCQBX2sbc=; b=H5mZ2tQ78Ce4sl53jV0ySjA8Eo8wXu17PSSaL9JS0/gINi3RI+2A8KRxEQuKrRwfvh ez6GchHAsWCHjqxiODXpdklWR0JpzgfSjA/lGUaVNkN7jHzXy6pixqBywxVs9y9jFXrt +2OuCHv3oIYC3LTklNbZh8Y0IuYrbENvikbMsU8rUrjLQCpOIFgdYhaOfDzrff32O6sI ebEh+a792mXm9X8287nDoGXMYfpCZDMyhyXBlfugosEaOI0UPQuA3pQGddsHx4McA5yG md8vT6HZGv9LgB8UndzEMcUk+wT7O3F9KL6GkH3TRdaYv03XN/v1yXtamzVP0nlakr8Z m1eQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@me.com header.s=1a1hai header.b=KzXpI2w3; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s7-20020a170902a50700b001b54bdd6412si15711601plq.396.2023.07.02.09.29.56; Sun, 02 Jul 2023 09:30:08 -0700 (PDT) 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=@me.com header.s=1a1hai header.b=KzXpI2w3; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229852AbjGBQUl (ORCPT + 99 others); Sun, 2 Jul 2023 12:20:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229584AbjGBQUj (ORCPT ); Sun, 2 Jul 2023 12:20:39 -0400 Received: from qs51p00im-qukt01072702.me.com (qs51p00im-qukt01072702.me.com [17.57.155.17]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42855E61 for ; Sun, 2 Jul 2023 09:20:39 -0700 (PDT) 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-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1770327017915378496?= X-GMAIL-MSGID: =?utf-8?q?1770327017915378496?= 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 --- 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 {