Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2957206rdb; Mon, 4 Dec 2023 12:11:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IHz4oT/CDTadg2jTwp8gGWn8EQoFuabYgHG/jkAfZZT6zYL6i3fv4L9TtfU2VxjD9j7sF8/ X-Received: by 2002:a05:6a20:de95:b0:18f:97c:5b90 with SMTP id la21-20020a056a20de9500b0018f097c5b90mr1506244pzb.94.1701720671356; Mon, 04 Dec 2023 12:11:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701720671; cv=none; d=google.com; s=arc-20160816; b=p7adN8IxOL+wGHGDlR2HiZEiGZYAqffJ9lTnKQaZ10/7ERaQYJXUulOWQcwIGGAWel Ifi07ckQu+WdMLR6GjehQid0WqUtX53ZToAGFrALBjdQ1n6vJ0dQYSTgX0T5ry77xJMY /omdEjD9hYIitsWhjTG3UdlbuU8vLJHmHr2+bBMMOgHLjql8gZdLgFnmN/ZenNPSo7RU 4u+AHEhbv/ezEpdZeDdn+aGb0E1Pk/D795s+F57byNy6eHpYaLoL9MfgsF3ucSXFSRPA nfF8IwAIAhLHS29pGvvt8HGzKZhHdpSLiH0CcDeJXulU6+SQ9ouqzAJtTIc0Kb/c7n8X tPXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:references :in-reply-to:subject:cc:to:from:date:dkim-signature:mime-version; bh=WaBKyZYjaJtgWFGIGCrbCOxg1wbzLZEM0lX/acM3Eu4=; fh=B9mfLEYssjunwOxef/F4HTyZnlKngcDlYHkjsCYF1Oo=; b=simchXVHuEdbVBinCDq1eEmYqnBeYsfdtIn7oVMlfiQgEGW1mB3l1OTtzRr0SZ/zCI psmogpdJQD6nhyh3wJPGDNbjBtqkNWbodYmFEW6fQ9PLQ5WowF9JntJdHnXqPIeZotX2 wzjs0FJXrNbbAwvuo3d6dM4bvnr0W2kLTdiD8HUmvjEbfdzB6QNYAhLtL13NwmGIzxkG RT120MO84pDaHI1gT7MFZqvxiXMu1SsedoSnIMkvImqJZ2BsMOgveIT3hIvIyYmwFil5 bSzrgJxRr8s03LqB2I+wwWGJGBQkBDhh0+pZLweNMhYvL/zkgZ4Z9J9Ity2+NN43Szxh DtKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@manjaro.org header.s=2021 header.b=NyimGtKF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=manjaro.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id a39-20020a056a001d2700b006ce52bb999fsi1999569pfx.273.2023.12.04.12.11.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 12:11:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@manjaro.org header.s=2021 header.b=NyimGtKF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=manjaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 4864F8043EFE; Mon, 4 Dec 2023 12:11:08 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233877AbjLDUKi (ORCPT + 99 others); Mon, 4 Dec 2023 15:10:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233461AbjLDUKf (ORCPT ); Mon, 4 Dec 2023 15:10:35 -0500 Received: from mail.manjaro.org (mail.manjaro.org [IPv6:2a01:4f8:c0c:51f3::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60780CD; Mon, 4 Dec 2023 12:10:41 -0800 (PST) MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=manjaro.org; s=2021; t=1701720639; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WaBKyZYjaJtgWFGIGCrbCOxg1wbzLZEM0lX/acM3Eu4=; b=NyimGtKF40X/eyneyQwjvGAfs8vHIL9DGnFCDfkXzfMZrxGpjI8gtBwkgZMwwNFUiSHPDM UrdaTLTKzN462kra74wKYVdGu5ZwJctWbKiRdNoZUtiiBYGf1hv7QmrEy22stV3R502y+u OU+Dh39brqo9Nfy5XPDyObLfBKVbz+e8eLy9PTRaHQBJ++cnnV4GZBBptnpR7uM0YHDnFT G7d6ZvvuUlRhuk9ZVySAs/ZB4QUgmiEXk+tE6RziliHj5MdTnm2NkHklljo+GUvWWB8DVD uwaGhJ8NZY98CoNHjuumC6AC3YRU9pFXJJRtH6Fg4J4qZoPFPrgRktFYXGNcGg== Date: Mon, 04 Dec 2023 21:10:39 +0100 From: Dragan Simic To: Johan Jonker Cc: heiko@sntech.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, jay.xu@rock-chips.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 2/2] arm64: dts: rockchip: add gpio alias for gpio dt nodes In-Reply-To: <56daeead-1d35-44bb-00c0-614b84a986de@gmail.com> References: <89f2a229-9f14-d43f-c53d-5d4688e70456@gmail.com> <56daeead-1d35-44bb-00c0-614b84a986de@gmail.com> Message-ID: <87fcf1ed7d10c879bb0c8aa44f004dd5@manjaro.org> X-Sender: dsimic@manjaro.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Authentication-Results: ORIGINATING; auth=pass smtp.auth=dsimic@manjaro.org smtp.mailfrom=dsimic@manjaro.org 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 howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 04 Dec 2023 12:11:08 -0800 (PST) On 2023-12-02 19:22, Johan Jonker wrote: > Rockchip SoC TRM, SoC datasheet and board schematics always refer to > the same gpio numbers - even if not all are used for a specific board. > In order to not have to re-define them for every board add the > aliases to SoC dtsi files. > > Signed-off-by: Jianqun Xu > Signed-off-by: Johan Jonker Reviewed-by: Dragan Simic > --- > arch/arm64/boot/dts/rockchip/rk3308.dtsi | 5 +++++ > arch/arm64/boot/dts/rockchip/rk3328.dtsi | 4 ++++ > arch/arm64/boot/dts/rockchip/rk3368.dtsi | 4 ++++ > arch/arm64/boot/dts/rockchip/rk3399.dtsi | 5 +++++ > 4 files changed, 18 insertions(+) > > diff --git a/arch/arm64/boot/dts/rockchip/rk3308.dtsi > b/arch/arm64/boot/dts/rockchip/rk3308.dtsi > index 2ae4bb7d5e62..cfc0a87b5195 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3308.dtsi > +++ b/arch/arm64/boot/dts/rockchip/rk3308.dtsi > @@ -20,6 +20,11 @@ / { > #size-cells = <2>; > > aliases { > + gpio0 = &gpio0; > + gpio1 = &gpio1; > + gpio2 = &gpio2; > + gpio3 = &gpio3; > + gpio4 = &gpio4; > i2c0 = &i2c0; > i2c1 = &i2c1; > i2c2 = &i2c2; > diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi > b/arch/arm64/boot/dts/rockchip/rk3328.dtsi > index e18f7c1c0724..76ea18bf11a0 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi > +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi > @@ -20,6 +20,10 @@ / { > #size-cells = <2>; > > aliases { > + gpio0 = &gpio0; > + gpio1 = &gpio1; > + gpio2 = &gpio2; > + gpio3 = &gpio3; > serial0 = &uart0; > serial1 = &uart1; > serial2 = &uart2; > diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi > b/arch/arm64/boot/dts/rockchip/rk3368.dtsi > index a4c5aaf1f457..fc7e3f2bc786 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3368.dtsi > +++ b/arch/arm64/boot/dts/rockchip/rk3368.dtsi > @@ -20,6 +20,10 @@ / { > > aliases { > ethernet0 = &gmac; > + gpio0 = &gpio0; > + gpio1 = &gpio1; > + gpio2 = &gpio2; > + gpio3 = &gpio3; > i2c0 = &i2c0; > i2c1 = &i2c1; > i2c2 = &i2c2; > diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi > b/arch/arm64/boot/dts/rockchip/rk3399.dtsi > index da0dfb237f85..dec2705d035d 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi > +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi > @@ -20,6 +20,11 @@ / { > > aliases { > ethernet0 = &gmac; > + gpio0 = &gpio0; > + gpio1 = &gpio1; > + gpio2 = &gpio2; > + gpio3 = &gpio3; > + gpio4 = &gpio4; > i2c0 = &i2c0; > i2c1 = &i2c1; > i2c2 = &i2c2; > -- > 2.39.2 > > > _______________________________________________ > Linux-rockchip mailing list > Linux-rockchip@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-rockchip