From patchwork Fri Aug 23 15:35:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: karthikeyan X-Patchwork-Id: 13775438 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 F1119C52D7C for ; Fri, 23 Aug 2024 15:38:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=lGv/wy08x/B7bLYOWqbVbMhnaUihX+YE7qSWjC5RYsw=; b=m/YarBfpdDw1yOtSzVn1LqnO2x +TBNbf2M0mU1mDhXQkyYAsKU7ORuStIW0rYwvlvtpi2X5o1FLPsnioywn+NAGTJje1g8M34Fvpagq dhdF8uOK2bd3LFBWmyJBz5mZWDJPhZP6s5iwYAbyx9dsHrAlIPR4uba2IrQEk19lXTPhwYhOXS2MI YmH1y8aw275hT3sfK7CQ2V30a2xxo2mdST0oKPcDBeSi6+2KAMG1SopOtryAOTMi1ML1i9J0H6Eko cyExc7wB0WeA/quTZMAV8Fyt/FNlZIJcJsl6Pq5KBGIWVHqQNfqQLI3onnE9G2SgRaluTapbMnniB ugAZotAA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1shWMu-0000000HKuf-139t; Fri, 23 Aug 2024 15:38:28 +0000 Received: from omta40.uswest2.a.cloudfilter.net ([35.89.44.39]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1shWKg-0000000HKQu-3P64 for linux-arm-kernel@lists.infradead.org; Fri, 23 Aug 2024 15:36:12 +0000 Received: from eig-obgw-6009a.ext.cloudfilter.net ([10.0.30.184]) by cmsmtp with ESMTPS id hWAUsvmcsvH7lhWKQsSFJh; Fri, 23 Aug 2024 15:35:54 +0000 Received: from md-in-79.webhostbox.net ([43.225.55.182]) by cmsmtp with ESMTPS id hWKMsUBb8EatOhWKNs7f9Y; Fri, 23 Aug 2024 15:35:52 +0000 X-Authority-Analysis: v=2.4 cv=F5ZRdLhN c=1 sm=1 tr=0 ts=66c8ac58 a=LfuyaZh/8e9VOkaVZk0aRw==:117 a=kofhyyBXuK/oEhdxNjf66Q==:17 a=yoJbH4e0A30A:10 a=vU9dKmh3AAAA:8 a=IUsOfeiScPouXSuZ-WoA:9 a=rsP06fVo5MYu2ilr0aT5:22 a=ZCPYImcxYIQFgLOT52_G:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=linumiz.com ; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=lGv/wy08x/B7bLYOWqbVbMhnaUihX+YE7qSWjC5RYsw=; b=k70Ai4kVIEJb6oHR6G6An729wJ g26+STN0j9O8wB/eAMURdF7H7FY5idtC20iPFBq9ZSIDNwG64oolqrzElmHuvUklK11ER1bwel0Cu GpKQdW4D+ABvJvHFNUioL4Yx5wmSOwpKKtWL/6OOR89Sromr+M8AuOZryp6L38mtcQrCFR0QuHfwU 5DmsNmFI7oKTnbDpqk5uUVVMCuLWRw+IPIWkQfg+jpj6dOSzKjZfAVtukeZzedKcjhdpWxZsK16yS J4XjrnThYJisgxr8UHfVumBHwZd6HaC1gCWrs4dJVRIPmgJh4671msMX9tPhe8yQPdosQ0vewLeuF xrE4yuvw==; Received: from [122.165.245.213] (port=53684 helo=localhost.localdomain) by md-in-79.webhostbox.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1shWKK-000GB4-1i; Fri, 23 Aug 2024 21:05:48 +0530 From: Karthikeyan Krishnasamy To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, heiko@sntech.de, alexandre.belloni@bootlin.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, Karthikeyan Krishnasamy Subject: [PATCH 1/8] ARM: dts: rockchip: Add i2c3 node for RV1126 Date: Fri, 23 Aug 2024 21:05:21 +0530 Message-Id: <20240823153528.3863993-2-karthikeyan@linumiz.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240823153528.3863993-1-karthikeyan@linumiz.com> References: <20240823153528.3863993-1-karthikeyan@linumiz.com> MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - md-in-79.webhostbox.net X-AntiAbuse: Original Domain - lists.infradead.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - linumiz.com X-BWhitelist: no X-Source-IP: 122.165.245.213 X-Source-L: No X-Exim-ID: 1shWKK-000GB4-1i X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (localhost.localdomain) [122.165.245.213]:53684 X-Source-Auth: karthikeyan@linumiz.com X-Email-Count: 14 X-Org: HG=dishared_whb_net_legacy;ORG=directi; X-Source-Cap: bGludW1jbWM7aG9zdGdhdG9yO21kLWluLTc5LndlYmhvc3Rib3gubmV0 X-Local-Domain: yes X-CMAE-Envelope: MS4xfAOxXLLkYhEEJaJPZOwH/Owbfuuby2LTU2IvZAHVhZX/M92IiJOEReQ1lgJt8UdsELksNIHvEq9kRS8k/gVdQAyEtQSQrb0ybtnmI9OQMDmL5ypSPVwW Dhv073p9ucGDHQkkhto7ykkxpI98tCkAYuFrQ+t7DVDjY+enISxExC5P3joXvxLE8v2rCStjS+wfd3sla+Lkk5W0UeW5bcQVZ1+DCDzURBQKsfpey04X0wgH X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240823_083610_974773_81337508 X-CRM114-Status: UNSURE ( 7.28 ) X-CRM114-Notice: Please train this message. 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 Add i2c3 node and possible pinctrl for Rockchip RV1126 Signed-off-by: Karthikeyan Krishnasamy --- .../arm/boot/dts/rockchip/rv1126-pinctrl.dtsi | 26 +++++++++++++++++++ arch/arm/boot/dts/rockchip/rv1126.dtsi | 15 +++++++++++ 2 files changed, 41 insertions(+) diff --git a/arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi b/arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi index 06b1d7f2d858..be666b25b830 100644 --- a/arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi +++ b/arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi @@ -97,6 +97,32 @@ i2c2_xfer: i2c2-xfer { <0 RK_PC3 1 &pcfg_pull_none_drv_level_0_smt>; }; }; + i2c3 { + /omit-if-no-ref/ + i2c3m0_xfer: i2c3m0-xfer { + rockchip,pins = + /* i2c3_scl_m0 */ + <3 RK_PA4 5 &pcfg_pull_none>, + /* i2c3_sda_m0 */ + <3 RK_PA5 5 &pcfg_pull_none>; + }; + /omit-if-no-ref/ + i2c3m1_xfer: i2c3m1-xfer { + rockchip,pins = + /* i2c3_scl_m1 */ + <2 RK_PD4 7 &pcfg_pull_none>, + /* i2c3_sda_m1 */ + <2 RK_PD5 7 &pcfg_pull_none>; + }; + /omit-if-no-ref/ + i2c3m2_xfer: i2c3m2-xfer { + rockchip,pins = + /* i2c3_scl_m2 */ + <1 RK_PD6 3 &pcfg_pull_none>, + /* i2c3_sda_m2 */ + <1 RK_PD7 3 &pcfg_pull_none>; + }; + }; pwm2 { /omit-if-no-ref/ pwm2m0_pins: pwm2m0-pins { diff --git a/arch/arm/boot/dts/rockchip/rv1126.dtsi b/arch/arm/boot/dts/rockchip/rv1126.dtsi index bb603cae13df..59de848c9a83 100644 --- a/arch/arm/boot/dts/rockchip/rv1126.dtsi +++ b/arch/arm/boot/dts/rockchip/rv1126.dtsi @@ -22,6 +22,7 @@ / { aliases { i2c0 = &i2c0; i2c2 = &i2c2; + i2c3 = &i2c3; serial0 = &uart0; serial1 = &uart1; serial2 = &uart2; @@ -308,6 +309,20 @@ dmac: dma-controller@ff4e0000 { clock-names = "apb_pclk"; }; + i2c3: i2c@ff520000 { + compatible = "rockchip,rv1126-i2c", "rockchip,rk3399-i2c"; + reg = <0xff520000 0x1000>; + interrupts = ; + clocks = <&cru CLK_I2C3>, <&cru PCLK_I2C3>; + clock-names = "i2c", "pclk"; + pinctrl-names = "default"; + pinctrl-0 = <&i2c3m0_xfer>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + rockchip,grf = <&pmugrf>; + }; + pwm11: pwm@ff550030 { compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm"; reg = <0xff550030 0x10>; From patchwork Fri Aug 23 15:35:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: karthikeyan X-Patchwork-Id: 13775439 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 70B8DC52D7C for ; Fri, 23 Aug 2024 15:40:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=HI4wA5946lgKTidFdG+3Mj2M1oic6hs347gXt2MsqwU=; b=lY2d39afo6BuBxM/aKxiI6iFOB FrbuWwsoenocZCd24X1fQJo/nJ/uOwcCZ+hCU67JDmWlO+7CCpjTjtGvCOnfzh5j5jRxSS5N+GgBq 7UuXdBHBHQviSGZsaD56cD1T/OXbT5bBko9amvsiJhVhSzku4AR33s4DnxRAipRvk0dQ9ee8dKyGh BulIiUKNWDIl7b+sfBbd/7DtnaP9iY2GUlWT/uZS4UYV9dJNQcWRqOtSDEArxbzXBhFfMZTiKLsgj mfKdC5T6orT9VJ7oy1ggGJISWCZ3BNJqSlttwo51gPjgffR3FQewOaTEGsu1f/L+vLODEh4Zdk4ip mcOylvKg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1shWOM-0000000HLFs-1ssm; Fri, 23 Aug 2024 15:39:58 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1shWMH-0000000HKkK-1asr for linux-arm-kernel@bombadil.infradead.org; Fri, 23 Aug 2024 15:37:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=HI4wA5946lgKTidFdG+3Mj2M1oic6hs347gXt2MsqwU=; b=EW6AHBVDKwu4Yaqb1f2izDqjJh ubu/jcBmPAKnA5BP8EpgzWBOCrpedQvX16scCx0HddlgdMGT+0s4ZiPXMBKcblUZbnJLVzcsmz9ic /2aIZsGr+k/6ppdQQBmgjE5t0hNiw/E5TYrND4xo8d5aOIV+xhwtfnikzNritFsdJyQPkmThaAkWL cH1krjnJOWcuYpl8aWl23m7fJ9HlyWLsWiCcT7ZqpXrO/wGjqZVFFjwTGzBNq7Dzi4N2cLi6X4m7e h88uQIkeQDQoGu4TLdq1G9hUe4asDo/Mji5RWTJpNz5E48YC2hz2e1nGUcs8W1bHddbpq4+xT8Qfu cd5XqIbA==; Received: from omta34.uswest2.a.cloudfilter.net ([35.89.44.33]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1shWMC-0000000AAOY-31LW for linux-arm-kernel@lists.infradead.org; Fri, 23 Aug 2024 15:37:47 +0000 Received: from eig-obgw-6005a.ext.cloudfilter.net ([10.0.30.201]) by cmsmtp with ESMTPS id hSuDsNJDJVpzphWKRseDLh; Fri, 23 Aug 2024 15:35:55 +0000 Received: from md-in-79.webhostbox.net ([43.225.55.182]) by cmsmtp with ESMTPS id hWKNsKHJtRBkMhWKOsiggQ; Fri, 23 Aug 2024 15:35:53 +0000 X-Authority-Analysis: v=2.4 cv=CbPD56rl c=1 sm=1 tr=0 ts=66c8ac59 a=LfuyaZh/8e9VOkaVZk0aRw==:117 a=kofhyyBXuK/oEhdxNjf66Q==:17 a=yoJbH4e0A30A:10 a=vU9dKmh3AAAA:8 a=PIVyUoi6X9y6bivDt_YA:9 a=rsP06fVo5MYu2ilr0aT5:22 a=ZCPYImcxYIQFgLOT52_G:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=linumiz.com ; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=HI4wA5946lgKTidFdG+3Mj2M1oic6hs347gXt2MsqwU=; b=VJOQ8SI7zWFzyuDXoLQpIwwRFZ I9b+Ml8jOjYnmdAtObuXmj1zNlq6uuXbLPNXHlV8hkLbtnj229NavZX56pqdTeiBojhE0KgI39kF/ rUC6P0UG0ARVZ/rE01l8CE/6HfAOsR1z4WirP2E8UhEWRJFGRD8d+Cfe4I5w/hfZEWvtfGl1CJybj bDhuU1W73xngcpo9kFK/15Sg15jMTzrFZoIgk8mfuKRX7Yt/qUek8FUy3eNz9vrQiw/8cqBdZdHcE uR8TBbivAQWFHWjqSH6ChQXbdtU5SvzTMUgz0XBurwgzHnyOOSQ8YVq02XqQ6d/YDeglBMD96Bbqy oNKcMaSw==; Received: from [122.165.245.213] (port=53684 helo=localhost.localdomain) by md-in-79.webhostbox.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1shWKL-000GB4-37; Fri, 23 Aug 2024 21:05:50 +0530 From: Karthikeyan Krishnasamy To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, heiko@sntech.de, alexandre.belloni@bootlin.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, Karthikeyan Krishnasamy Subject: [PATCH 2/8] ARM: dts: rockchip: Add i2s0 node for RV1126 Date: Fri, 23 Aug 2024 21:05:22 +0530 Message-Id: <20240823153528.3863993-3-karthikeyan@linumiz.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240823153528.3863993-1-karthikeyan@linumiz.com> References: <20240823153528.3863993-1-karthikeyan@linumiz.com> MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - md-in-79.webhostbox.net X-AntiAbuse: Original Domain - lists.infradead.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - linumiz.com X-BWhitelist: no X-Source-IP: 122.165.245.213 X-Source-L: No X-Exim-ID: 1shWKL-000GB4-37 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (localhost.localdomain) [122.165.245.213]:53684 X-Source-Auth: karthikeyan@linumiz.com X-Email-Count: 24 X-Org: HG=dishared_whb_net_legacy;ORG=directi; X-Source-Cap: bGludW1jbWM7aG9zdGdhdG9yO21kLWluLTc5LndlYmhvc3Rib3gubmV0 X-Local-Domain: yes X-CMAE-Envelope: MS4xfBat2yLmm9fb5RSz7qUEbE0nThv9+BGHNCVsv8nlUst+Q9KtBOUJu2yPfMCVBfDAMWuqgOK9GS+1jfssAuDU7dUIIeVgde+hKZpozrVAybocsMvEB/rw qtTPyf00dqM2LVsDmNFEM5re+1eETDmRw1B2VkLkwTwUIRbMknI4zmIVufUsVoqcmhf4I37/A6hprHOHe6poE+362NcB0J/6eKj7CS2/jgSrULWUjaesmI0J X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240823_163745_449576_2F23B82E X-CRM114-Status: UNSURE ( 6.63 ) X-CRM114-Notice: Please train this message. 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 Add i2s0 node and possible pinctrl for Rockchip RV1126 Signed-off-by: Karthikeyan Krishnasamy --- .../arm/boot/dts/rockchip/rv1126-pinctrl.dtsi | 102 ++++++++++++++++++ arch/arm/boot/dts/rockchip/rv1126.dtsi | 26 +++++ 2 files changed, 128 insertions(+) diff --git a/arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi b/arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi index be666b25b830..c83490dfe8f6 100644 --- a/arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi +++ b/arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi @@ -123,6 +123,108 @@ i2c3m2_xfer: i2c3m2-xfer { <1 RK_PD7 3 &pcfg_pull_none>; }; }; + i2s0 { + i2s0m0_sclk_tx: i2s0m0-sclk-tx { + rockchip,pins = + /* i2s0_sclk_tx_m0 */ + <3 RK_PD0 1 &pcfg_pull_none>; + }; + i2s0m0_sclk_rx: i2s0m0-sclk-rx { + rockchip,pins = + /* i2s0_sclk_rx_m0 */ + <3 RK_PD1 1 &pcfg_pull_none>; + }; + i2s0m0_mclk: i2s0m0-mclk { + rockchip,pins = + /* i2s0_mclk_m0 */ + <3 RK_PD2 1 &pcfg_pull_none>; + }; + i2s0m0_lrck_tx: i2s0m0-lrck-tx { + rockchip,pins = + /* i2s0_lrck_tx_m0 */ + <3 RK_PD3 1 &pcfg_pull_none>; + }; + i2s0m0_lrck_rx: i2s0m0-lrck-rx { + rockchip,pins = + /* i2s0_lrck_rx_m0 */ + <3 RK_PD4 1 &pcfg_pull_none>; + }; + i2s0m0_sdi0: i2s0m0-sdi0 { + rockchip,pins = + /* i2s0_sdi0_m0 */ + <3 RK_PD6 1 &pcfg_pull_none>; + }; + i2s0m0_sdo0: i2s0m0-sdo0 { + rockchip,pins = + /* i2s0_sdo0_m0 */ + <3 RK_PD5 1 &pcfg_pull_none>; + }; + i2s0m0_sdo1_sdi3: i2s0m0-sdo1_sdi3 { + rockchip,pins = + /* i2s0_sdo1_sdi3_m0 */ + <3 RK_PD7 1 &pcfg_pull_none>; + }; + i2s0m0_sdo2_sdi2: i2s0m0-sdo2_sdi2 { + rockchip,pins = + /* i2s0_sdo2_sdi2_m0 */ + <4 RK_PA0 1 &pcfg_pull_none>; + }; + i2s0m0_sdo3_sdi1: i2s0m0-sdo3_sdi1 { + rockchip,pins = + /* i2s0_sdo3_sdi1_m0 */ + <4 RK_PA1 1 &pcfg_pull_none>; + }; + i2s0m1_sclk_tx: i2s0m1-sclk-tx { + rockchip,pins = + /* i2s0_sclk_tx_m1 */ + <3 RK_PA4 3 &pcfg_pull_none>; + }; + i2s0m1_sclk_rx: i2s0m1-sclk-rx { + rockchip,pins = + /* i2s0_sclk_rx_m1 */ + <3 RK_PB1 3 &pcfg_pull_none>; + }; + i2s0m1_mclk: i2s0m1-mclk { + rockchip,pins = + /* i2s0_mclk_m1 */ + <3 RK_PB0 3 &pcfg_pull_none>; + }; + i2s0m1_lrck_tx: i2s0m1-lrck-tx { + rockchip,pins = + /* i2s0_lrck_tx_m1 */ + <3 RK_PA5 3 &pcfg_pull_none>; + }; + i2s0m1_lrck_rx: i2s0m1-lrck-rx { + rockchip,pins = + /* i2s0_lrck_rx_m1 */ + <3 RK_PB2 3 &pcfg_pull_none>; + }; + i2s0m1_sdi0: i2s0m1-sdi0 { + rockchip,pins = + /* i2s0_sdi0_m1 */ + <3 RK_PA7 3 &pcfg_pull_none>; + }; + i2s0m1_sdo0: i2s0m1-sdo0 { + rockchip,pins = + /* i2s0_sdo0_m1 */ + <3 RK_PA6 3 &pcfg_pull_none>; + }; + i2s0m1_sdo1_sdi3: i2s0m1-sdo1_sdi3 { + rockchip,pins = + /* i2s0_sdo1_sdi3_m1 */ + <3 RK_PB3 3 &pcfg_pull_none>; + }; + i2s0m1_sdo2_sdi2: i2s0m1-sdo2_sdi2 { + rockchip,pins = + /* i2s0_sdo2_sdi2_m1 */ + <3 RK_PB4 3 &pcfg_pull_none>; + }; + i2s0m1_sdo3_sdi1: i2s0m1-sdo3_sdi1 { + rockchip,pins = + /* i2s0_sdo3_sdi1_m1 */ + <3 RK_PB5 3 &pcfg_pull_none>; + }; + }; pwm2 { /omit-if-no-ref/ pwm2m0_pins: pwm2m0-pins { diff --git a/arch/arm/boot/dts/rockchip/rv1126.dtsi b/arch/arm/boot/dts/rockchip/rv1126.dtsi index 59de848c9a83..09ecde58c553 100644 --- a/arch/arm/boot/dts/rockchip/rv1126.dtsi +++ b/arch/arm/boot/dts/rockchip/rv1126.dtsi @@ -434,6 +434,32 @@ timer0: timer@ff660000 { clock-names = "pclk", "timer"; }; + i2s0: i2s@ff800000 { + compatible = "rockchip,rv1126-i2s-tdm"; + reg = <0xff800000 0x1000>; + interrupts = ; + clocks = <&cru MCLK_I2S0_TX>, <&cru MCLK_I2S0_RX>, <&cru HCLK_I2S0>; + clock-names = "mclk_tx", "mclk_rx", "hclk"; + dmas = <&dmac 20>, <&dmac 19>; + dma-names = "tx", "rx"; + resets = <&cru SRST_I2S0_TX_M>, <&cru SRST_I2S0_RX_M>; + reset-names = "tx-m", "rx-m"; + rockchip,grf = <&grf>; + #sound-dai-cells = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&i2s0m0_sclk_tx>, + <&i2s0m0_sclk_rx>, + <&i2s0m0_mclk>, + <&i2s0m0_lrck_tx>, + <&i2s0m0_lrck_rx>, + <&i2s0m0_sdi0>, + <&i2s0m0_sdo0>, + <&i2s0m0_sdo1_sdi3>, + <&i2s0m0_sdo2_sdi2>, + <&i2s0m0_sdo3_sdi1>; + status = "disabled"; + }; + vop: vop@ffb00000 { compatible = "rockchip,rv1126-vop"; reg = <0xffb00000 0x200>, <0xffb00a00 0x400>; From patchwork Fri Aug 23 15:35:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: karthikeyan X-Patchwork-Id: 13775417 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 DD135C52D7C for ; Fri, 23 Aug 2024 15:37:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=uRtZIGRZyqIiR/BHXAKQNb5VgHHpJTUQWreXubF99ak=; b=GQfZ1FyYbD9MBGok+UxHKMvgPp pWhlIydtvP/pFcC+VI504fyDg4DYNz8P7SsN3+qMb5UlyCun9t/EzQUB+1eZTwW72TsUGkdvrrX8c TigFIaptkWJUzjUxJ6A6hTo6wehl1vQly72qub0ypzqshAsBiy5ZYfqlmEt3iqAKJF4Xbgxb2iAOx V22uwjn0/0rEL/YxixYju2Mja5fL0KPv5wLn8jcnIIxnOUJrIKigeRR/i6Ld2p4jGy0uPLyqjCVAE MQ7lZHhAHriA5IjeK9x8xzSOkSPMqarEFsMGfUMGS2pZe9c/g6vVTkcuKmKJTShB+U8Uth4SBz/Sq A+vFrj9g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1shWMA-0000000HKhL-17Jm; Fri, 23 Aug 2024 15:37:42 +0000 Received: from omta38.uswest2.a.cloudfilter.net ([35.89.44.37]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1shWKg-0000000HKRD-2SUR for linux-arm-kernel@lists.infradead.org; Fri, 23 Aug 2024 15:36:12 +0000 Received: from eig-obgw-5009a.ext.cloudfilter.net ([10.0.29.176]) by cmsmtp with ESMTPS id hGMvsqQCnumtXhWKRs8cUi; Fri, 23 Aug 2024 15:35:55 +0000 Received: from md-in-79.webhostbox.net ([43.225.55.182]) by cmsmtp with ESMTPS id hWKOsdm8vwUH5hWKQsvxte; Fri, 23 Aug 2024 15:35:55 +0000 X-Authority-Analysis: v=2.4 cv=Yci75RRf c=1 sm=1 tr=0 ts=66c8ac5b a=LfuyaZh/8e9VOkaVZk0aRw==:117 a=kofhyyBXuK/oEhdxNjf66Q==:17 a=yoJbH4e0A30A:10 a=vU9dKmh3AAAA:8 a=3KY-2xoZkWm1R9MF42IA:9 a=rsP06fVo5MYu2ilr0aT5:22 a=ZCPYImcxYIQFgLOT52_G:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=linumiz.com ; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=uRtZIGRZyqIiR/BHXAKQNb5VgHHpJTUQWreXubF99ak=; b=FuC34qvYH8P2Ue8r+HQrsc7sgC K6zOwJWbSbEYW53rczYsSjeAsYy7MZlRZ7VGv4fi0bbEVI1Q75caYhFRfsnTybEktAvcZ5v50+Nd3 kfLG3tIx1vbE8gUUgGOTid/Z4d9GSDSLLED+q8U5we3s4ixU2FX2ehWZX5K1XwAXHkN0o3aLI/0DR mXeABY+UiSnsU56vAKFSRdOFZTmxlinQNkfmRoo+VI4RzrTc+tS4B2tTOEaZFRS2xWDFrQa7IpDb/ /plv7YZkcIzZGykcHYm6FYQrM98ikoQLOjHtTNkum1qmBQaVUGCPTWACQfPbIoWoJchrBkRI8WU3/ js4/P/Aw==; Received: from [122.165.245.213] (port=53684 helo=localhost.localdomain) by md-in-79.webhostbox.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1shWKN-000GB4-1D; Fri, 23 Aug 2024 21:05:51 +0530 From: Karthikeyan Krishnasamy To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, heiko@sntech.de, alexandre.belloni@bootlin.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, Karthikeyan Krishnasamy Subject: [PATCH 3/8] ARM: dts: rockchip: Add pwm node for RV1126 Date: Fri, 23 Aug 2024 21:05:23 +0530 Message-Id: <20240823153528.3863993-4-karthikeyan@linumiz.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240823153528.3863993-1-karthikeyan@linumiz.com> References: <20240823153528.3863993-1-karthikeyan@linumiz.com> MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - md-in-79.webhostbox.net X-AntiAbuse: Original Domain - lists.infradead.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - linumiz.com X-BWhitelist: no X-Source-IP: 122.165.245.213 X-Source-L: No X-Exim-ID: 1shWKN-000GB4-1D X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (localhost.localdomain) [122.165.245.213]:53684 X-Source-Auth: karthikeyan@linumiz.com X-Email-Count: 34 X-Org: HG=dishared_whb_net_legacy;ORG=directi; X-Source-Cap: bGludW1jbWM7aG9zdGdhdG9yO21kLWluLTc5LndlYmhvc3Rib3gubmV0 X-Local-Domain: yes X-CMAE-Envelope: MS4xfFsMzQlWeYP0u85UEYqkVxJHY9RtRHVyH2LiNowNscHoY9k3WrFUbqUEB+vTIkQv/GNp3n4rTBLKBqBxX0ALnnOvMMR8pjlu87u6g0Ep8A9hxCIY+owM iyKKoyrxXCOjNqoSY7iIlpJkX4skgsnjWZlfWjaSkyk5s6p2b5FRf6GOPOWGmRHUkR5vU73iub7xGV8PQLaUunoAmuBF13H7Yezvy1HITrBxrnWMAzC8aW7+ X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240823_083610_720125_B0903656 X-CRM114-Status: UNSURE ( 7.10 ) X-CRM114-Notice: Please train this message. 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 Add missing pwm node and possible pinctrl for Rockchip RV1126 Signed-off-by: Karthikeyan Krishnasamy --- .../arm/boot/dts/rockchip/rv1126-pinctrl.dtsi | 128 ++++++++++++++++++ arch/arm/boot/dts/rockchip/rv1126.dtsi | 110 +++++++++++++++ 2 files changed, 238 insertions(+) diff --git a/arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi b/arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi index c83490dfe8f6..7d11bf685151 100644 --- a/arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi +++ b/arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi @@ -225,6 +225,28 @@ i2s0m1_sdo3_sdi1: i2s0m1-sdo3_sdi1 { <3 RK_PB5 3 &pcfg_pull_none>; }; }; + pwm0 { + /omit-if-no-ref/ + pwm0m0_pins: pwm0m0-pins { + rockchip,pins = + /* pwm0_pin_m0 */ + <0 RK_PB6 3 &pcfg_pull_none>; + }; + /omit-if-no-ref/ + pwm0m1_pins: pwm0m1-pins { + rockchip,pins = + /* pwm0_pin_m1 */ + <2 RK_PB3 5 &pcfg_pull_none>; + }; + }; + pwm1 { + /omit-if-no-ref/ + pwm1m0_pins: pwm1m0-pins { + rockchip,pins = + /* pwm1_pin_m0 */ + <0 RK_PB7 3 &pcfg_pull_none>; + }; + }; pwm2 { /omit-if-no-ref/ pwm2m0_pins: pwm2m0-pins { @@ -232,6 +254,106 @@ pwm2m0_pins: pwm2m0-pins { /* pwm2_pin_m0 */ <0 RK_PC0 3 &pcfg_pull_none>; }; + /omit-if-no-ref/ + pwm2m1_pins: pwm2m1-pins { + rockchip,pins = + /* pwm2_pin_m1 */ + <2 RK_PB1 5 &pcfg_pull_none>; + }; + }; + pwm3 { + /omit-if-no-ref/ + pwm3m0_pins: pwm3m0-pins { + rockchip,pins = + /* pwm3_pin_m0 */ + <0 RK_PC1 3 &pcfg_pull_none>; + }; + }; + pwm4 { + /omit-if-no-ref/ + pwm4m0_pins: pwm4m0-pins { + rockchip,pins = + /* pwm4_pin_m0 */ + <0 RK_PC2 3 &pcfg_pull_none>; + }; + }; + pwm5 { + /omit-if-no-ref/ + pwm5m0_pins: pwm5m0-pins { + rockchip,pins = + /* pwm5_pin_m0 */ + <0 RK_PC3 3 &pcfg_pull_none>; + }; + }; + pwm6 { + /omit-if-no-ref/ + pwm6m0_pins: pwm6m0-pins { + rockchip,pins = + /* pwm6_pin_m0 */ + <0 RK_PB2 3 &pcfg_pull_none>; + }; + /omit-if-no-ref/ + pwm6m1_pins: pwm6m1-pins { + rockchip,pins = + /* pwm6_pin_m1 */ + <2 RK_PD4 5 &pcfg_pull_none>; + }; + }; + pwm7 { + /omit-if-no-ref/ + pwm7m0_pins: pwm7m0-pins { + rockchip,pins = + /* pwm7_pin_m0 */ + <0 RK_PB1 3 &pcfg_pull_none>; + }; + /omit-if-no-ref/ + pwm7m1_pins: pwm7m1-pins { + rockchip,pins = + /* pwm7_pin_m1 */ + <3 RK_PA0 5 &pcfg_pull_none>; + }; + }; + pwm8 { + /omit-if-no-ref/ + pwm8m0_pins: pwm8m0-pins { + rockchip,pins = + /* pwm8_pin_m0 */ + <3 RK_PA4 6 &pcfg_pull_none>; + }; + /omit-if-no-ref/ + pwm8m1_pins: pwm8m1-pins { + rockchip,pins = + /* pwm8_pin_m1 */ + <2 RK_PD7 5 &pcfg_pull_none>; + }; + }; + pwm9 { + /omit-if-no-ref/ + pwm9m0_pins: pwm9m0-pins { + rockchip,pins = + /* pwm9_pin_m0 */ + <3 RK_PA5 6 &pcfg_pull_none>; + }; + /omit-if-no-ref/ + pwm9m1_pins: pwm9m1-pins { + rockchip,pins = + /* pwm9_pin_m1 */ + <2 RK_PD6 5 &pcfg_pull_none>; + }; + }; + pwm10 { + /omit-if-no-ref/ + pwm10m0_pins: pwm10m0-pins { + rockchip,pins = + /* pwm10_pin_m0 */ + <3 RK_PA6 6 &pcfg_pull_none>; + }; + /omit-if-no-ref/ + pwm10m1_pins: pwm10m1-pins { + rockchip,pins = + /* pwm10_pin_m1 */ + <2 RK_PD5 5 &pcfg_pull_none>; + }; }; pwm11 { /omit-if-no-ref/ @@ -240,6 +362,12 @@ pwm11m0_pins: pwm11m0-pins { /* pwm11_pin_m0 */ <3 RK_PA7 6 &pcfg_pull_none>; }; + /omit-if-no-ref/ + pwm11m1_pins: pwm11m1-pins { + rockchip,pins = + /* pwm11_pin_m1 */ + <3 RK_PA1 5 &pcfg_pull_none>; + }; }; rgmii { /omit-if-no-ref/ diff --git a/arch/arm/boot/dts/rockchip/rv1126.dtsi b/arch/arm/boot/dts/rockchip/rv1126.dtsi index 09ecde58c553..abf442804d27 100644 --- a/arch/arm/boot/dts/rockchip/rv1126.dtsi +++ b/arch/arm/boot/dts/rockchip/rv1126.dtsi @@ -269,6 +269,28 @@ uart1: serial@ff410000 { status = "disabled"; }; + pwm0: pwm@ff430000 { + compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm"; + reg = <0xff430000 0x10>; + clock-names = "pwm", "pclk"; + clocks = <&pmucru CLK_PWM0>, <&pmucru PCLK_PWM0>; + pinctrl-names = "default"; + pinctrl-0 = <&pwm0m0_pins>; + #pwm-cells = <3>; + status = "disabled"; + }; + + pwm1: pwm@ff430010 { + compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm"; + reg = <0xff430010 0x10>; + clock-names = "pwm", "pclk"; + clocks = <&pmucru CLK_PWM0>, <&pmucru PCLK_PWM0>; + pinctrl-names = "default"; + pinctrl-0 = <&pwm1m0_pins>; + #pwm-cells = <3>; + status = "disabled"; + }; + pwm2: pwm@ff430020 { compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm"; reg = <0xff430020 0x10>; @@ -280,6 +302,61 @@ pwm2: pwm@ff430020 { status = "disabled"; }; + pwm3: pwm@ff430030 { + compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm"; + reg = <0xff430030 0x10>; + clock-names = "pwm", "pclk"; + clocks = <&pmucru CLK_PWM0>, <&pmucru PCLK_PWM0>; + pinctrl-names = "default"; + pinctrl-0 = <&pwm3m0_pins>; + #pwm-cells = <3>; + status = "disabled"; + }; + + pwm4: pwm@ff440000 { + compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm"; + reg = <0xff440000 0x10>; + clock-names = "pwm", "pclk"; + clocks = <&pmucru CLK_PWM1>, <&pmucru PCLK_PWM1>; + pinctrl-names = "default"; + pinctrl-0 = <&pwm4m0_pins>; + #pwm-cells = <3>; + status = "disabled"; + }; + + pwm5: pwm@ff440010 { + compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm"; + reg = <0xff440010 0x10>; + clock-names = "pwm", "pclk"; + clocks = <&pmucru CLK_PWM1>, <&pmucru PCLK_PWM1>; + pinctrl-names = "default"; + pinctrl-0 = <&pwm5m0_pins>; + #pwm-cells = <3>; + status = "disabled"; + }; + + pwm6: pwm@ff440020 { + compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm"; + reg = <0xff440020 0x10>; + clock-names = "pwm", "pclk"; + clocks = <&pmucru CLK_PWM1>, <&pmucru PCLK_PWM1>; + pinctrl-names = "default"; + pinctrl-0 = <&pwm6m0_pins>; + #pwm-cells = <3>; + status = "disabled"; + }; + + pwm7: pwm@ff440030 { + compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm"; + reg = <0xff440030 0x10>; + clock-names = "pwm", "pclk"; + clocks = <&pmucru CLK_PWM1>, <&pmucru PCLK_PWM1>; + pinctrl-names = "default"; + pinctrl-0 = <&pwm7m0_pins>; + #pwm-cells = <3>; + status = "disabled"; + }; + pmucru: clock-controller@ff480000 { compatible = "rockchip,rv1126-pmucru"; reg = <0xff480000 0x1000>; @@ -323,6 +400,39 @@ i2c3: i2c@ff520000 { rockchip,grf = <&pmugrf>; }; + pwm8: pwm@ff550000 { + compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm"; + reg = <0xff550000 0x10>; + clock-names = "pwm", "pclk"; + clocks = <&cru CLK_PWM2>, <&cru PCLK_PWM2>; + pinctrl-0 = <&pwm8m0_pins>; + pinctrl-names = "default"; + #pwm-cells = <3>; + status = "disabled"; + }; + + pwm9: pwm@ff550010 { + compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm"; + reg = <0xff550010 0x10>; + clock-names = "pwm", "pclk"; + clocks = <&cru CLK_PWM2>, <&cru PCLK_PWM2>; + pinctrl-0 = <&pwm9m0_pins>; + pinctrl-names = "default"; + #pwm-cells = <3>; + status = "disabled"; + }; + + pwm10: pwm@ff550020 { + compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm"; + reg = <0xff550020 0x10>; + clock-names = "pwm", "pclk"; + clocks = <&cru CLK_PWM2>, <&cru PCLK_PWM2>; + pinctrl-0 = <&pwm10m0_pins>; + pinctrl-names = "default"; + #pwm-cells = <3>; + status = "disabled"; + }; + pwm11: pwm@ff550030 { compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm"; reg = <0xff550030 0x10>; From patchwork Fri Aug 23 15:35:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: karthikeyan X-Patchwork-Id: 13775450 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 4CC42C52D7C for ; Fri, 23 Aug 2024 15:44:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=QaZcuLfM4TvFakz1qdZ4oRQbf4vrkbnvYGkuZfvKInE=; b=FPp100KLcpgqYQQZWGdkXeZTqL rVPdhEA/MJaR6X21QtRRIRiJPj4EIfMK8KDeewaCt082nWDr8kzDUySSOTSaGsyJWj8MEO70P7E7A kaeOPYZdjW7zYIdsSO35ydJiX9n+AdTee+ogf6v5XbWTNKWVb2AxuEoZdGbjSKA3z1h4JDjbEDqOe h3ENLh5tnszQOTtMveLMMvm4pnI4GY2I0mMqkO1a/Znyg06Le+C3jhflPMKZxk94CQGC/edorD432 txCShUoQVI0Lcr/O4uva4hMv0fEWZvlPdEhclUmabHFuQ+r2wV5DGXM42HCC1bnnInzzKv/O73Q8Q 0Kwm8lrQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1shWSy-0000000HMlo-3ys0; Fri, 23 Aug 2024 15:44:44 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1shWOb-0000000HLLK-04UO for linux-arm-kernel@bombadil.infradead.org; Fri, 23 Aug 2024 15:40:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=QaZcuLfM4TvFakz1qdZ4oRQbf4vrkbnvYGkuZfvKInE=; b=WuB6GkcYiDze8MK93B9+zYdjPO NlhOzrVy4p5lwf4nsONYpRb/WIAOypol0h1l14kDoZTr9NJvdlIdPJEjvp5DCLcQ9O4pRdLRluXz+ WOvJOBaMfx6k0vOSuv6Lk5eLNWzuNJOvvfRYuBh5UkuitPDFFSGra6JLAFe5diu/GMRMPsUpoA9pU o5IqG7E/KowZZRlJGTowoveKfKt006K3e89T9lOSEYOSa51E4sqK4Ij5FtwVGp0JnC3OufhUvhYMP kSaZ+B4j1qEXrvIQmaBTCBh2XAhvNUuiaiOS0lt+fOPXxqIpgifVegOda0ytY1tdVeYFUIJ6BOfqg txdJcDVw==; Received: from omta036.useast.a.cloudfilter.net ([44.202.169.35]) by casper.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1shWOV-0000000BsTF-2JiT for linux-arm-kernel@lists.infradead.org; Fri, 23 Aug 2024 15:40:11 +0000 Received: from eig-obgw-6003a.ext.cloudfilter.net ([10.0.30.151]) by cmsmtp with ESMTPS id hVlksf6Q5iA19hWKUs8u8D; Fri, 23 Aug 2024 15:35:58 +0000 Received: from md-in-79.webhostbox.net ([43.225.55.182]) by cmsmtp with ESMTPS id hWKRshYJQV2ivhWKSsmVra; Fri, 23 Aug 2024 15:35:57 +0000 X-Authority-Analysis: v=2.4 cv=OLns3jaB c=1 sm=1 tr=0 ts=66c8ac5d a=LfuyaZh/8e9VOkaVZk0aRw==:117 a=kofhyyBXuK/oEhdxNjf66Q==:17 a=yoJbH4e0A30A:10 a=vU9dKmh3AAAA:8 a=jOwBCQwwsqbqoLW4yoUA:9 a=HjVMtnDHQlM7PJrv9UYS:22 a=rsP06fVo5MYu2ilr0aT5:22 a=ZCPYImcxYIQFgLOT52_G:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=linumiz.com ; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=QaZcuLfM4TvFakz1qdZ4oRQbf4vrkbnvYGkuZfvKInE=; b=Uaidzje9PZk8YtV4SrsN9PtooW Lw2E8bf2ZowaDnIee3CnLUjg0hWb0+nP2J+zIg/xDo9y4CpMMpydIMcUII5crZ5dHBveKDjlNRzfl lzbcaMbRMs6/oP4tOtD0dLXmpEJ81A7H8Pq7cimvqPSpKTYtrweJhG8sVtohz/ykfKwsU2Z2nIOuL twdyzPChwdO8CZsibu71683IuMJj8cy9MCRkih6n3Yz7pcfGXQaSb63qCKJxG5lW0qlNAfGwQTx23 +TNHCBmuaXgSeDRZ20US0Rj1LG34OWJ89ShCfJJaZd7FMuusQ+EdVKt7T37vk0WlUlwUZ4bTU8rA0 oybj6X7A==; Received: from [122.165.245.213] (port=53684 helo=localhost.localdomain) by md-in-79.webhostbox.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1shWKO-000GB4-2a; Fri, 23 Aug 2024 21:05:52 +0530 From: Karthikeyan Krishnasamy To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, heiko@sntech.de, alexandre.belloni@bootlin.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, Karthikeyan Krishnasamy Subject: [PATCH 4/8] ARM: dts: rockchip: Add watchdog node for RV1126 Date: Fri, 23 Aug 2024 21:05:24 +0530 Message-Id: <20240823153528.3863993-5-karthikeyan@linumiz.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240823153528.3863993-1-karthikeyan@linumiz.com> References: <20240823153528.3863993-1-karthikeyan@linumiz.com> MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - md-in-79.webhostbox.net X-AntiAbuse: Original Domain - lists.infradead.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - linumiz.com X-BWhitelist: no X-Source-IP: 122.165.245.213 X-Source-L: No X-Exim-ID: 1shWKO-000GB4-2a X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (localhost.localdomain) [122.165.245.213]:53684 X-Source-Auth: karthikeyan@linumiz.com X-Email-Count: 44 X-Org: HG=dishared_whb_net_legacy;ORG=directi; X-Source-Cap: bGludW1jbWM7aG9zdGdhdG9yO21kLWluLTc5LndlYmhvc3Rib3gubmV0 X-Local-Domain: yes X-CMAE-Envelope: MS4xfHB/G//Adic0k8B8gO3VQxsC9q0/4YgDH08Hdyd6kaFLJ/uMXQdFrnjw1mm0UCVyqphK+Uq+j9n7H6kW3FQVo9em16YPcqJGs9RX7nefivFiZNWJpTpa 4MNTxzBPPHjG9Qf5KneS3v99F20WJArxNmjUdSXVnesjCk5LwzcRvxYoky3K3Uk2A2OZpXuJSjnzunApZ8F/e62H0zMCPatgyPfI76GMtmAgYssssanmxo2B X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240823_164007_697200_EF640DA9 X-CRM114-Status: UNSURE ( 5.54 ) X-CRM114-Notice: Please train this message. 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 Add watchdog node for Rockchip RV1126 Signed-off-by: Karthikeyan Krishnasamy --- arch/arm/boot/dts/rockchip/rv1126.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/rockchip/rv1126.dtsi b/arch/arm/boot/dts/rockchip/rv1126.dtsi index abf442804d27..283985608428 100644 --- a/arch/arm/boot/dts/rockchip/rv1126.dtsi +++ b/arch/arm/boot/dts/rockchip/rv1126.dtsi @@ -544,6 +544,14 @@ timer0: timer@ff660000 { clock-names = "pclk", "timer"; }; + wdt: watchdog@ff680000 { + compatible = "snps,dw-wdt"; + reg = <0xff680000 0x100>; + clocks = <&cru PCLK_WDT>; + interrupts = ; + status = "disabled"; + }; + i2s0: i2s@ff800000 { compatible = "rockchip,rv1126-i2s-tdm"; reg = <0xff800000 0x1000>; From patchwork Fri Aug 23 15:35:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: karthikeyan X-Patchwork-Id: 13775440 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 BEC14C52D7C for ; Fri, 23 Aug 2024 15:40:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=nqWL8jBxFHYZamQffy5P+pzLgJszdIlE2k6Pctncqvk=; b=kZ5HY4AbLDmlwb5bp4hans4WiR AJ4RQpP3bzmY+CHPLNaEWiZ3ABdkKEtyOF7eFJ/Aer9YgiFpbfWqe5R4IoAVhPbtVZ3lopd5x9CrR 18ef2dOYB/mqayDIZ0xcSgy972+uijF5XS9iIgvHmUQobSlz7dFQo7SW7r5JC+K/mlPJ2okJqxE7A hqax4HBK5WtGrSrULo+h7I50yBz/z/QWfZj/65ljXU2YKBQYZHGxSHzKfBWqOdBcS1nM0RsoHhr0w O9H8YKT20tga3RMbh6vKTzU3cPqvtAk1QZ3d70sAh9yBcwT/T8iZfusYN0S8dgrJrpxqwYTuFW4j0 cExiu1Lg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1shWP5-0000000HLSx-2TLG; Fri, 23 Aug 2024 15:40:43 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1shWMH-0000000HKkJ-3sdT for linux-arm-kernel@bombadil.infradead.org; Fri, 23 Aug 2024 15:37:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=nqWL8jBxFHYZamQffy5P+pzLgJszdIlE2k6Pctncqvk=; b=oSqzBE8mWyQvYajLtyFCtRNebh VkmqBvYX/QDy6YGOKdL0fAiCuJ62EAzex1R47/sjmtRGT4qY17jYtb5MdX0LH5I2W0F+tzJELzjL6 nAI4WQbwhvKODfB0fjBH2PO1wScUqPqWZDpjDJlGpNZj2MoNr9VicFRJcFahMLmHtm4SysEQh7RI1 ItRlckFD/CB6c4MdGiDXPBjEtvakk3qAuobtooZ4gC/fSNIkR2UHyvDTIAgFaQ2AFbS2FwWUF7AV1 07jXEqHbsaheoAG0PqQnQseIIvn2rCnoRgzzZDr8wtZbl0gNRrEZug7f2ZXsLse/OFvnfq89iK6Yt HtKAi/ZA==; Received: from omta34.uswest2.a.cloudfilter.net ([35.89.44.33]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1shWMC-0000000AAOb-3F2n for linux-arm-kernel@lists.infradead.org; Fri, 23 Aug 2024 15:37:47 +0000 Received: from eig-obgw-6008a.ext.cloudfilter.net ([10.0.30.227]) by cmsmtp with ESMTPS id hTrMsNXU9VpzphWKUseDNI; Fri, 23 Aug 2024 15:35:58 +0000 Received: from md-in-79.webhostbox.net ([43.225.55.182]) by cmsmtp with ESMTPS id hWKRsSWXkDJElhWKTsmY7F; Fri, 23 Aug 2024 15:35:57 +0000 X-Authority-Analysis: v=2.4 cv=H5XdwfYi c=1 sm=1 tr=0 ts=66c8ac5d a=LfuyaZh/8e9VOkaVZk0aRw==:117 a=kofhyyBXuK/oEhdxNjf66Q==:17 a=yoJbH4e0A30A:10 a=vU9dKmh3AAAA:8 a=Kb_rVgeVel1wak-Xqx8A:9 a=rsP06fVo5MYu2ilr0aT5:22 a=ZCPYImcxYIQFgLOT52_G:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=linumiz.com ; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=nqWL8jBxFHYZamQffy5P+pzLgJszdIlE2k6Pctncqvk=; b=gan9XfQ+FPKlJQViHy7oe/svde KEqV+axl3tQmJQmV3on823mfVI+jvZUTFaSufzEsojlZU9ENnKaDts5g8Ltz/qgvVrJFZnQfD7HjI 9A3RyfFpbTC/fUkI1HL9myUcppKMFaG5XsDTZRywCCX3jnktHiLp/+OC5a1qLGWhwBOFuKfHAF4Dw GAlx3up7Yjd8UWBMr5QyWLjcx9BL6pXYK3pBIKS9lHNhnHKmis/NEYTGQ+5lcHP197WH1mi4bnZbB 5wPyuA2D1eo6J0cB2IdNemP1oW6AT5rxum7lGN7XfDti5Za+AyRtLMrW9RxDW4Dm6qoSEQ7+jDPsC 0sdVsaVA==; Received: from [122.165.245.213] (port=53684 helo=localhost.localdomain) by md-in-79.webhostbox.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1shWKQ-000GB4-0o; Fri, 23 Aug 2024 21:05:54 +0530 From: Karthikeyan Krishnasamy To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, heiko@sntech.de, alexandre.belloni@bootlin.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, Karthikeyan Krishnasamy Subject: [PATCH 5/8] Documentation: bindings: rtc: add clock-cells property Date: Fri, 23 Aug 2024 21:05:25 +0530 Message-Id: <20240823153528.3863993-6-karthikeyan@linumiz.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240823153528.3863993-1-karthikeyan@linumiz.com> References: <20240823153528.3863993-1-karthikeyan@linumiz.com> MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - md-in-79.webhostbox.net X-AntiAbuse: Original Domain - lists.infradead.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - linumiz.com X-BWhitelist: no X-Source-IP: 122.165.245.213 X-Source-L: No X-Exim-ID: 1shWKQ-000GB4-0o X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (localhost.localdomain) [122.165.245.213]:53684 X-Source-Auth: karthikeyan@linumiz.com X-Email-Count: 53 X-Org: HG=dishared_whb_net_legacy;ORG=directi; X-Source-Cap: bGludW1jbWM7aG9zdGdhdG9yO21kLWluLTc5LndlYmhvc3Rib3gubmV0 X-Local-Domain: yes X-CMAE-Envelope: MS4xfGC0dJlCFUNjPwxsQvqMxzdaX1lfgiuDhW1TveveS9w3N8q1Rhf2yHXKIHJpk6I63KMibVuCXRQP4GLo07j++E4os2aK2s8O1HKiezHJjkIg3Kpuc87M zDoF2yXK64z5MTPm6bAl0CZZRJhCquMDQhGe0g3mbmnz4KoLAClNWpMc1RFv2v8TlZY1MTuXDb44Qyzo1Sf6eZwhKl9JBeKTIXCTBCL93zJEeBLegidQPAHZ X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240823_163745_553531_E4A04B3D X-CRM114-Status: UNSURE ( 4.07 ) X-CRM114-Notice: Please train this message. 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 consume clkout from rv3028 rtc which is able to provide different clock frequency upon configuration Signed-off-by: Karthikeyan Krishnasamy Acked-by: Conor Dooley --- Documentation/devicetree/bindings/rtc/microcrystal,rv3028.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/rtc/microcrystal,rv3028.yaml b/Documentation/devicetree/bindings/rtc/microcrystal,rv3028.yaml index 5ade5dfad048..cda8ad7c1203 100644 --- a/Documentation/devicetree/bindings/rtc/microcrystal,rv3028.yaml +++ b/Documentation/devicetree/bindings/rtc/microcrystal,rv3028.yaml @@ -22,6 +22,9 @@ properties: interrupts: maxItems: 1 + "#clock-cells": + const: 0 + trickle-resistor-ohms: enum: - 3000 From patchwork Fri Aug 23 15:35:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: karthikeyan X-Patchwork-Id: 13775451 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 23623C531DC for ; Fri, 23 Aug 2024 15:45:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=QVMH6+AQBoL0WKzlVIw6S0+n9yYlQNc8yrm7EGRR5DU=; b=EIun71LdLL1/qLfcsau0YFOYEN f9ZJO6hRhLpINxdLxSIp7t6qoe8df7l8mvcI38lpNuFgPT29Yy06G0AQzDg+mgyfbJ6ErJCnikZ8v gdW8mwn68NmX4nJ8BESZA8hmaGVIL4xz2Meo+SjUWUIfPfxiADKPGFkLN0ggBmmlkuhHj/qUNMUJY nB/RhXyadyvaGDnBgZ0eOn+xE19LHcdctha8eFCeT5CPMiKlb7AiksxLawDSHs9u7EPPMGjAbUyDo ylldN5R20FV6jagyuOx0l6q9O8DxPCpU9cbGj/drcLnBIjsASdB5XtAA6TUV/5oCQNSmcV3KqVKrR /5pWX6rQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1shWTm-0000000HN3y-0mrS; Fri, 23 Aug 2024 15:45:34 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1shWOb-0000000HLLS-1NuM for linux-arm-kernel@bombadil.infradead.org; Fri, 23 Aug 2024 15:40:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=QVMH6+AQBoL0WKzlVIw6S0+n9yYlQNc8yrm7EGRR5DU=; b=L3FWqfzlsPeltOKBdhPrCVKjf0 bqJG+qRPw9dYXu/VyUUHhvfP63Q/3AXgvcKfiKV7Sr3thnBfDzU/1UPdHP1pVlG8gwCAd8U+NZt/3 V/qRCAePZ2aS+ux/gA6YzcPLHMt+mkd2JBFxXZ0lPslfF7bz40vA/jzhtypZcujQml2COpP9wvKDh XQbATfV9iZG+TDDxI3/XiJNr7gk2FuJ3AtCqveLH1ppHp6cToyvouzWXzu9tYuEIb34uNVDSbqH3M SK/cxVcV/2sUHQBHnAb3kLmCZEGhg0yYRkUrNqSGuecgcKPIf3DK5ISOoT+Fn+JV2w8b8iQrn7rIX Xda/alBQ==; Received: from omta034.useast.a.cloudfilter.net ([44.202.169.33]) by casper.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1shWOV-0000000BsTE-2PJh for linux-arm-kernel@lists.infradead.org; Fri, 23 Aug 2024 15:40:12 +0000 Received: from eig-obgw-5009a.ext.cloudfilter.net ([10.0.29.176]) by cmsmtp with ESMTPS id hSVnsoKtZ1zuHhWKVsUFnn; Fri, 23 Aug 2024 15:35:59 +0000 Received: from md-in-79.webhostbox.net ([43.225.55.182]) by cmsmtp with ESMTPS id hWKTsdmDawUH5hWKUsvxy2; Fri, 23 Aug 2024 15:35:59 +0000 X-Authority-Analysis: v=2.4 cv=Yci75RRf c=1 sm=1 tr=0 ts=66c8ac5f a=LfuyaZh/8e9VOkaVZk0aRw==:117 a=kofhyyBXuK/oEhdxNjf66Q==:17 a=yoJbH4e0A30A:10 a=ARcrkP6DAAAA:8 a=vU9dKmh3AAAA:8 a=L4MHaItcyTsGJ2lxC4sA:9 a=HWcd8CIpyGgXnveeQW_Z:22 a=rsP06fVo5MYu2ilr0aT5:22 a=ZCPYImcxYIQFgLOT52_G:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=linumiz.com ; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=QVMH6+AQBoL0WKzlVIw6S0+n9yYlQNc8yrm7EGRR5DU=; b=TL5x0lf3UV3Md8RKG8rOeKrkSC HUE2BMk3vni1Yg+IeOBy7PIDAOP6cMvpTgWa37CcKfX2syyLTzGIhCf7XC8fbOwsQ4dho2os57gbN Y0bkR+cQM7sFIaxEZSu0TSWYGxgQSLEZZt38qBNRPPyUw0hz8m/81oEByy46xbLBgB0GqRHNPduyS ZVLIxwIWKZKjm73EFPpWxY/c5WvzHij/dB2LJR40Ngvt8l+/ln5NkJvSqQW1FuVJZ0MFmKQ6rOJRT i5IcYovxtKM5EPdQ6Pu+waKingQpS0FMiwqP/VI/tNSY440LL0Dd7tE9Sem143ZRSsodRVOO08FUp F/EUtKGA==; Received: from [122.165.245.213] (port=53684 helo=localhost.localdomain) by md-in-79.webhostbox.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1shWKR-000GB4-2H; Fri, 23 Aug 2024 21:05:55 +0530 From: Karthikeyan Krishnasamy To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, heiko@sntech.de, alexandre.belloni@bootlin.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, Karthikeyan Krishnasamy Subject: [PATCH 6/8] dt-bindings: vendor-prefixes: Add Relfor labs Date: Fri, 23 Aug 2024 21:05:26 +0530 Message-Id: <20240823153528.3863993-7-karthikeyan@linumiz.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240823153528.3863993-1-karthikeyan@linumiz.com> References: <20240823153528.3863993-1-karthikeyan@linumiz.com> MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - md-in-79.webhostbox.net X-AntiAbuse: Original Domain - lists.infradead.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - linumiz.com X-BWhitelist: no X-Source-IP: 122.165.245.213 X-Source-L: No X-Exim-ID: 1shWKR-000GB4-2H X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (localhost.localdomain) [122.165.245.213]:53684 X-Source-Auth: karthikeyan@linumiz.com X-Email-Count: 64 X-Org: HG=dishared_whb_net_legacy;ORG=directi; X-Source-Cap: bGludW1jbWM7aG9zdGdhdG9yO21kLWluLTc5LndlYmhvc3Rib3gubmV0 X-Local-Domain: yes X-CMAE-Envelope: MS4xfPqKkz9kUiRab8pR5gxD7dWg0qZ28kC5QYldenBm2UT2Ixf9pL9paNSTBdy25GcyyW9ktaJBAno/UGSL6E5oO0NVGO/fu3r5XBp3IgZ0vucyECbLPA81 JCVBndloPtbRvqnfHyTd0wDKkNzvVZCUJC/NYcqG58MAruI8GydsK0LFS947IAGM+uE0JSPVE9gVPwS7SMexke4SzORAptH0f2EhV5wKZFoV8sdubY8a0Fej X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240823_164007_721835_6E42F635 X-CRM114-Status: UNSURE ( 5.01 ) X-CRM114-Notice: Please train this message. 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 Add Relfor Labs Pvt. Ltd. vendor prefixes https://www.relfor.com/ Signed-off-by: Karthikeyan Krishnasamy Acked-by: Conor Dooley --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index a70ce43b3dc0..7d10ac7d6800 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -1220,6 +1220,8 @@ patternProperties: description: Unisoc Communications, Inc. "^realtek,.*": description: Realtek Semiconductor Corp. + "^relfor,.*": + description: Relfor Labs Pvt. Ltd. "^remarkable,.*": description: reMarkable AS "^renesas,.*": From patchwork Fri Aug 23 15:35:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: karthikeyan X-Patchwork-Id: 13775441 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 9AED7C52D7C for ; Fri, 23 Aug 2024 15:43:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=GFh4qRuUJB0rrMs4T9RVkJerrRO8OYO4En9jGqxlD3Y=; b=ocr77L6pArLyHGRboBadBGylB6 W13rKtlFdi18sSyxa/2XuIiVJhklnrHCdr2hWNXmEKuu2boez507plp1z55fbzqUaUsSvF6U0YD4s 1nd/b4Uceu/PO2a6+EG6sBv4YllCZIBQO07PxIjABksWd3C4AHf3AtyAAjRyNAqwL4+g54v0imArg Dx07SnWtF81BMA6ihYQ7gYUcd+LdPp6GaZaRaxpRRtTXZ6d6jRVmXiCdaKN38YLHm/pbGNz9LfILl K99itn4e6PSN3AOgR049c6gazOOEdtTFh9da12DBHQzJX3OCOaDY3018R5SlD/iqK1W1hg/yD7wXX bi/1KFmA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1shWRV-0000000HMK2-0zAo; Fri, 23 Aug 2024 15:43:13 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1shWOY-0000000HLKK-3zzp for linux-arm-kernel@bombadil.infradead.org; Fri, 23 Aug 2024 15:40:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=GFh4qRuUJB0rrMs4T9RVkJerrRO8OYO4En9jGqxlD3Y=; b=fgzVAb29m7Nve+cBfhIBkx+a14 j1OHbKfymIu5BjfunleJO5upf+8oWBX9vJXjkMoSuSdTLnjv4xaA75RtoLxymoKIYv3afu+b9TBry ssLc1NhqO+anKv9W7e4+ZDCuhxRPCSLnar3B9zsEzHEOSAVsVQCmYBOQHW/7KMcd9h0nEMu0WCU2g 50L0/gR9OFamnioD54psZ+TyqUTfzH4teZzxyHNxVylLkYudEgr3O7N9+eWj2KPq0HJtC5FaocliP TkFsP6zG5NqMZN+Xg7Qyhjl4zsyjCR+ICCxzMYMn82/yoAdhe1pUraIu6mIIphmN8Yn5dC9TRQpsF fBh5WeOQ==; Received: from omta34.uswest2.a.cloudfilter.net ([35.89.44.33]) by casper.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1shWOU-0000000BsTC-2Hhk for linux-arm-kernel@lists.infradead.org; Fri, 23 Aug 2024 15:40:09 +0000 Received: from eig-obgw-6004a.ext.cloudfilter.net ([10.0.30.197]) by cmsmtp with ESMTPS id hVjKsO319VpzphWKXseDOz; Fri, 23 Aug 2024 15:36:01 +0000 Received: from md-in-79.webhostbox.net ([43.225.55.182]) by cmsmtp with ESMTPS id hWKUsloKhks1PhWKWsyTQg; Fri, 23 Aug 2024 15:36:00 +0000 X-Authority-Analysis: v=2.4 cv=Ud+aS7SN c=1 sm=1 tr=0 ts=66c8ac60 a=LfuyaZh/8e9VOkaVZk0aRw==:117 a=kofhyyBXuK/oEhdxNjf66Q==:17 a=yoJbH4e0A30A:10 a=vU9dKmh3AAAA:8 a=4uBLznlVahHWhnoGBvoA:9 a=rsP06fVo5MYu2ilr0aT5:22 a=ZCPYImcxYIQFgLOT52_G:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=linumiz.com ; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=GFh4qRuUJB0rrMs4T9RVkJerrRO8OYO4En9jGqxlD3Y=; b=h58cQZqWgaqWJE2GIGhYjwwR8B wDTc4ZTzz+PMaPqUrJbGHtVMbfXdWqcv6dnoZdcD1um3PjeBVjV6N76bHopmZiQ9dItC9KXVvov2y Khg6Rme5M2xenJM+VmlM6Rzv4/DS6lP5wDLaUp7sb9M1su22AyEODNBBCAt87D6rmvi/KA43R+i5K q9THMY4EdyTCgGCRgyDC53j8wN8QlgTzv57OJSC4UBjHe6Aj7vrEce2HH6FIFjkUZP3p0MrZ9ZPgQ vYAhPsow0dMui7/nWglpBgL8J6bBB0nT9hjy3TqrjnDNrLJHkl1Tk+ttgBozx7ePI9cpoPaIXTMvR qX7/uGlQ==; Received: from [122.165.245.213] (port=53684 helo=localhost.localdomain) by md-in-79.webhostbox.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1shWKT-000GB4-0J; Fri, 23 Aug 2024 21:05:57 +0530 From: Karthikeyan Krishnasamy To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, heiko@sntech.de, alexandre.belloni@bootlin.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, Karthikeyan Krishnasamy Subject: [PATCH 7/8] dt-bindings: arm: rockchip: Add Relfor Saib Date: Fri, 23 Aug 2024 21:05:27 +0530 Message-Id: <20240823153528.3863993-8-karthikeyan@linumiz.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240823153528.3863993-1-karthikeyan@linumiz.com> References: <20240823153528.3863993-1-karthikeyan@linumiz.com> MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - md-in-79.webhostbox.net X-AntiAbuse: Original Domain - lists.infradead.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - linumiz.com X-BWhitelist: no X-Source-IP: 122.165.245.213 X-Source-L: No X-Exim-ID: 1shWKT-000GB4-0J X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (localhost.localdomain) [122.165.245.213]:53684 X-Source-Auth: karthikeyan@linumiz.com X-Email-Count: 74 X-Org: HG=dishared_whb_net_legacy;ORG=directi; X-Source-Cap: bGludW1jbWM7aG9zdGdhdG9yO21kLWluLTc5LndlYmhvc3Rib3gubmV0 X-Local-Domain: yes X-CMAE-Envelope: MS4xfGudDAIvsNcGiG3UXvsNGgecvwRyuIiA85Vv0oYFnE3iP/FMb8QR91f4ozAgBEdRaIrQVNV3KMbCfQUsIB5C4DtvMxw9HXTVJez7E2lvCV61h5Egsu+Y H18EtnBQHSHjA14qUyr1hVP9/2iuw8U37ObbxFwF8kXAjJMwY5vvD35CSBWqVvOnIT8o4279LGdojLab0WjeH87ooldlh9hDY7LlTnfuO/SxlyQSk+qdEBLw X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240823_164006_760600_C08816E1 X-CRM114-Status: UNSURE ( 4.77 ) X-CRM114-Notice: Please train this message. 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 Add devicetree binding documentation for Relfor Saib board which uses Rockchip RV1109 SoC Signed-off-by: Karthikeyan Krishnasamy --- Documentation/devicetree/bindings/arm/rockchip.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/rockchip.yaml b/Documentation/devicetree/bindings/arm/rockchip.yaml index 1ef09fbfdfaf..29f7e09ae443 100644 --- a/Documentation/devicetree/bindings/arm/rockchip.yaml +++ b/Documentation/devicetree/bindings/arm/rockchip.yaml @@ -848,6 +848,12 @@ properties: - radxa,zero-3w - const: rockchip,rk3566 + - description: Relfor SAIB board + items: + - const: relfor,saib + - enum: + - rockchip,rv1109 + - description: Rikomagic MK808 v1 items: - const: rikomagic,mk808 From patchwork Fri Aug 23 15:35:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: karthikeyan X-Patchwork-Id: 13775449 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 508DEC52D7C for ; Fri, 23 Aug 2024 15:44:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=XUqDjCWuXrk416VODHC6oHQySkJkEmuyRMAeXe+uFJk=; b=Ih+BnQxovj8l9PR0st/Na2VIAx MPtTQL96Onbn+M5Jl4fYY1dsAG6qkmo7EmYTXNnjU/vyxUBXdq30W069XILXUgzQHy3HpJ0Kodrh/ JoYk6C+dmb76wRt976SJ5zySH6X4glvlDmnlJgxVnQFmXmFRhSH9ZeU9qIfVNV42h+d3FAUdpl91A dhWvsptylqWTB1J/N71ewYJSyIOnVMgsGnlTioNmAHaScYy1ClRfIeabSPG1seoYsAO0/l/wlALHP TlhDb+U0KTTAQ/a1VTizWJcVNDDOofir2OywESnv58d5ayQcClsKMcL+eRDJZureW3RQ5W9VUt/zC 4JAtOPSQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1shWSE-0000000HMXf-1Jok; Fri, 23 Aug 2024 15:43:58 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1shWOZ-0000000HLKp-2mQg for linux-arm-kernel@bombadil.infradead.org; Fri, 23 Aug 2024 15:40:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=XUqDjCWuXrk416VODHC6oHQySkJkEmuyRMAeXe+uFJk=; b=QKYpzhx9+eDzkFsZnWoWEbInrc Zj6T3300ekXjAxS9kFZf4lAMTkl4o17SFk1KROODrB5kliiER+Pu1Vnm+Y+r1w+3ugTqCIOKDV8d8 +PGzw86JeB7yVbt+oxt75Ne9+/pGFSMGGEScBaAFno9qxAXX0IFQNOjGs03z9O3Y6xOa+BXb7we4s Hy28VF4HJJ11mOKIr66jXvDIMxANU4PCSInQWzWGeCl+ARpCuYbGkNUWrbaFaqVk6WgyOVgZO+dAF Mu55ACzrIRNhUEwNx/uJ4gEnnqY/haS0xmSYSPKg1KsXVkbK+l+u6je96aCevH/Qs5CeX19nYxjpL BbNVNG2Q==; Received: from omta034.useast.a.cloudfilter.net ([44.202.169.33]) by casper.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1shWOU-0000000BsTG-2bIW for linux-arm-kernel@lists.infradead.org; Fri, 23 Aug 2024 15:40:10 +0000 Received: from eig-obgw-6010a.ext.cloudfilter.net ([10.0.30.248]) by cmsmtp with ESMTPS id hTtcsoerU1zuHhWKZsUFpk; Fri, 23 Aug 2024 15:36:03 +0000 Received: from md-in-79.webhostbox.net ([43.225.55.182]) by cmsmtp with ESMTPS id hWKVsZh442OIhhWKXsd2pb; Fri, 23 Aug 2024 15:36:02 +0000 X-Authority-Analysis: v=2.4 cv=GfgRnxXL c=1 sm=1 tr=0 ts=66c8ac62 a=LfuyaZh/8e9VOkaVZk0aRw==:117 a=kofhyyBXuK/oEhdxNjf66Q==:17 a=yoJbH4e0A30A:10 a=vU9dKmh3AAAA:8 a=I_wu4Jv3biSIBr8osoMA:9 a=rsP06fVo5MYu2ilr0aT5:22 a=ZCPYImcxYIQFgLOT52_G:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=linumiz.com ; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=XUqDjCWuXrk416VODHC6oHQySkJkEmuyRMAeXe+uFJk=; b=MqTBJDAigMEYcumq1+EuCeAJwp aZCcF0lz7jeBQlezW02Jgz/gBPddHGdExIttUSt8FTqaHbzAogi22yZyxNChzMPYMCE/NXYrX87mL l+6gCvdt7/LY6pYZaSSnzsZE85x1yT1RnNfAR1WXC99gHeqOz7nQlr+739rDdEAHgq0s630qZMr97 n9dIegSesBwgwb0csjx7IuiN7kJ9eavBOpiaUJwh1Du7Ib1B5ldDAAnvRWU/iedRuFs7n2kbPf3iz jw/hRR0Lt1v1PV8wH0IBoGzQA00Vmbi3CR4TJSEBbl8fVvsDQ54CBo0OcWa/HBI3hYlgM2MUvkMm6 UzWBReyA==; Received: from [122.165.245.213] (port=53684 helo=localhost.localdomain) by md-in-79.webhostbox.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1shWKU-000GB4-1Z; Fri, 23 Aug 2024 21:05:58 +0530 From: Karthikeyan Krishnasamy To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, heiko@sntech.de, alexandre.belloni@bootlin.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, Karthikeyan Krishnasamy Subject: [PATCH 8/8] ARM: dts: rockchip: Add Relfor Saib board Date: Fri, 23 Aug 2024 21:05:28 +0530 Message-Id: <20240823153528.3863993-9-karthikeyan@linumiz.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240823153528.3863993-1-karthikeyan@linumiz.com> References: <20240823153528.3863993-1-karthikeyan@linumiz.com> MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - md-in-79.webhostbox.net X-AntiAbuse: Original Domain - lists.infradead.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - linumiz.com X-BWhitelist: no X-Source-IP: 122.165.245.213 X-Source-L: No X-Exim-ID: 1shWKU-000GB4-1Z X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (localhost.localdomain) [122.165.245.213]:53684 X-Source-Auth: karthikeyan@linumiz.com X-Email-Count: 84 X-Org: HG=dishared_whb_net_legacy;ORG=directi; X-Source-Cap: bGludW1jbWM7aG9zdGdhdG9yO21kLWluLTc5LndlYmhvc3Rib3gubmV0 X-Local-Domain: yes X-CMAE-Envelope: MS4xfAgNfEoC4IHBOmaNelRtSocrpd/+5AtvCgfhuhtwIN8Zf0FZED/X80tDqk75+6JKAwvvosgsIFq78EtB4CNCk2xwwwamCC420QkHd7LJ1EM8M9QFRe6+ 2rBkJmw5pXntFgeYtujYc2dUaOf020WbAEzt/aJqfHpCntlqyMMIahATwU8S2OxLkfJ5By2QgFovCb7/roYHbH/cVBOahn0ZAwK0L9hDigAWx2w9mL0I7cHw X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240823_164006_846442_FB41FBCF X-CRM114-Status: GOOD ( 10.56 ) 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 Saib is an consumer electronics board from Relfor consists of 1GB RAM, 4GB eMMC. Other peripherals: - Bluetooth 4.2 - WiFi 5G/2.5G - IR transmitter/receiver - RTC rv3028 - User leds - Switch Add support for it. Signed-off-by: Karthikeyan Krishnasamy --- arch/arm/boot/dts/rockchip/Makefile | 1 + .../boot/dts/rockchip/rv1109-relfor-saib.dts | 439 ++++++++++++++++++ 2 files changed, 440 insertions(+) create mode 100644 arch/arm/boot/dts/rockchip/rv1109-relfor-saib.dts diff --git a/arch/arm/boot/dts/rockchip/Makefile b/arch/arm/boot/dts/rockchip/Makefile index ab4cd9aab722..716f5540e438 100644 --- a/arch/arm/boot/dts/rockchip/Makefile +++ b/arch/arm/boot/dts/rockchip/Makefile @@ -2,6 +2,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += \ rv1108-elgin-r1.dtb \ rv1108-evb.dtb \ + rv1109-relfor-saib.dtb \ rv1109-sonoff-ihost.dtb \ rv1126-edgeble-neu2-io.dtb \ rv1126-sonoff-ihost.dtb \ diff --git a/arch/arm/boot/dts/rockchip/rv1109-relfor-saib.dts b/arch/arm/boot/dts/rockchip/rv1109-relfor-saib.dts new file mode 100644 index 000000000000..7d7292bad779 --- /dev/null +++ b/arch/arm/boot/dts/rockchip/rv1109-relfor-saib.dts @@ -0,0 +1,439 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2024 Relfor Labs Pvt. Ltd. + */ + + +/dts-v1/; +#include "rv1109.dtsi" +#include +#include + +/ { + model = "Rockchip RV1109 Relfor Saib Board"; + compatible = "relfor,saib", "rockchip,rv1109"; + + vcc5v0_sys: vcc5v0-sys { + compatible = "regulator-fixed"; + regulator-name = "vcc5v0_sys"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + }; + + /* Power sequence 1 */ + vcc_0v8: vcc-0v8 { + compatible = "regulator-fixed"; + regulator-name = "vcc_0v8"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <800000>; + startup-delay-us = <150>; + regulator-max-microvolt = <800000>; + vin-supply = <&vcc5v0_sys>; + }; + + /* Power sequence 2 */ + vdd_npu_vepu: vdd-npu-vepu { + compatible = "pwm-regulator"; + pwms = <&pwm1 0 5000 1>; + regulator-name = "vdd_npu_vepu"; + regulator-min-microvolt = <650000>; + regulator-max-microvolt = <950000>; + regulator-always-on; + regulator-boot-on; + regulator-settling-time-up-us = <18000>; + pwm-supply = <&vcc3v3_sys>; + vin-supply = <&vcc5v0_sys>; + status = "okay"; + }; + + vdd_arm: vdd-arm { + compatible = "pwm-regulator"; + pwms = <&pwm0 0 5000 1>; + regulator-name = "vdd_arm"; + regulator-min-microvolt = <720000>; + regulator-max-microvolt = <1000000>; + regulator-always-on; + regulator-boot-on; + regulator-settling-time-up-us = <18000>; + pwm-supply = <&vcc3v3_sys>; + vin-supply = <&vcc5v0_sys>; + status = "okay"; + }; + + /* Power sequence 3 */ + vcc_1v8: vcc-1v8 { + compatible = "regulator-fixed"; + regulator-name = "vcc_1v8"; + regulator-always-on; + regulator-boot-on; + startup-delay-us = <51000>; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + vin-supply = <&vcc5v0_sys>; + }; + + /* Power sequence 4 */ + vcc_1v2_ddr: vcc-1v2-ddr { + compatible = "regulator-fixed"; + regulator-name = "vcc_1v2_ddr"; + regulator-always-on; + regulator-boot-on; + startup-delay-us = <75000>; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + vin-supply = <&vcc5v0_sys>; + }; + + /* Power sequence 5 */ + vcc3v3_sys: vcc3v3-sys { + status = "okay"; + compatible = "regulator-fixed"; + regulator-name = "vcc3v3_sys"; + regulator-always-on; + regulator-boot-on; + startup-delay-us = <75000>; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + vin-supply = <&vcc5v0_sys>; + }; + + /* LDO 2.5V */ + vcc_2v5_ddr: vcc-2v5-ddr { + compatible = "regulator-fixed"; + regulator-name = "vcc_2v5_ddr"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <2500000>; + regulator-max-microvolt = <2500000>; + vin-supply = <&vcc3v3_sys>; + }; + + /* Power IR transmitter */ + vcc1v8_ir: vcc1v8-ir { + status = "okay"; + compatible = "regulator-fixed"; + regulator-name = "vcc1v8_ir"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + vin-supply = <&vcc5v0_sys>; + }; + + sdio_pwrseq: pwrseq-sdio { + compatible = "mmc-pwrseq-simple"; + clocks = <&rtc0>; + clock-names = "ext_clock"; + pinctrl-names = "default"; + pinctrl-0 = <&wifi_enable_h>; + reset-gpios = <&gpio1 RK_PD0 GPIO_ACTIVE_LOW>; + }; + + ir_receiver: ir-receiver { + compatible = "gpio-ir-receiver"; + gpios = <&gpio3 RK_PB4 GPIO_ACTIVE_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&ir_rx>; + status = "okay"; + }; + + ir_transmitter: ir-transmitter { + compatible = "pwm-ir-tx"; + pwms = <&pwm11 0 10000000 1>; + status = "okay"; + }; + + gpio-keys { + compatible = "gpio-keys"; + + button { + gpios = <&gpio2 RK_PA7 GPIO_ACTIVE_HIGH>; + status = "okay"; + linux,code = ; + label = "GPIO User Switch"; + linux,input-type = <1>; + }; + }; + + led-controller { + compatible = "pwm-leds-multicolor"; + + multi-led { + color = ; + function = LED_FUNCTION_INDICATOR; + max-brightness = <65535>; + + led-0 { + active-low; + color = ; + pwms = <&pwm9 0 50000 0>; + }; + + led-1 { + active-low; + color = ; + pwms = <&pwm6 0 50000 0>; + }; + + led-2 { + active-low; + color = ; + pwms = <&pwm10 0 50000 0>; + }; + }; + }; + + pwm-leds { + compatible = "pwm-leds"; + status = "okay"; + + led-0 { + pwms = <&pwm2 0 50000 0>; + max-brightness = <255>; + linux,default-trigger = "none"; + }; + + led-1 { + pwms = <&pwm8 0 50000 0>; + max-brightness = <0>; + linux,default-trigger = "none"; + }; + + led-2 { + pwms = <&pwm5 0 50000 0>; + max-brightness = <255>; + linux,default-trigger = "none"; + }; + }; + + thermal_sensor1: thermal-sensor1 { + compatible = "generic-adc-thermal"; + status = "okay"; + #thermal-sensor-cells = <0>; + io-channels = <&saradc 1>; + io-channel-names = "sensor-channel"; + temperature-lookup-table = <(-40000) 826 + 85000 609>; + }; + + thermal_sensor2: thermal-sensor2 { + compatible = "generic-adc-thermal"; + status = "okay"; + #thermal-sensor-cells = <0>; + io-channels = <&saradc 2>; + io-channel-names = "sensor-channel"; + temperature-lookup-table = <(-40000) 826 + 85000 609>; + }; +}; + +&cpu0 { + cpu-supply = <&vdd_arm>; +}; + +&cpu1 { + cpu-supply = <&vdd_arm>; +}; + +&emmc { + bus-width = <8>; + non-removable; + pinctrl-names = "default"; + pinctrl-0 = <&emmc_bus8 &emmc_cmd &emmc_clk>; + rockchip,default-sample-phase = <90>; + vmmc-supply = <&vcc3v3_sys>; + status = "okay"; +}; + +&i2c3 { + status = "okay"; + pinctrl-0 = <&i2c3m2_xfer>; + pinctrl-names = "default"; + + rtc0: rtc@52 { + compatible = "microcrystal,rv3028"; + reg = <0x52>; + #clock-cells = <0>; + interrupt-parent = <&gpio2>; + interrupts = <0 IRQ_TYPE_LEVEL_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&rtc_int>; + }; +}; + +&i2s0 { + /delete-property/ pinctrl-0; + status = "okay"; + rockchip,trcm-sync-rx-only; + pinctrl-names = "default"; + pinctrl-0 = <&i2s0m0_sclk_rx>, + <&i2s0m0_lrck_rx>, + <&i2s0m0_sdi0>; +}; + +&pinctrl { + bluetooth-pins { + bt_reset: bt-reset { + rockchip,pins = + <1 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>; + }; + bt_wake_dev: bt-wake-dev { + rockchip,pins = + <1 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>; + }; + bt_wake_host: bt-wake-host { + rockchip,pins = + <1 RK_PC6 RK_FUNC_GPIO &pcfg_pull_down>; + }; + }; + + buttons { + switch: switch { + rockchip,pins = <2 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; + + ir { + ir_rx: ir-rx { + rockchip,pins = <3 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + + pwm { + pwm0m0_pins_pull_up: pwm0m0-pins-pull-up { + rockchip,pins = + /* pwm0_pin_m0 */ + <0 RK_PB6 3 &pcfg_pull_up>; + }; + pwm1m0_pins_pull_up: pwm1m0-pins-pull-up { + rockchip,pins = + /* pwm1_pin_m0 */ + <0 RK_PB7 3 &pcfg_pull_up>; + }; + }; + + rtc { + rtc_int: rtc-int { + rockchip,pins = <2 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; + + sdio-pwrseq { + wifi_enable_h: wifi-enable-h { + rockchip,pins = <1 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; +}; + +&pmu_io_domains { + status = "okay"; + pmuio0-supply = <&vcc3v3_sys>; + pmuio1-supply = <&vcc3v3_sys>; + vccio4-supply = <&vcc3v3_sys>; + vccio5-supply = <&vcc3v3_sys>; + vccio6-supply = <&vcc3v3_sys>; + vccio7-supply = <&vcc3v3_sys>; +}; + +&pwm0 { + /delete-property/ pinctrl-0; + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&pwm0m0_pins_pull_up>; +}; + +&pwm1 { + /delete-property/ pinctrl-0; + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&pwm1m0_pins_pull_up>; +}; + +&pwm2 { + /delete-property/ pinctrl-0; + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&pwm2m1_pins>; +}; + +&pwm5 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&pwm5m0_pins>; +}; + +&pwm6 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&pwm6m0_pins>; +}; + +&pwm8 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&pwm8m1_pins>; +}; + +&pwm9 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&pwm9m1_pins>; +}; + +&pwm10 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&pwm10m1_pins>; +}; + +&pwm11 { + /delete-property/ pinctrl-0; + status = "okay"; + pinctrl-0 = <&pwm11m1_pins>; + pinctrl-names = "default"; +}; + +&saradc { + status = "okay"; + vref-supply = <&vcc_1v8>; +}; + +&sdio { + bus-width = <4>; + cap-sd-highspeed; + cap-sdio-irq; + max-frequency = <100000000>; + mmc-pwrseq = <&sdio_pwrseq>; + no-mmc; + no-sd; + non-removable; + pinctrl-names = "default"; + pinctrl-0 = <&sdmmc1_clk &sdmmc1_cmd &sdmmc1_bus4>; + sd-uhs-sdr104; + vmmc-supply = <&vcc3v3_sys>; + status = "okay"; +}; + +&uart0 { + pinctrl-names = "default"; + pinctrl-0 = <&uart0_xfer &uart0_ctsn &uart0_rtsn>; + status = "okay"; + + bluetooth { + compatible = "realtek,rtl8822cs-bt"; + device-wake-gpios = <&gpio1 RK_PC5 GPIO_ACTIVE_HIGH>; + enable-gpios = <&gpio1 RK_PC4 GPIO_ACTIVE_HIGH>; + host-wake-gpios = <&gpio1 RK_PC6 GPIO_ACTIVE_HIGH>; + pinctrl-0 = <&bt_reset>, <&bt_wake_dev>, <&bt_wake_host>; + pinctrl-names = "default"; + }; +}; + +&uart2 { + pinctrl-names = "default"; + pinctrl-0 = <&uart2m1_xfer>; + status = "okay"; +};