Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2946206rdb; Mon, 4 Dec 2023 11:51:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IG8nwJBLPWOBG9Weun+XVtoDAsrQe/NFBtCml42CWlVT53lixXcL+/YnupO3reR2hdvBkFd X-Received: by 2002:a17:90b:4f87:b0:286:ccc3:3063 with SMTP id qe7-20020a17090b4f8700b00286ccc33063mr90810pjb.45.1701719482597; Mon, 04 Dec 2023 11:51:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701719481; cv=none; d=google.com; s=arc-20160816; b=RO+Q1uhTHC0Fopt+rWPy45+cakXQ1weah2DqekWwV40DK5VVY+igeXW4efmT2CzA9/ /8esSmq0WxgLgtNlxhnq/CjeN6u191NrPY9KQI+KS4SXiMahE/9bo3tn0X8yLJaabOjG uECezDDUpeEbOFn0cvP2dfZYNfIG/OiTzxB5Xj84usFi5sqkr4o2UlliqucxVl1v9/2i axFGpillnP9xeuhX58S7gYUG8D8OYcLqCmr9evvpPwvFHTb5K2YgmNGoEt6sQnL3E+Hy t6lzLNTzOZAHao7mTOYgmdMkALJZIf4VJoVDuUc74PnvaSEAcxrVHPvh+MKXnVPBSdel TfAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=+qdbcC7yRoXStA6//Sf0ppzUiv9xW5yZR+OVcJWO5pA=; fh=t4gSXsgy5KEXKn6KIj7wgMDRhd6fymWV1+V2aoZO/ag=; b=dn2enAEVYE+Kt8hIydcxppVbeO+XuRHJPeDegsoxIJD/s7MOzFM3PifpqMwPFYVJ23 PdQpiRf/hQxPTmQqwgtAMwrEwAm+iRSYpZJ+KnyWmfO+MKp4+IEH4TPs0ouLIc9yNM0o JA8niOUNceN258LVk8tk3jJp7czQkw34uRZ+VgLzIHIOAfvGsiSdyA8Q0ifgS4HyOAJx w0wyIyVXt5E9Yav2Hj3RFLzT2Wh7jHw00LotVp4fwN9r8jjjz09IKaiSvtK1nGHGldrM e8RZ9QirbXOx8c2GXBgx0WT+FVIp8IiUoFX6oP/UJPa5wOMCqvueBmXdlaWMvEvDCdgw eDAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=LvyFZ7jI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id c20-20020a17090a8d1400b00280664dd1f4si4513023pjo.9.2023.12.04.11.51.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 11:51:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=LvyFZ7jI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 766A0805D593; Mon, 4 Dec 2023 11:51:10 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344431AbjLDTur (ORCPT + 99 others); Mon, 4 Dec 2023 14:50:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232848AbjLDTul (ORCPT ); Mon, 4 Dec 2023 14:50:41 -0500 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28AC4CE; Mon, 4 Dec 2023 11:50:47 -0800 (PST) Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-54bfd4546fbso5975379a12.1; Mon, 04 Dec 2023 11:50:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701719445; x=1702324245; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=+qdbcC7yRoXStA6//Sf0ppzUiv9xW5yZR+OVcJWO5pA=; b=LvyFZ7jIfK2UXnXp6F/Pn3KindYZatCeV0XwFSQpzCUDH/xO2qpJdxEtGFPaeFwCiZ o4sL+5HUBBTAC6A60KRNpwB9Fj4/ThkOuIOaRQJ2pRNk3k06RhA0Aczavlxl1kyFFBMV s4nBA+MMWwpHpm8ys8DcWJ9xHDXeyNrGYIEja8oR4CMWSV7lhdPvoMqsBw4ZTfWc2wT+ uOmElctEIrIzgQalEoKVK6RWCPg0oj3R1y+G61EUTk63FV8aUGBL4MGoI6/Vyg2kwjUw xEZssUenE3v33hCwFUCPscJczTXBB8TeWljhExcKQ2lok6ei8u2q2WE7aWtg81gLlnnD th6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701719445; x=1702324245; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=+qdbcC7yRoXStA6//Sf0ppzUiv9xW5yZR+OVcJWO5pA=; b=c8NMEyiQCWJelYLaAOt4hMdxL+PKXWceKJHT5+9UQYnmfgsAznlmnnyyHoxUP9c3fU QZ14Sc3Nd5C86wYhcEGLK6xh/FKUuSu6C6y/XJIGf6sYnrH/yEnl7DMTdmEu7iyru86V 7DRumjWLuMSJnqIYB+sDFoHz+tldKyH5Ue2rTVAGp+bQO06Rd6UWL+8Z7AjucWOCwA0q 6ETzhtSKceeK1hkr3sgy9PrjWXER0Q0oPJTsb6GGIA8ZoVm1iQM0YyWrqfamLfNPw3Q5 5WvngfhtGXVtGdMHjXl+yur30ZRmExffCXPNLn++L8igsBvtCExa+kfWfkKt2rtiRHiG 9MJA== X-Gm-Message-State: AOJu0YzolwWSt71jbe1ldiBLH2tz8eSl6G57I9zNZsKwWMziYstR0ZyC S5ZiUHJFEbblyGlzrZZSjxM= X-Received: by 2002:a17:906:7159:b0:a19:a19b:78a1 with SMTP id z25-20020a170906715900b00a19a19b78a1mr3701905ejj.100.1701719445371; Mon, 04 Dec 2023 11:50:45 -0800 (PST) Received: from [192.168.2.1] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id lj16-20020a170906f9d000b00a0c9024828asm5605562ejb.68.2023.12.04.11.50.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 04 Dec 2023 11:50:45 -0800 (PST) Message-ID: <3b436dfe-832a-3c63-cf03-2ddc7aa969c3@gmail.com> Date: Mon, 4 Dec 2023 20:50:43 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH v1 1/2] ARM: dts: rockchip: add gpio alias for gpio dt nodes To: =?UTF-8?Q?Heiko_St=c3=bcbner?= Cc: 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 References: <89f2a229-9f14-d43f-c53d-5d4688e70456@gmail.com> <62868103.matp6XCIr4@diego> Content-Language: en-US From: Johan Jonker In-Reply-To: <62868103.matp6XCIr4@diego> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, 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 fry.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 (fry.vger.email [0.0.0.0]); Mon, 04 Dec 2023 11:51:11 -0800 (PST) On 12/4/23 20:35, Heiko Stübner wrote: > Hi Johan, > > Am Samstag, 2. Dezember 2023, 19:22:01 CET schrieb Johan Jonker: >> 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 > > patch itself looks good, but I don't understand the authorship situation. > As these two signed-off-bys are now it would suggest that you picked up > Jianqun Xu's patch, but then the author would need to be different. > > Or do you want to declare this via a > Co-Developed-by: Jianqun Xu The newer tag use of Co-Developed-by is more confusing compared to in the old days... Patch derived from: https://lore.kernel.org/linux-rockchip/20220909090558.3609190-2-jay.xu@rock-chips.com/ Could you add/fix what is needed without resubmitting. Johan > > > Thanks > Heiko > >> --- >> >> Changed V1: >> rebase >> remove rk3066 gpio5 alias >> --- >> arch/arm/boot/dts/rockchip/rk3036.dtsi | 3 +++ >> arch/arm/boot/dts/rockchip/rk3066a.dtsi | 5 +++++ >> arch/arm/boot/dts/rockchip/rk322x.dtsi | 4 ++++ >> arch/arm/boot/dts/rockchip/rk3288.dtsi | 9 +++++++++ >> arch/arm/boot/dts/rockchip/rk3xxx.dtsi | 4 ++++ >> 5 files changed, 25 insertions(+) >> >> diff --git a/arch/arm/boot/dts/rockchip/rk3036.dtsi b/arch/arm/boot/dts/rockchip/rk3036.dtsi >> index 78686fc72ce6..8aa2e0864fed 100644 >> --- a/arch/arm/boot/dts/rockchip/rk3036.dtsi >> +++ b/arch/arm/boot/dts/rockchip/rk3036.dtsi >> @@ -17,6 +17,9 @@ / { >> interrupt-parent = <&gic>; >> >> aliases { >> + gpio0 = &gpio0; >> + gpio1 = &gpio1; >> + gpio2 = &gpio2; >> i2c0 = &i2c0; >> i2c1 = &i2c1; >> i2c2 = &i2c2; >> diff --git a/arch/arm/boot/dts/rockchip/rk3066a.dtsi b/arch/arm/boot/dts/rockchip/rk3066a.dtsi >> index de9915d946f7..30139f21de64 100644 >> --- a/arch/arm/boot/dts/rockchip/rk3066a.dtsi >> +++ b/arch/arm/boot/dts/rockchip/rk3066a.dtsi >> @@ -13,6 +13,11 @@ >> / { >> compatible = "rockchip,rk3066a"; >> >> + aliases { >> + gpio4 = &gpio4; >> + gpio6 = &gpio6; >> + }; >> + >> cpus { >> #address-cells = <1>; >> #size-cells = <0>; >> diff --git a/arch/arm/boot/dts/rockchip/rk322x.dtsi b/arch/arm/boot/dts/rockchip/rk322x.dtsi >> index a721744cbfd1..831561fc1814 100644 >> --- a/arch/arm/boot/dts/rockchip/rk322x.dtsi >> +++ b/arch/arm/boot/dts/rockchip/rk322x.dtsi >> @@ -15,6 +15,10 @@ / { >> interrupt-parent = <&gic>; >> >> aliases { >> + gpio0 = &gpio0; >> + gpio1 = &gpio1; >> + gpio2 = &gpio2; >> + gpio3 = &gpio3; >> serial0 = &uart0; >> serial1 = &uart1; >> serial2 = &uart2; >> diff --git a/arch/arm/boot/dts/rockchip/rk3288.dtsi b/arch/arm/boot/dts/rockchip/rk3288.dtsi >> index cb9cdaddffd4..ead343dc3df1 100644 >> --- a/arch/arm/boot/dts/rockchip/rk3288.dtsi >> +++ b/arch/arm/boot/dts/rockchip/rk3288.dtsi >> @@ -19,6 +19,15 @@ / { >> >> aliases { >> ethernet0 = &gmac; >> + gpio0 = &gpio0; >> + gpio1 = &gpio1; >> + gpio2 = &gpio2; >> + gpio3 = &gpio3; >> + gpio4 = &gpio4; >> + gpio5 = &gpio5; >> + gpio6 = &gpio6; >> + gpio7 = &gpio7; >> + gpio8 = &gpio8; >> i2c0 = &i2c0; >> i2c1 = &i2c1; >> i2c2 = &i2c2; >> diff --git a/arch/arm/boot/dts/rockchip/rk3xxx.dtsi b/arch/arm/boot/dts/rockchip/rk3xxx.dtsi >> index cb4e42ede56a..f37137f298d5 100644 >> --- a/arch/arm/boot/dts/rockchip/rk3xxx.dtsi >> +++ b/arch/arm/boot/dts/rockchip/rk3xxx.dtsi >> @@ -16,6 +16,10 @@ / { >> >> aliases { >> ethernet0 = &emac; >> + gpio0 = &gpio0; >> + gpio1 = &gpio1; >> + gpio2 = &gpio2; >> + gpio3 = &gpio3; >> i2c0 = &i2c0; >> i2c1 = &i2c1; >> i2c2 = &i2c2; >> -- >> 2.39.2 >> >> > > > >