From patchwork Mon Jul 31 10:35:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13334258 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 88F9CC001DE for ; Mon, 31 Jul 2023 10:36:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=lgIbXnTq6pZV60omiNTXSwYWmAKKs4Vhw5nPVAEcc6U=; b=dxoHjErmsqMC7T ifpsORvRasFoWeo0wEB03+cjOdPQe/JiCuxlsDRWM/LLUTOc+e84NzIbNf/H8LMF5fPrn/4AKK8cL NpRw56nKDcFewUK78Nkq8e4eeorDEpYalYlvSP7PRJ77P9Lm/8elzowef7LyD+xyR0PjAW9j32zXD ik88Xrbp7R8ChsbwSuELfmXlhxes5vRlggoxzRRWQyIkrz1PV5g8WFshX7GcjNykG3qq8iRGJi0dk qgfeHOzH6BchMT6lM6AQiVe1b0OgkjhDnm3+mdWwAGf4YrFnRFBBBNQoirUeuFjojEBTSOw4SL0Kl 4aDQlPFJB0LBToey7nBg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQFn-00F6bu-0V; Mon, 31 Jul 2023 10:35:55 +0000 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQFk-00F6Za-2C for linux-rockchip@lists.infradead.org; Mon, 31 Jul 2023 10:35:53 +0000 Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-68706d67ed9so2415398b3a.2 for ; Mon, 31 Jul 2023 03:35:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1690799752; x=1691404552; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=j/jFm2EzRpW7YYRmDR1o3UOuJLAvOI+SSUOIxC7DbfY=; b=3Q8MaEX0FCITILh4l23NdZ2/fektqPWl0L0cwzxnKJ8H3Mpn7FgkyUhoVsGe4TKNu0 A2jc3GzdQvpCg+PTgThwmm07h415Db1UHUsew63eeOrNbp6ogVqHPGrVWxAT0KI3QpuU vaK/A7XzHrvKXZzgDwqUk2/JH9OViutmle/jPAV8mssQYJljZ+T4ro7ktlvWfdL5tQip RHd1d3OCpN8JSzPMykmoud6EhfAW9C3hlEAS9v1zpQwTw1MKT8+QVm2Ib091G+7q/1Us M4BWg/g4PPEAjdHsIi3sSli3kl1KOeFJkH02GjuGSpSWQkAfU6Yl4+op+MFP2X7N7HBL GDBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690799752; x=1691404552; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=j/jFm2EzRpW7YYRmDR1o3UOuJLAvOI+SSUOIxC7DbfY=; b=OzY1LxvjOnaKeugLHCBDOeSCQBHtZVjnoEpVIONPORyhvwLpgIi3wn4X8Du2GoKCPR G97tqUsZ5THEjb11QdnjIGhR2MDPLWYFz8+2KgZ9WlR5toJv0y1BZoTXicM/IUfc3dWF HgF7CAcfLddo1JrPxJjev2wgw+N2eXUJ2YfTSoCye6weFzhqDL6czgWmUBkaQgXmhql9 OQBfSU/g1Fo9rp/AVkoCnm2eIm6Uhk6LNAHrFYowIR8xsT7lKWA66fCRvq1/j2vX6a8A VBvmk/1HLcEFCBssHaqY5LRYF7t0RTCrT0MUiWZk+BTLxWBqKnxv6xM3+ysxbmhRB/90 LdKA== X-Gm-Message-State: ABy/qLZFBYqJONIHJCmd2M0NTqgnaGU1/EzA+BrqXsUOxFqsnD3Hq2U0 UohvAk9YCqevm8JpbywPl+6iOw== X-Google-Smtp-Source: APBJJlEASV+m7M7Ne+9wp9+AGK/il4FTsj4zAPmMSVbef7qpRBcvAXj1Ug4zaIDvsKBhTv8lZH4Lvw== X-Received: by 2002:a05:6300:8005:b0:12d:4c17:bb2d with SMTP id an5-20020a056300800500b0012d4c17bb2dmr9331462pzc.26.1690799751926; Mon, 31 Jul 2023 03:35:51 -0700 (PDT) Received: from localhost.localdomain ([49.205.243.15]) by smtp.gmail.com with ESMTPSA id c13-20020aa7880d000000b00640f51801e6sm5906115pfo.159.2023.07.31.03.35.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 03:35:51 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Jagan Teki , linux-pwm@vger.kernel.org, Thierry Reding , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= Subject: [PATCH 01/13] dt-bindings: pwm: rockchip: Document rv1126-pwm Date: Mon, 31 Jul 2023 16:05:06 +0530 Message-Id: <20230731103518.2906147-2-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230731103518.2906147-1-jagan@edgeble.ai> References: <20230731103518.2906147-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230731_033552_721611_825E87C5 X-CRM114-Status: GOOD ( 10.01 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Document pwm compatible for rv1126 which is fallback compatible of rk3328-pwm group. Signed-off-by: Jagan Teki Acked-by: Uwe Kleine-König Acked-by: Conor Dooley --- Cc: linux-pwm@vger.kernel.org Cc: Thierry Reding Cc: "Uwe Kleine-König" Documentation/devicetree/bindings/pwm/pwm-rockchip.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pwm/pwm-rockchip.yaml b/Documentation/devicetree/bindings/pwm/pwm-rockchip.yaml index f2d1dc7e7b3f..65bfb492b3a4 100644 --- a/Documentation/devicetree/bindings/pwm/pwm-rockchip.yaml +++ b/Documentation/devicetree/bindings/pwm/pwm-rockchip.yaml @@ -32,6 +32,7 @@ properties: - rockchip,rk3308-pwm - rockchip,rk3568-pwm - rockchip,rk3588-pwm + - rockchip,rv1126-pwm - const: rockchip,rk3328-pwm reg: From patchwork Mon Jul 31 10:35:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13334257 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 F043CC001DF for ; Mon, 31 Jul 2023 10:36:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=eR5lORJv4BiT6JsbSqQndISjy1hrpYJs0uzTVaC/8wI=; b=dLPVTDiIAw2m6z iN5Uih7+VQmNcQ2rC3CFUJlZBp53MG8fgZvkuoVVcw64DyJHCZ0uHfnvd3xwVBhHuc7QtWopG11xP mxl7bHkXzDGRZ4rm6TZTBlYIrQi8/R9Hsqmx6qA7F+6DXr60jp3M4n3ICp8US7zJG9PC4yN+dYWik xSWQ+k9UXotiRl/0pwzvkn/+zdGowiNhyfkksnWViqhBQSVWAKfMO1fIHo314pdysWkx0zdmy21on xyW2AjThpazRY0UEBbfClrI4z4FGbz0wvif735muVGyaEsmKYOnBVPiRtv3XPtu0OSPDhz0t6NGGC aKCCsmcMXLYKhHO8UlGg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQFr-00F6fs-1P; Mon, 31 Jul 2023 10:35:59 +0000 Received: from mail-qk1-x72a.google.com ([2607:f8b0:4864:20::72a]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQFo-00F6cn-2p for linux-rockchip@lists.infradead.org; Mon, 31 Jul 2023 10:35:58 +0000 Received: by mail-qk1-x72a.google.com with SMTP id af79cd13be357-76af2cb7404so301061985a.0 for ; Mon, 31 Jul 2023 03:35:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1690799755; x=1691404555; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=kzjqWoq9A6qFKTJ1GXcqTxSYUR9XYkOkWwlDCLQJeeg=; b=TE5pDLRXqAXrd8gxwu1wnMyzim+BqTAnGzL5c981RZ/GR5OzgY1N/YRaekNn1tkWhd EdWhE54ucrRUcX7KhRwVdJH5K8snGlMbVewQ51AItXWfVmN9TX4+PoJ2NJRJI2tGOCSO iN6PAGTAtCizHzQiOXPeAt6mwJMRR0Uv0o+s26BojBL2XJGIfyQTXWTNsz31R238fnZJ bb7IsP1nFF43Sor9B6ELrtF01UA9FiqOBaIc1o8yWDyTKUpOFljOLGkxfUzXkRLgdCo6 ND5mOgY/7X7qwoPAMuvIl8xG0y7DVA9NoKgUacKKUq6aoGWhKtjuKz4aYUWqm78W2iEf aRHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690799755; x=1691404555; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kzjqWoq9A6qFKTJ1GXcqTxSYUR9XYkOkWwlDCLQJeeg=; b=QNAc3JWSrILKC04szSlE5eUTM7Q0p8iF7fBsIb2PAch+1Sbwu+9BHsD9HHdqsXVpDr RkJFp7He++K+nDTpAPz1rYxlp8qnUR8D0ayQ+swvXe+k7x83efBPZ3wtyS8whomXbOQi kawNBXvR3sGUrg8P+MZtmw7SD5ESJaDOLdEKiAmKejPIxL3spueLw4dsEmCSV7zx5f23 bPa+Na1UIgZ7x+cOTSnMzq39vpFhlKAN6gDzJPJT1AD/fabe8Zlf0cg7gBbE+rpPMVmA tlgBm/SeNrsvBDBOUL8bJBvyQRGzX10QmfoJorucOqwSSwBSdniHwvMUykwWnsMbd6su KgSg== X-Gm-Message-State: ABy/qLbsKIIr/4/LsVtKWkSLzY7aRJf41rA385BVKMUb80ouROawVlL+ XsxoYwzGRLFhxwEGrucCDs0P7g== X-Google-Smtp-Source: APBJJlFCK+1VmvfRrU67lBkUSNt04LWjIjz37nJvS7SEm/ZsRG1iKpV9vWv53SuU8f5dbbVmHRiouQ== X-Received: by 2002:a05:620a:2909:b0:767:7c08:479e with SMTP id m9-20020a05620a290900b007677c08479emr11881034qkp.53.1690799755488; Mon, 31 Jul 2023 03:35:55 -0700 (PDT) Received: from localhost.localdomain ([49.205.243.15]) by smtp.gmail.com with ESMTPSA id c13-20020aa7880d000000b00640f51801e6sm5906115pfo.159.2023.07.31.03.35.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 03:35:55 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Jagan Teki Subject: [PATCH 02/13] ARM: dts: rockchip: rv1126: Add pwm2m0 pins Date: Mon, 31 Jul 2023 16:05:07 +0530 Message-Id: <20230731103518.2906147-3-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230731103518.2906147-1-jagan@edgeble.ai> References: <20230731103518.2906147-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230731_033556_918148_62D37A4D X-CRM114-Status: GOOD ( 11.21 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Add pwm2m0 pins for Rockchip RV1126 PWM2. Signed-off-by: Jagan Teki --- arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi b/arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi index b77021772781..239a1dd9360f 100644 --- a/arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi +++ b/arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi @@ -69,6 +69,14 @@ i2c0_xfer: i2c0-xfer { <0 RK_PB5 1 &pcfg_pull_none_drv_level_0_smt>; }; }; + pwm2 { + /omit-if-no-ref/ + pwm2m0_pins: pwm2m0-pins { + rockchip,pins = + /* pwm2_pin_m0 */ + <0 RK_PC0 3 &pcfg_pull_none>; + }; + }; rgmii { /omit-if-no-ref/ rgmiim1_pins: rgmiim1-pins { From patchwork Mon Jul 31 10:35:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13334259 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 4D5E2C001DE for ; Mon, 31 Jul 2023 10:36:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pRPqYd+vDBnOrSAkqEaO5hp5YZJneUh72x3s0kv281I=; b=lrIuOl4Qt+7Bw8 W2EuzF2KOxNsd52KdZSBHsrxXOnvNBSVdGpD1AdQzsq1e6Oxk4HPknbqouVK//wFcy/f5h+cQLfPl ihM2rHa/DfTy2w3gKjDOPfV4bH9l3ERa/D8pjSgcE53zC9xwNidH/9clZuDN9GXmBJp6Ug2f02bCQ jWBMdNoyOcCGoh4uE5YThOhCbqFv3QJrqdN3CuHQm/b5tNwgUU5ncdwjGAM0uA7dYD2FNAiWTvVQ8 0KmFYG4rLW/BEKrXBrXiCHI4XtWWCEYEdVLICV4ncxHclK+jzOix2TQ+eudgvzHVUaOyRGiMs5HH5 oB4KsYkR8op+papIiWMQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQFz-00F6oF-2j; Mon, 31 Jul 2023 10:36:07 +0000 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQFr-00F6g0-2L for linux-rockchip@lists.infradead.org; Mon, 31 Jul 2023 10:36:00 +0000 Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-68336d06620so4351364b3a.1 for ; Mon, 31 Jul 2023 03:35:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1690799759; x=1691404559; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+O9dYEGO+3efs918Dk1CzskP1TNbA7Ik4keIJN4wpYU=; b=GiePduPFZZxf0/2j+BJZ8M0wuIYR4ZWGFA7AcOR9HCTO4voUyPO56W+4WFYCJjaoN+ IxobaZZRDZkxONBjmJbx62U5jzSfns8x6T2cKGLswdR/a7matrvTO1JTSxpa9HxrU/E9 +r7RVCp4Q1W2/h4W7V1YGc2MHAo89libGXZVYSExHNE4uy7oRLzEQ2HQ+ButZD1XfyTa gSUsUbl+vcTkYBj5cQnAJXBbJrlkMQHfxfmFxbG+GnJsLOyQGUhI5R8koanw74gh2WEf VKEWMXqKqUdMcIQ89z87YYwHvX/HSHNkhUDO7wbXJHq/Yy2vhVeoD0RX29vzX8aa9nef nxnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690799759; x=1691404559; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+O9dYEGO+3efs918Dk1CzskP1TNbA7Ik4keIJN4wpYU=; b=jebqcCx8GNzaWV9GXD+S4bdR9k0G5OifoKKjo6eRisKqsRPOhLE9cU3enoRNLs9zcU gbiBTus+1IlyhtUh8e+ddggEixBR6tn0Ilb119HpB5zGdZuJfx4OPPhbW6Ke1IO2l8yz jIyE2/fR0QrGZYfOF52p98t7N68bsdemh3Dq67KlPWUVIjRpmT+y7kvQBup0ZKBh7a5h 5k/I1KskLAJRDcWKXBLeNqR1RN+I0FnxHKqmWMVistr8V3QNDtUPfcgivwDKv7KcV/L7 9g7k0KDNquRqhsynVPhuwFUysQqlJ0zxLZzbEPHZa4kavRn83DMo8rhd7XEwhIxhpxMF fqUg== X-Gm-Message-State: ABy/qLZH5nWw0FPgNav27SUT7gYdfXXCrm4aqKLE58uLspEVnryWWFDl dz3lHu9LquDNHvDkCzpowpAVgg== X-Google-Smtp-Source: APBJJlFF1Q475xyZdOQMQKP+0nskvGn40nAkMvD4OPxmTctCjhUxFOpdq6GPn3w8Q2kjBox2LUWo1w== X-Received: by 2002:a05:6a00:c86:b0:682:5a68:9846 with SMTP id a6-20020a056a000c8600b006825a689846mr11581653pfv.16.1690799759234; Mon, 31 Jul 2023 03:35:59 -0700 (PDT) Received: from localhost.localdomain ([49.205.243.15]) by smtp.gmail.com with ESMTPSA id c13-20020aa7880d000000b00640f51801e6sm5906115pfo.159.2023.07.31.03.35.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 03:35:58 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Jagan Teki Subject: [PATCH 03/13] ARM: dts: rockchip: rv1126: Add pwm2 node Date: Mon, 31 Jul 2023 16:05:08 +0530 Message-Id: <20230731103518.2906147-4-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230731103518.2906147-1-jagan@edgeble.ai> References: <20230731103518.2906147-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230731_033559_766004_E2CAA936 X-CRM114-Status: GOOD ( 10.94 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Add PWM2 node for Rockchip RV1126. Signed-off-by: Jagan Teki --- arch/arm/boot/dts/rockchip/rv1126.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/rockchip/rv1126.dtsi b/arch/arm/boot/dts/rockchip/rv1126.dtsi index 1f07d0a4fa73..931a1ffc22e8 100644 --- a/arch/arm/boot/dts/rockchip/rv1126.dtsi +++ b/arch/arm/boot/dts/rockchip/rv1126.dtsi @@ -203,6 +203,17 @@ uart1: serial@ff410000 { status = "disabled"; }; + pwm2: pwm@ff430020 { + compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm"; + reg = <0xff430020 0x10>; + clock-names = "pwm", "pclk"; + clocks = <&pmucru CLK_PWM0>, <&pmucru PCLK_PWM0>; + pinctrl-names = "default"; + pinctrl-0 = <&pwm2m0_pins>; + #pwm-cells = <3>; + status = "disabled"; + }; + pmucru: clock-controller@ff480000 { compatible = "rockchip,rv1126-pmucru"; reg = <0xff480000 0x1000>; From patchwork Mon Jul 31 10:35:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13334260 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 A0355C001E0 for ; Mon, 31 Jul 2023 10:36:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=vJeptD79lB2oKVNDOeesetZ7xZOjr1vqoqn8uWODgY8=; b=bvpq4IxI9rxtQ8 Im+4cbJ0Q5SYL7fgAZ5sJD15lE8lWPq72v2gthAj2BoxjCuBdXqGoY39Egl7YdtJe6DZ++GC+gJPy 9ubq0rP6CXJhcOA3whAeZUx1uH9IUUc1bY0L3hNi6Qgctr5wiwPWB6aNK4nsEYkgs9QYkSkpOaaDg BJgHo+ESeF2Pss1k3oyf6co6B8iF3kzX3D+tvu0hD0k3EjQ4Unq5VCvYAM2j6uspOt7KzCt43kDDZ WUYX0l++B5m4M7/lhUVbqZwzzS/5pRRvKhthm7Bg6veDyXlcGhsVt5DALXRoRNEc6KBkkOUliLHW0 cROOrqrmxdcLM7ULvjiw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQG9-00F6xs-0d; Mon, 31 Jul 2023 10:36:17 +0000 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQFv-00F6jD-0C for linux-rockchip@lists.infradead.org; Mon, 31 Jul 2023 10:36:04 +0000 Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-686daaa5f1fso2932649b3a.3 for ; Mon, 31 Jul 2023 03:36:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1690799762; x=1691404562; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=utxlkfanW7kYrfwCYvBRNcFoo1mhiAs/aD6BqaXTjZU=; b=WqkMwMJmsLp7LYdbWrNPUzjLxNAxrdAGxjHOWr4TvynjuySuEuvtStXX0bVt8e1RJq 6WfKs20SUKgNkZX+dU3Vneyt+iIpn86/biPFwme3stoo1YTdUS0Y6JCFAT6tM6S51iR8 CO0iopDKdiWxMWefdHfsNCXjaLC9sAo+J33Gs9F4ZbzsRkLnP9eO9WyMN8oSVKoQ9/TJ Rsz95mAJ1dCeuo5+BUYPpguzD5ZBkHjKeaopG0710ylLHINaAiIQ16o0nX7/n6YCHsDU VuhDVA70rwgj6/kLrT/qAlylIbPccrF1HllSyqG4pSnVYmLzI/Gj3mAjHNI5xZn+0SGy sfKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690799762; x=1691404562; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=utxlkfanW7kYrfwCYvBRNcFoo1mhiAs/aD6BqaXTjZU=; b=Q2EKlxLTlhIwodEUo7yyUzFz/xLg8ygEf5Kq+YL5bUeOCe/7A+eLXG1YwpT3AV8mNL fS7BndmFl/XV+DBRVj998NGwQLusjWj6Tf7L4MMImsd3OIZOqNIRktpT0jjkPQF1fe8z 0KBT0D7opVokt2A5sxhhjFiD8XTXjndRIUqdHM9anhmEIiQ+luQLXK+hvA8pgOnNBAHL bWEF7C/Tlrw4COEw/4Iw6kViopHmqneI95L/vvw+UFj8iT9nirqzaSPdmXJmcNZGaCsY cxPc5X5qMk5d9+modadlCq+4GU/doAKLwLAOrGKdVoxzx18igzcziZiHjvikARDHOOaM dDNQ== X-Gm-Message-State: ABy/qLZEz97DVUzXFGiSS20mPBMLkMtyBkvEQV0X2j0Sk1cmh3IjQtVu lDXBGSiVLV8ronmjI7Li0OYpKw== X-Google-Smtp-Source: APBJJlEnMlpjzoXVw8bx+Ao7uyDpYsS0oum1LfzVdzWNui/ITpHtpb5INHHdmtbl2ms6zJmXXSwjtg== X-Received: by 2002:a05:6a00:3916:b0:686:f84d:a4ec with SMTP id fh22-20020a056a00391600b00686f84da4ecmr8883915pfb.27.1690799762566; Mon, 31 Jul 2023 03:36:02 -0700 (PDT) Received: from localhost.localdomain ([49.205.243.15]) by smtp.gmail.com with ESMTPSA id c13-20020aa7880d000000b00640f51801e6sm5906115pfo.159.2023.07.31.03.35.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 03:36:02 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Jagan Teki Subject: [PATCH 04/13] ARM: dts: rockchip: rv1126: Add pwm11m0 pins Date: Mon, 31 Jul 2023 16:05:09 +0530 Message-Id: <20230731103518.2906147-5-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230731103518.2906147-1-jagan@edgeble.ai> References: <20230731103518.2906147-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230731_033603_100068_A2916BF4 X-CRM114-Status: GOOD ( 10.83 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Add pwm11m0 pins for Rockchip RV1126 PWM11. Signed-off-by: Jagan Teki --- arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi b/arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi index 239a1dd9360f..891e5fb72056 100644 --- a/arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi +++ b/arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi @@ -77,6 +77,14 @@ pwm2m0_pins: pwm2m0-pins { <0 RK_PC0 3 &pcfg_pull_none>; }; }; + pwm11 { + /omit-if-no-ref/ + pwm11m0_pins: pwm11m0-pins { + rockchip,pins = + /* pwm11_pin_m0 */ + <3 RK_PA7 6 &pcfg_pull_none>; + }; + }; rgmii { /omit-if-no-ref/ rgmiim1_pins: rgmiim1-pins { From patchwork Mon Jul 31 10:35:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13334261 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 7C425C001DE for ; Mon, 31 Jul 2023 10:36:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=N14UOrVty99GJbjLKXyWEEH0JRxXoR5wd6Xz8VQJhBg=; b=1DRPBRNrGE2tLg ennfCuB3LOXbcXgui9TsumY/mI/HvGsXPy8cwfc8i40yu/VaXU2632rubcciRJGwZ6sUXS/UPpRXP UX3csMVJg0HUelrq7EnxGVmgwfgJkBVTmwT7Vx+fJlV4IfNpadxVtQ5pLpmb4FuFgcQsw386CE/S0 xBkS3GBh8o5VdzKI0oHH5RwFBidimB1j/z1x60CXuIRhuFgaU6uTbhoE8wP9PhoEJDW/W1PT8Ubox c4bXfrG+VYRxC+Pu7W/WPov058/oSWLb8xuTT2iYw4nKuZLeHzvmjaDhoSpajkhamDW7riRJARUGr +LFz3kLiWbuR6v3X7yMQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQGM-00F7CZ-2v; Mon, 31 Jul 2023 10:36:30 +0000 Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQFy-00F6mF-2j for linux-rockchip@lists.infradead.org; Mon, 31 Jul 2023 10:36:08 +0000 Received: by mail-pf1-x42f.google.com with SMTP id d2e1a72fcca58-68336d06620so4351433b3a.1 for ; Mon, 31 Jul 2023 03:36:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1690799765; x=1691404565; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=yrIzfE/+T06YP4U9ycEtCcYbxfWBj9va9apqP3C9yKE=; b=hm+TeSbGb0Erqsxs3Q0BY4hXxMD1VYtzsUTT5BwVSqEWzIE84/OpTQrMFGCHReUcQC XBk2QH09nmz1CCxBaalKSminOc7qTi9f7gZLcwDErrxj1eHxYprCajr+z7FeGdL9XFs9 zdW8VhfPJfl2KFpfjqW8AZaVKICYRIPufog4OxpUaHRIX9Mdqg9y/7KhV3F8fYtCcd67 MT6bw1s3Fk3o4+cdYJSSmpgsZvk+f0N23yZmr6HkQmdQT7RjVWTn+JXuVnY6Sl0cgg2Y fwzZ1XM7+ww5ejyRy+kpofF58jbU+yRj8r3O0vg/bvrY3N3TuEgMsIb5mR+mxoklUd5z 6Hqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690799765; x=1691404565; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yrIzfE/+T06YP4U9ycEtCcYbxfWBj9va9apqP3C9yKE=; b=W2jbryAoRoEQ8tYUJMI05HrPN/6B716girOWJvLnbE2r4dOkigaHW7L4kQZUkAhwdo BIbdNLJRqE0gKH9wvfuh2DRRTmpPZpYDj629YTfSJtooNHBTUatuxZu2v5ZC0azyXdj+ oO/bfR5cXqxV5Gj7ItGg3NRjWsKlZ67TgND2CTMZ/efEysRbfoPuzraYupQXkp+U17VJ ZdeuGftjApBzWHRtG/oM5ts/uto0tfauY5uGk8nTy75cSGdAuMxriHgrYi2v/hiqvWjC /N6WSiVmx0be0XP/33l5xvHRtCzSltfPFy9ZjTdjUuBmMPkQ/dvFTDcB8+pG4FAILHaD bJpg== X-Gm-Message-State: ABy/qLblgTVvqvm9SAgnF5qHp5pzuPiy4rI/7wHxvGnCmIIZ1KtTpQgV QOJH5tVZAzIH/Nq1ThHs2FIIGg== X-Google-Smtp-Source: APBJJlF06xRyhUt1idVUt7T/VvOLRcrKNRXCFjz2EjL0+G0yxZGyv+XaT6zyxvMivggGygosC3ewsw== X-Received: by 2002:a05:6a21:7896:b0:138:aa5:51ec with SMTP id bf22-20020a056a21789600b001380aa551ecmr11954504pzc.46.1690799765707; Mon, 31 Jul 2023 03:36:05 -0700 (PDT) Received: from localhost.localdomain ([49.205.243.15]) by smtp.gmail.com with ESMTPSA id c13-20020aa7880d000000b00640f51801e6sm5906115pfo.159.2023.07.31.03.36.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 03:36:05 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Jagan Teki Subject: [PATCH 05/13] ARM: dts: rockchip: rv1126: Add pwm11 node Date: Mon, 31 Jul 2023 16:05:10 +0530 Message-Id: <20230731103518.2906147-6-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230731103518.2906147-1-jagan@edgeble.ai> References: <20230731103518.2906147-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230731_033606_890340_73333E82 X-CRM114-Status: GOOD ( 10.94 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Add pwm11 node for Rockchip RV1126. Signed-off-by: Jagan Teki --- arch/arm/boot/dts/rockchip/rv1126.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/rockchip/rv1126.dtsi b/arch/arm/boot/dts/rockchip/rv1126.dtsi index 931a1ffc22e8..86b560dc3b64 100644 --- a/arch/arm/boot/dts/rockchip/rv1126.dtsi +++ b/arch/arm/boot/dts/rockchip/rv1126.dtsi @@ -243,6 +243,17 @@ dmac: dma-controller@ff4e0000 { clock-names = "apb_pclk"; }; + pwm11: pwm@ff550030 { + compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm"; + reg = <0xff550030 0x10>; + clock-names = "pwm", "pclk"; + clocks = <&cru CLK_PWM2>, <&cru PCLK_PWM2>; + pinctrl-0 = <&pwm11m0_pins>; + pinctrl-names = "default"; + #pwm-cells = <3>; + status = "disabled"; + }; + uart0: serial@ff560000 { compatible = "rockchip,rv1126-uart", "snps,dw-apb-uart"; reg = <0xff560000 0x100>; From patchwork Mon Jul 31 10:35:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13334262 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 D4B37C001DE for ; Mon, 31 Jul 2023 10:36: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: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=LGUoZlgk3F/vQQbahiUx09LInhHTlMA8+ZsthtkMar0=; b=btubaFnzb8po2J +yh851LLCvTuXZShKVCfHk/Z1Xj+RYJURymC5Aa1opB7HQ/R2X6Jb3CPKwsPvRpI8ML6vTVGhWbXJ kmdWxcrDXJJ22QUyUk1h6tp2OXKv40RrrUbv/RA9oWBh75JhMzsOWsCnxrPkJRu/y16rnXj1Ovmu/ z2FGip5cM64IDZuu7dS1D1wr2DbVy2p8H/3tMdYrT3NOdroAUkrS/Ny/NBk3bEhaUQWt+AwskpZps ohhlCStCGJwq6Qhx5teUGOdM2Va9a8m0VAN/YQs5yfsqt+w57rpNSFA4ohX4NPMKNxIblq0KgM9Jx sUEqMHuhFaVkbkH+bZmA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQGV-00F7K6-2G; Mon, 31 Jul 2023 10:36:39 +0000 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQG2-00F6px-0D for linux-rockchip@lists.infradead.org; Mon, 31 Jul 2023 10:36:12 +0000 Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-686fa3fc860so2623960b3a.1 for ; Mon, 31 Jul 2023 03:36:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1690799769; x=1691404569; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=sPRT5kECbC/GYO7wPZNg3h793p47hsYwG18RkdRFC5s=; b=0mZHzneQyOPl4IvidRtx9cb0tl8Am90dF5U/VRSBIInINoctdwgqiwp+sUxbxYA16c 7C9FF9tc3MFhgVI8NdzJuHnHz/EO1A/Y89whDB8GgIrps4l2sT4a58+kueX9ej6IprN+ NjOm+NVQ1EZc+d+q6yPu8a6pPML1OhvpuFEzIRZg9tXxjAOhG6TcrMH8MTtFQi70LxMu QIdsekQKJs0mNes/n3YhPduOb5W85TRD9zlls4jG1DMvJ8qZS9Nx2/QA9H3IlQpxholn 5aHTVmw7OZQfcKN2b5AW3SxiiOQXGOf2BPKStoSG9GujevArX8rLJ/iUzlkyEeQM+fy7 dxnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690799769; x=1691404569; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sPRT5kECbC/GYO7wPZNg3h793p47hsYwG18RkdRFC5s=; b=l599hudYd7KUoafRa5f2SV5bfsSlLy5XsbIyfo1GMMq9g8ZAOfvy6mdFyZsIUYcvRf Bj/QIR+WG5ig2hK6qTKZo7kbHeSim2XwQeNY4Svje50qt3ryPJrjbvMv/uhC6/3/RveU VKtHFJ0NIIGQgGsETHOXUpAwlZzd7hbfV9zRsJWvHdhPRZOvLs1lKk1qJgpmM8zmRruQ DMxJreM3OUj4CU6HD4zTz45FBWfgzPSBh7saa2OSazu914qHMIKcvMTDhwxZnRArFlXQ 9xtJ+lLfCRGPaG+epnVIFRBcllopBAleU5fcNXC3cSEHsfOKGShTTbu5MCtuLd+AFH+1 +h1w== X-Gm-Message-State: ABy/qLYZKseYbsebQYVrPy0uk0CPKXKTi/Onv5FL6bnICYL3BHvpBccA aojBVlx+JVqzsA9r0K2aLQJhIg== X-Google-Smtp-Source: APBJJlEbgSS3pzx245CBih2CuZkilJ9yX1wKWhYaHqSa4Yzn7BPhgI5X++bksUnwET0dxRC/N/9aAQ== X-Received: by 2002:aa7:88cf:0:b0:687:4277:4060 with SMTP id k15-20020aa788cf000000b0068742774060mr1272707pff.25.1690799768924; Mon, 31 Jul 2023 03:36:08 -0700 (PDT) Received: from localhost.localdomain ([49.205.243.15]) by smtp.gmail.com with ESMTPSA id c13-20020aa7880d000000b00640f51801e6sm5906115pfo.159.2023.07.31.03.36.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 03:36:08 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Jagan Teki Subject: [PATCH 06/13] ARM: dts: rockchip: rv1126: Add SFC node Date: Mon, 31 Jul 2023 16:05:11 +0530 Message-Id: <20230731103518.2906147-7-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230731103518.2906147-1-jagan@edgeble.ai> References: <20230731103518.2906147-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230731_033610_108037_C3AD8583 X-CRM114-Status: GOOD ( 10.57 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Add Rockchip SFC controller node for rv1126. Signed-off-by: Jagan Teki --- arch/arm/boot/dts/rockchip/rv1126.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/rockchip/rv1126.dtsi b/arch/arm/boot/dts/rockchip/rv1126.dtsi index 86b560dc3b64..afa5a68f766f 100644 --- a/arch/arm/boot/dts/rockchip/rv1126.dtsi +++ b/arch/arm/boot/dts/rockchip/rv1126.dtsi @@ -441,6 +441,18 @@ sdio: mmc@ffc70000 { status = "disabled"; }; + sfc: spi@ffc90000 { + compatible = "rockchip,sfc"; + reg = <0xffc90000 0x4000>; + interrupts = ; + assigned-clocks = <&cru SCLK_SFC>; + assigned-clock-rates = <80000000>; + clock-names = "clk_sfc", "hclk_sfc"; + clocks = <&cru SCLK_SFC>, <&cru HCLK_SFC>; + power-domains = <&power RV1126_PD_NVM>; + status = "disabled"; + }; + pinctrl: pinctrl { compatible = "rockchip,rv1126-pinctrl"; rockchip,grf = <&grf>; From patchwork Mon Jul 31 10:35:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13334270 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 BC7E4C001DE for ; Mon, 31 Jul 2023 10:36:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=6rtQ44KFMqaXdIDYjZ2v0rnCqWsnph/PrLYtxxXceqI=; b=OTK6vSHchzcMqQ ZxJwurV+qcgRtdFH3dUG+XA+ni6CvZbeOImPi4KzWoN341YhWsLC+YsZuJEE95gOZ2jmVCyFFahYN JvO8zyp1dcJuSDqb9Ud5ryo8eMCCTaPSbUoTaoldRGBVBa567MUgKCJWrc1t8e/Gt7UGQOYn7Cy6+ /AetOftGWGef9rsKYdcgsHB0O4CVPJkQ5C1FcDl1VY8nTpqz36T/P//sIfExGrSmTe72uI8KY3OW1 DUlSnSHkwqNJBLHOBAdMVRStz0egfUv+ecmRPDvFDwHrmafDZo0LYopY+OaSeWAk2oJE8dv3iNUce j9/6M4GvaER8FcsKOVEQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQGf-00F7SU-25; Mon, 31 Jul 2023 10:36:49 +0000 Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQG5-00F6tC-0q for linux-rockchip@lists.infradead.org; Mon, 31 Jul 2023 10:36:14 +0000 Received: by mail-pf1-x432.google.com with SMTP id d2e1a72fcca58-68706b39c4cso2272834b3a.2 for ; Mon, 31 Jul 2023 03:36:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1690799772; x=1691404572; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Tz+NIHRi+Z0NVdKWkPuFdey0+2xQaYMkUfyJvUE2WBA=; b=qH30M7b2jCWrJjCuCE9F00sg85kY2uJ4b5H5+HKqr2nJfj6zm5fg3D24YKKug0z4qn CfWAdXkpX9oTXMLCZ9vFohEp4/9M5H7KypEOK32z6XWlGnilFeRAOmEb9jRDjfVR6PdG D8ku0STw0VFBgmv6ZJr33+zmaQ9BtZxV4L+5cvxgJgYRIlNlY7ykw57HwT0Cyy/zESUC IwKsuDrGiAQrlw1aw1pE5jd1M4tfx7TxtnUX2Hts+87J2s9sBRa36ex+Diw7PNBwUmp9 /QoJ/lCxGwXdvFRIIx/i8GqjWbaE0rjJ9q3Q0KVcWukfPAXVDFl+tVDZwaCwQN1WUebN SOXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690799772; x=1691404572; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Tz+NIHRi+Z0NVdKWkPuFdey0+2xQaYMkUfyJvUE2WBA=; b=KBNbBQz2INpkGhSNnkKATyo9cBYcG4qhlIpIVLvH9Nv7hW5z4C7UpNiteqEirz6gBk XBwnByiPqtpTMJiDmQDAiaj9cAokr+xzba2QuiY4AilUHA7b0QFfmcLCaFxFEr8/hQ+O fLjutOLdEABHOkqYGBhN1u7EL3r278WCMQywFvE3g532P1UMlxRHJcbwxKaymo4q0Pl8 96j3wjPkCfgNvGzjwqEC3jdLqorPRa+xRafNYwR1RHItR5Zn9t2w+6Ea3iPx/lo/mtwy 4qkwlHWL8EgYYnFwiG7zHIttyIy+PMZ8H5Om17MysPp6R7NTBBzIZEwFe+BvjIhg1CPA 76QQ== X-Gm-Message-State: ABy/qLaheKejtV77X8D81Rin7E7oDy1e5PObLrvq9TWkmWGIHtlD5YGL TAvtWSs29RHT22lyBI02oSHlwA== X-Google-Smtp-Source: APBJJlG3FKSrLCChJUZ0tZFNWgINIabmfbrCJRew9yYdp9Gn++hEWTxc0nvlu31QTWNzH3jJC0We5A== X-Received: by 2002:a05:6a00:1795:b0:668:753a:b150 with SMTP id s21-20020a056a00179500b00668753ab150mr10973842pfg.21.1690799772150; Mon, 31 Jul 2023 03:36:12 -0700 (PDT) Received: from localhost.localdomain ([49.205.243.15]) by smtp.gmail.com with ESMTPSA id c13-20020aa7880d000000b00640f51801e6sm5906115pfo.159.2023.07.31.03.36.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 03:36:11 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Jagan Teki Subject: [PATCH 07/13] ARM: dts: rockchip: rv1126: Add FSPI pins Date: Mon, 31 Jul 2023 16:05:12 +0530 Message-Id: <20230731103518.2906147-8-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230731103518.2906147-1-jagan@edgeble.ai> References: <20230731103518.2906147-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230731_033613_337217_0E2C99F8 X-CRM114-Status: GOOD ( 10.81 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Add fspi pins for rv1126 sfc controller. Signed-off-by: Jagan Teki --- arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi b/arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi index 891e5fb72056..cb31e6bebcec 100644 --- a/arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi +++ b/arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi @@ -59,6 +59,24 @@ emmc_cmd: emmc-cmd { <0 RK_PD5 2 &pcfg_pull_up_drv_level_2>; }; }; + fspi { + /omit-if-no-ref/ + fspi_pins: fspi-pins { + rockchip,pins = + /* fspi_clk */ + <1 RK_PA3 3 &pcfg_pull_down>, + /* fspi_cs0n */ + <0 RK_PD4 3 &pcfg_pull_up>, + /* fspi_d0 */ + <1 RK_PA0 3 &pcfg_pull_up>, + /* fspi_d1 */ + <1 RK_PA1 3 &pcfg_pull_up>, + /* fspi_d2 */ + <0 RK_PD6 3 &pcfg_pull_up>, + /* fspi_d3 */ + <1 RK_PA2 3 &pcfg_pull_up>; + }; + }; i2c0 { /omit-if-no-ref/ i2c0_xfer: i2c0-xfer { From patchwork Mon Jul 31 10:35:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13334272 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 B78ECC001E0 for ; Mon, 31 Jul 2023 10:37: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: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=aJLlDmKbC2jE5y5L49TvAUna6wnVK8fyfnqMGV+rfmQ=; b=UcB2GUR3KPSQa3 8sdaDEZoc+kokYDJ9t7xTm6mISC1AssnaBLfMxUG0uo78TuwDe8g178s/7v/7LPBMlUtVbEfhhr+z 6C2StQN2ARslsmwz0ylTF57WNv1ZSFu9izSD+pdsWwVg2agXPMhQtW6qn616YBrpKHRBkqbYnLnJw e2psBKqTeIfAiMt13iepbVzECYrVspkEAwGjwMd1r9jjV7IZLGFnzdxLpMpWZYI7VHLyUFvLPY4X3 lZWTUbQvM7EHibdF+/KBChBFGf5a/FBAOj1dTcqPi78zucgQH0ToRK7GrKJNNTn/zLElweY/D8c5p PoEyvRO43fuR02HB2Qdw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQGr-00F7cm-0I; Mon, 31 Jul 2023 10:37:01 +0000 Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQG7-00F6w8-2p for linux-rockchip@lists.infradead.org; Mon, 31 Jul 2023 10:36:17 +0000 Received: by mail-pf1-x436.google.com with SMTP id d2e1a72fcca58-686ba29ccb1so2672612b3a.1 for ; Mon, 31 Jul 2023 03:36:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1690799775; x=1691404575; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=D7wWUGs/v+ImTg6la07JUUOGNgXiEd+D9UkVWUeb/xY=; b=aKCmVAh3ZjgncuiUoYMo4S+G9tvS1SVRPoqlucOk43GiLicJREDat/Ep+9AJ8v6JHs oDqiDC86nUczMtooX38L+VpnHw5Ylxtf9PTOnxMi9ea5jt6Iz2274HNFqphpeFFhYtwJ cvphjoYj7btHsvGYeo1ntfuFKmbuotegn9wni04OHV0xoKKP+LD/tb9Si8YM0z3OLxiV m/gHZrWeeBmqGS8iuX/vuzWVDTma5sjTaIV1WAIZhYI73sdHcY6GjN9rNHa6aJqjY5QQ zIlxoLwiUwvSos7e+bA1LQp0goJQeJN5EBltDzchofCbrvx23kNqC9UGf8qAI/ycRHm2 lhZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690799775; x=1691404575; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=D7wWUGs/v+ImTg6la07JUUOGNgXiEd+D9UkVWUeb/xY=; b=lgSBvMXHvc72yyKNXpJMVnFk1KyQZMUdkLauCh1BhJBUK+HfQV9EjPqYz3dverDIqW QSdcg7rVggSreFPUoMuTOGFxTciTXVPVUsEu7ZaFIioVfPGRdk4B9C74A4XVMR00plxU c2E7kTEbhhe0O7gcGJSmFAFuxmSSSjLvinfl9cakYAg3iBkz5ibY+ATtfYdn+mRdnssH oLar05waMlCpcntGuCFn33XolSddrJfGh6/sXazVZgF2pKBcz0Cs9JHDTaTP4XDOi098 iorgAJeIfO7W2q+Ak8pDdlkuY4oDfSx2QZN7ud3qmZMIzKOCUhNTLueNbfAEQFKiIIvr 0Mvw== X-Gm-Message-State: ABy/qLbLyEAP98KdLHkjw8MiaM9H8YpBQQZijETtCdvZtqBoBHnuzloX cekU4n+XTDhAEohaMOhgz1stTw== X-Google-Smtp-Source: APBJJlEhUGkpmPWPU9n4Zc5cFJjFcxCUlPtPbB5awuud41XG4ilIiiuIfZtKy4lJk9bqmCxRsmgvPw== X-Received: by 2002:a05:6a20:a11d:b0:12f:d350:8a12 with SMTP id q29-20020a056a20a11d00b0012fd3508a12mr10679410pzk.21.1690799775321; Mon, 31 Jul 2023 03:36:15 -0700 (PDT) Received: from localhost.localdomain ([49.205.243.15]) by smtp.gmail.com with ESMTPSA id c13-20020aa7880d000000b00640f51801e6sm5906115pfo.159.2023.07.31.03.36.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 03:36:15 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Jagan Teki Subject: [PATCH 08/13] ARM: dts: rockchip: rv1126: Add uart5m2_xfer pins Date: Mon, 31 Jul 2023 16:05:13 +0530 Message-Id: <20230731103518.2906147-9-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230731103518.2906147-1-jagan@edgeble.ai> References: <20230731103518.2906147-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230731_033615_919141_F67586A3 X-CRM114-Status: GOOD ( 11.16 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Add uart5m2_xfer pins for Rockchip RV1126 uart5. Signed-off-by: Jagan Teki --- arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi b/arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi index cb31e6bebcec..bb34b0c9cb4a 100644 --- a/arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi +++ b/arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi @@ -283,5 +283,13 @@ uart5m0_xfer: uart5m0-xfer { /* uart5_tx_m0 */ <3 RK_PA6 4 &pcfg_pull_up>; }; + /omit-if-no-ref/ + uart5m2_xfer: uart5m2-xfer { + rockchip,pins = + /* uart5_rx_m2 */ + <2 RK_PA1 3 &pcfg_pull_up>, + /* uart5_tx_m2 */ + <2 RK_PA0 3 &pcfg_pull_up>; + }; }; }; From patchwork Mon Jul 31 10:35:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13334271 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 6E55AC001DE for ; Mon, 31 Jul 2023 10:37: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: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=GbyoqJWWBE29QxukMd0VwYlxE8FDnN70BtB7nzjNkXA=; b=J2/rFq1Ezp6QK8 rzE9fiW1B5MBDdCJ9RyK6Bm8orf+gcTSxxnB1jyygl2DG9Bf4Z2LicdQ7YPmu4+QOd9GgK9m1Nqvi yBEMpdGo2YHFku2P2xkLN3oplZ05ROo8Li60xvW/wA5ZHW7oqfkl3/8lebBiFmveoTEEoaA5d6sEj y5g17ij70dvHo4Ogaud4e+py1QpA8vZNicMkPvbwnMdP6rmo7CHpUY6kk13wwpFOK6iQtXerucRkn feaPpYk4LG5TxTqv6EhQzdMCsgR4kmZaoFuC3Lc9DPumm2J5Mh44BZKxoCUMCZS6N20nS8pekVPzz BMKIpwPTl90TKcGAldqg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQGs-00F7eG-1m; Mon, 31 Jul 2023 10:37:02 +0000 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQGA-00F6zB-2F for linux-rockchip@lists.infradead.org; Mon, 31 Jul 2023 10:36:20 +0000 Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-686b879f605so2804996b3a.1 for ; Mon, 31 Jul 2023 03:36:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1690799778; x=1691404578; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=DioTasdys/OXmMLgOafZ0sLUPs2ereraMNozwT0ZB+A=; b=O8yw416rDQmRoqq5bQ13jt8/lTK5CR3edCZtMjn7eHFOvdfiK46iwYh+TJKVtitvGj 7U9CucDU21LyFootDCq4vVHu1q7RD4HFtfUGMiMmq3Yp/EzsBTg9hCkvEoZgndTkVHub kuIIB6PnpVCnoiII3Qb1Y3mWYt/0jeZBwoNJvVaOqSPaYTaTSt8R9uuvkAsFAIASR5om t+iCr64CzvjayzM1hBUdZpOh0tkbL4JZO3522SfKy6vUYq8NWnjCECD5Aplrofa6xQfT 7AzS0IeJT2wI5NBP0XHsM1n626j5vEOw4L03SfMWJXk/6EvLRogR2Hrieb7YQLt2tfUJ 8yLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690799778; x=1691404578; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DioTasdys/OXmMLgOafZ0sLUPs2ereraMNozwT0ZB+A=; b=eAcrHKokurQKNnuPkfQoaYMJsM4od13XIO5J3o+uCONxCHocsEl6UPja9SO3uCqwyP C2IHEUG2U/uHIXk/eZnjLXUCr+TZJp7KpnnABeqiFinFSnYND137Ok1Aj4wTzfJeFW6p B2W4BIjCn6au5AEYFZYgjhWeyzMViGxL0OW82QWXzq53M0sXXlZGR7NKVr0hO04e+9jh E/y/8qN7iXEqmmohCG+KPx4hWTFH6iI1YBOCiJPNgtq+qIbTaVvNSUK5WnvzhSASWBMP wmRXapc1+PNlHwz6oz5a+5Jr3gRkd+rzM99nH2wHhvRAc8H6PB4/roq8EY4VNlAbysmQ AAQg== X-Gm-Message-State: ABy/qLYzqdJyJZT5b+YzKNgu8YAIjC+osU5L0/o2aRT9EsMsFYUau9s4 1m4x/BUgEtmVSm39qYbcVwpi/A== X-Google-Smtp-Source: APBJJlE5MlJ+FgJj9kFGmyEg+iQJdeInkOsMRld/t+dbgm9A5XGIKfQ7skcTBPFIppCYfSlJeOJHyA== X-Received: by 2002:a05:6a20:4409:b0:134:9b83:9888 with SMTP id ce9-20020a056a20440900b001349b839888mr11126070pzb.0.1690799778061; Mon, 31 Jul 2023 03:36:18 -0700 (PDT) Received: from localhost.localdomain ([49.205.243.15]) by smtp.gmail.com with ESMTPSA id c13-20020aa7880d000000b00640f51801e6sm5906115pfo.159.2023.07.31.03.36.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 03:36:17 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Jagan Teki Subject: [PATCH 09/13] ARM: dts: rv1126: Enable pwm fan for edgeble-neu2 Date: Mon, 31 Jul 2023 16:05:14 +0530 Message-Id: <20230731103518.2906147-10-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230731103518.2906147-1-jagan@edgeble.ai> References: <20230731103518.2906147-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230731_033618_784228_F7B8FF79 X-CRM114-Status: GOOD ( 10.75 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Edgeble Neu2 IO board Fan connected to PWM11. Enable the pwm fan for it. Signed-off-by: Jagan Teki --- arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2-io.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2-io.dts b/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2-io.dts index 3340fc3f0739..bbc1cd50a1f6 100644 --- a/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2-io.dts +++ b/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2-io.dts @@ -59,6 +59,10 @@ eth_phy_rst: eth-phy-rst { }; }; +&pwm11 { + status = "okay"; +}; + &sdmmc { bus-width = <4>; cap-mmc-highspeed; From patchwork Mon Jul 31 10:35:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13334275 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 5C08EC001DF for ; Mon, 31 Jul 2023 10:37:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=UQpizjphJDmLLIaGcLwz5T5JbaFN1nUtUdpJjvY175E=; b=a674kRhvpWzf/0 lF1zyBxNQ+WNULqfWz7fBhnweGBxjkkVgTlwojgcui5nCWVWy/+Md6AituzoPtfDH5sMVJ6c0HbYO R4/nnG+a7iaHtZPZFHkZk4oLrv4v6Xsw/5krq4vmi4l9kfD59Xz0zxNAyOuxVPvRjUW8LSXYs1O/N PD90UVCSp9yxgvW1yve6Z+l5/ucq443OHfuusxPn8jspzb7YqhIbEem3i+YI28ss+T8xPK+YL85uU 5oL3DSNDKydlWhvfpiSBbda3XJEIzFnwBT7Jj1dHEO+gNCbCBinO/qioiJADNVgXMVEfwp88AwZR1 JbP9O7Oa4a1HdNbfVgtw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQGt-00F7fk-2r; Mon, 31 Jul 2023 10:37:03 +0000 Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQGD-00F725-0p for linux-rockchip@lists.infradead.org; Mon, 31 Jul 2023 10:36:22 +0000 Received: by mail-pf1-x432.google.com with SMTP id d2e1a72fcca58-686fc0d3c92so2542372b3a.0 for ; Mon, 31 Jul 2023 03:36:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1690799781; x=1691404581; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=lr/IRa0Gy3cXDJfJQ3C/islU29JYFF9cRXQo0YY1xm8=; b=yJ4OAXudxqBZFhr/OyaJCKK4Fpkr1LIhOPnfV6fQsYdVGfxWuqpmW9wYrIJxU9WSv0 7cbp4xvw/8YMZrBMS9VUZNTL2Zo5AwcIlW3wnS8JVcvkdBISE/GAYfQ1MH3dalhQM2vT LWOqCprBIxP64zzmdEBECGxw5J9ZT7az3nIAnbSrA++/tV8BrASy+tO9xuMQt/JA1qY8 2itpno2Nmn5RS/20BJt1E8YZwlLhz/B1zs92OoA6FJN5466akXrJWO+09UwQprYeaKHe 3xPHjij63xrtEvBuS/w8enuvScep0c2A4lByrw+n9N9gCl7ccNRCNZfM9IT90n9nQFkR PaNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690799781; x=1691404581; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lr/IRa0Gy3cXDJfJQ3C/islU29JYFF9cRXQo0YY1xm8=; b=X1sZyK9h8MFkOmvDa7kmadCvybwilRPeVVBXXsNOT3Ey5wjFg5FjzA9806Jlje2Bv7 xoGYKMr45kZU746zxkpBWZoRLTNKTrJ0bv/2efihc8vOyJJC3wwZU77eUGh7kKrX4/in wkPNolcvJCorGp8F+4j5b9QOTSJ1qXarA1kRvP8SfKcNRDb+Glt81bYddAQ+49B42syG gJDjrl/Fky00Uf8/HDfeyqMtqZcqNPI10TZFu561Uc2YktkWFSSxXEVUtNgOajGFDr7X y6G2BTwQ/fd+ZBjW8kdYqgRwQqybtBmcLsXPfZGx/ntTzl+P9w1ZLiqd2imhJRtxn4do yH3A== X-Gm-Message-State: ABy/qLZ5I9l6MVpdrY01TJJv/89vnJLNJWKEePwpDWg2HIl2DjmAZI5o OQ+AdAPNEFChGQDHJPTK+CQ9PA== X-Google-Smtp-Source: APBJJlFRxY1Cy24Y086tRrFk21t6zff+ANEgQENQZLIdnmYNVKsJ+PFWvKSp6WojMQ2IOrtA7Rxe0g== X-Received: by 2002:a05:6a00:2296:b0:687:1be4:46e7 with SMTP id f22-20020a056a00229600b006871be446e7mr8645601pfe.9.1690799780782; Mon, 31 Jul 2023 03:36:20 -0700 (PDT) Received: from localhost.localdomain ([49.205.243.15]) by smtp.gmail.com with ESMTPSA id c13-20020aa7880d000000b00640f51801e6sm5906115pfo.159.2023.07.31.03.36.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 03:36:20 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Jagan Teki Subject: [PATCH 10/13] ARM: dts: rv1126: Drop EMMC_RSTN for edgeble-neu2 Date: Mon, 31 Jul 2023 16:05:15 +0530 Message-Id: <20230731103518.2906147-11-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230731103518.2906147-1-jagan@edgeble.ai> References: <20230731103518.2906147-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230731_033621_310984_40F19426 X-CRM114-Status: GOOD ( 12.28 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org EMMC_RSTN GPIO1_A3 is connected to FSPI_CLK in Edgeble Neu2 board. So, drop the same GPIO pin from eMMC. Signed-off-by: Jagan Teki --- arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2.dtsi b/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2.dtsi index cc64ba4be344..e3e5752fd6b7 100644 --- a/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2.dtsi +++ b/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2.dtsi @@ -52,7 +52,7 @@ &emmc { bus-width = <8>; non-removable; pinctrl-names = "default"; - pinctrl-0 = <&emmc_bus8 &emmc_cmd &emmc_clk &emmc_rstnout>; + pinctrl-0 = <&emmc_bus8 &emmc_cmd &emmc_clk>; rockchip,default-sample-phase = <90>; vmmc-supply = <&vcc_3v3>; vqmmc-supply = <&vccio_flash>; From patchwork Mon Jul 31 10:35:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13334273 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 2803BC001DF for ; Mon, 31 Jul 2023 10:37:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FITwl/7fD55hHB71gLC6IeCKxaIv+xNP02dCqEXkuok=; b=vzwBOZbsAZhk/E xA+8XrCVtIIEbmSKcEjZ25CMh+NLDgaBDFMO00tT2pLf4QPZ3v7l0CaM6O8SLgk4YiQ5Zw5/fF+ra cB2sKsgMkDFY34cnFHt2D5Z2pggyOAyvAF06p2l45w1ebjgU7RSnofQUdAPLWUztHUu5NNovDkzb0 7qHM++IUlatfsdq+RMY45Rav355Ym1C5p48qLGqmSCMiV6eaIW3TPlV9qKL1mkNqNnsI/ubcQfcS7 rrTaCgtk7Ug1noLPulN7eghxT46b5FSRRty/jxcc+CJPTZYK7NxLpKPamPCa2yNeVOFPyW77JKhDI Csbh4ma2FvpHm16Ia1fQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQGv-00F7hK-1w; Mon, 31 Jul 2023 10:37:05 +0000 Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQGG-00F74q-0x for linux-rockchip@lists.infradead.org; Mon, 31 Jul 2023 10:36:26 +0000 Received: by mail-pf1-x42f.google.com with SMTP id d2e1a72fcca58-686ba97e4feso4357534b3a.0 for ; Mon, 31 Jul 2023 03:36:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1690799783; x=1691404583; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=CGv1dcNKbS3YC7V4kkMD0PxlW/a+2lGKPQQ7EbzshOA=; b=ZlNPo2MnkBjJ1fcgEvxHQ8xYzc9RdvvpNt38jBBOLOCugZgg4mPyrVMF9QbSmAIfkH o3e656XYZA1keutDtrF2nSX6+r750wFI8fPz8KFD6BOoevEF+CXXMuMxbDJJzgIehZsm sWhBrjgYpdmam3seHMBQVg+tIlBXDHfE51Qhe6SPjcBWV8wwTpKitZl5MoZO8V+QqDCm IdigFulA9X2MjCIS9l19OS/tgAGjuDPcJ1n48rn14XSwVHpoyT/7T6RTmj4G5+AIr5yu +Ztvw7oCoVi6ybgXs+q4qjfOvxCfHCa86IDrVB9tf+aeBhL9RM3foQJRDQPLK4iTo2tz ZV9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690799783; x=1691404583; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CGv1dcNKbS3YC7V4kkMD0PxlW/a+2lGKPQQ7EbzshOA=; b=P5lEjAnSPHdM+sYb63iJoo1PVkvyxU5eUSjiMG8M8Z3XXqrIh9k6VV1ixSh5pYfJHF JO5uzo6V4Zm9KGmB2beeWWf3oUgiNxuCOxNdmPvNfxzEYm6BomIdcc61tQNGktjrm8Jh CvDnhD6DsG0mMUGmQZNzD0fEg1LRS+mKc/UwXsTLKTcRPoBjfjOOjarAY0fC98CqKf9H pLL4UfFSPx5HrkTdzE+W64bJutnHiF/iPesKgrON2EeilZ7KmMEBjCK9z8CSCBbpVI/l yU53PSXZkVV7eGuEPkFAGB81OxCxGTh6rIYmIekDuNYAv65gTdUs4JdIuJWAZgIiGxuK m/ng== X-Gm-Message-State: ABy/qLauehdUNYe+oCRd/Z1v0/Pni04FT/vrHmzVpVhUPgJwW1htSJI8 xPahs1p4KHEcyxXSIcaK6WQ6GQ== X-Google-Smtp-Source: APBJJlGlw9ezW8FYGzLUTXIHL6JOHakL4mSK2TtrDVsybBfwL4KRI/X2LLCB4mLm0IfcH530uyBqdw== X-Received: by 2002:a05:6a00:23cf:b0:63a:ea82:b7b7 with SMTP id g15-20020a056a0023cf00b0063aea82b7b7mr12943743pfc.28.1690799783728; Mon, 31 Jul 2023 03:36:23 -0700 (PDT) Received: from localhost.localdomain ([49.205.243.15]) by smtp.gmail.com with ESMTPSA id c13-20020aa7880d000000b00640f51801e6sm5906115pfo.159.2023.07.31.03.36.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 03:36:23 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Stephen Chen , Jagan Teki Subject: [PATCH 11/13] ARM: dts: rv1126: Enable SFC for edgeble-neu2 Date: Mon, 31 Jul 2023 16:05:16 +0530 Message-Id: <20230731103518.2906147-12-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230731103518.2906147-1-jagan@edgeble.ai> References: <20230731103518.2906147-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230731_033624_348399_80173DDA X-CRM114-Status: GOOD ( 10.37 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org From: Stephen Chen Enable on module SPI Flash present in Edgeble Neu2. Tested-by: Jagan Teki Signed-off-by: Stephen Chen --- .../boot/dts/rockchip/rv1126-edgeble-neu2.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2.dtsi b/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2.dtsi index e3e5752fd6b7..6bbaf6da6545 100644 --- a/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2.dtsi +++ b/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2.dtsi @@ -301,6 +301,22 @@ &saradc { status = "okay"; }; +&sfc { + pinctrl-names = "default"; + pinctrl-0 = <&fspi_pins>; + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <50000000>; + spi-rx-bus-width = <4>; + spi-tx-bus-width = <1>; + }; +}; + &sdio { bus-width = <4>; cap-sd-highspeed; From patchwork Mon Jul 31 10:35:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13334274 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 59313C001DE for ; Mon, 31 Jul 2023 10:37:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Lv3medWqgx2ynaQ3vWnGaqT1hfA+ch83gebTpf+qdOs=; b=qIdX6wSbXJ3lxK ITk+nWneOuUwE7WoYgH+Uu+pycUXkkopTfGRCTTRd12pW39n+zfhXaBSJAlc8b8YcLUvoBV6MDoIQ C6Bzd7PYDR0aLk5YYi4Hj1IV1iX+NEW/HGigt38331u97RnUHk8txCyudAQuI9aug2xczU9ceFUul 53rN5powEw34Rj1AprH9NZWGHXABUk/YqE0J0CLTvV0vI46ug+ZtRaQSDbfk961wIg35cY0v1dkPl rVggr9OPnP0Vn71+NH7KOzlXKRIvCqs/VNDBP15HfhyCp9P4LpNerOp9kh1UVDvpIACVSX1NhQ/7x +aJ0Id2LtiV7BZy3lueA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQGw-00F7hn-0D; Mon, 31 Jul 2023 10:37:06 +0000 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQGJ-00F77g-0h for linux-rockchip@lists.infradead.org; Mon, 31 Jul 2023 10:36:28 +0000 Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-686f38692b3so4114526b3a.2 for ; Mon, 31 Jul 2023 03:36:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1690799786; x=1691404586; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=BbDc3vFd9mDjJk+G0DxzOOHRpawNqHj3WeQNjvGFd14=; b=qK1nZSkoxT+iouFJXd6HVWIhueUqHCGIpFkAd3uUwljYkGFVG1Fb4zW50qPIRXdexA yuJ9vOGnbTmQl3qA8vKc6lqou9ufPaz/QKMRvp1IlWCO5Dte3sn0Zfh328r0hGOJ7eND 1M7+AQCgaNKJXq7oxgrAbyWjBSOQytgZzsa8BLdhinfQX88DRv74uk8Tg1pUYgMvD0lK jzCzFZFsoRRy8xbTR8AnZM0ivTH9UIiyEMvrd0OccHM/+yG+Qyakg+Rc689uZnM5MiFt ak1PupLVUGOVSd/Y/kVP8lOVdfqsdWDZYuBGT/ieDP4DfNvkNWIFOT5f/FwY9ZiKr1Pa x3pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690799786; x=1691404586; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BbDc3vFd9mDjJk+G0DxzOOHRpawNqHj3WeQNjvGFd14=; b=HDWp6c6/tz8ygzrgmSShUfJFJ4RAzG9nEF95SEVHsz4pHw36vuDhgw0SL/Dllls9bF MCI2gwIy5faKk1IqnT/hWcvN9Bj4cm6H+Hoho2w0u2d7Sg0Kk+gm7/lhnSnWlLBbMjo2 POUAkcYpyNdiiosB3Wn8YK8fwsXVDmEXpZoElFGmms4OKyXsJiWkphPOLjNf40OARQKG X7xaAYvzIQdFHmKna1ZFE9km2Qxyxj49ptzPrUbV23vRpzf8kur/sUgHJ9zG/CVAfDbF eKPFlw2G35avaz7vO4HcuuaTRGv93tJl1ctB4cP1IkEvE2gRgxc2UfRe4MfIB9h9d3Le yKwQ== X-Gm-Message-State: ABy/qLYDANyizfRNMqBLM6g8soba0dgVCsd6paAWGKARgAS08oX79WEl aJXZ1hjfLPiKXWqGzfpSUZZ3IA== X-Google-Smtp-Source: APBJJlG2jqcU1efaCPDs9Obe3awP6I8g3DMsPLnl96Ttp+090wFN2IHHAAGXatPJkM/yvavSs8a3bA== X-Received: by 2002:a05:6a20:8e24:b0:134:76f6:e9e2 with SMTP id y36-20020a056a208e2400b0013476f6e9e2mr12100972pzj.58.1690799786682; Mon, 31 Jul 2023 03:36:26 -0700 (PDT) Received: from localhost.localdomain ([49.205.243.15]) by smtp.gmail.com with ESMTPSA id c13-20020aa7880d000000b00640f51801e6sm5906115pfo.159.2023.07.31.03.36.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 03:36:26 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Jagan Teki Subject: [PATCH 12/13] ARM: dts: rv1126: Add 3V3_SYS regulator for edgeble-neu2 Date: Mon, 31 Jul 2023 16:05:17 +0530 Message-Id: <20230731103518.2906147-13-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230731103518.2906147-1-jagan@edgeble.ai> References: <20230731103518.2906147-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230731_033627_272534_9BBB7886 X-CRM114-Status: GOOD ( 11.04 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Edgeble Neu2 IO board has 3V3_SYS regulator to power Audio, RS485, and 4G Module. Add regulator for it. Signed-off-by: Jagan Teki --- arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2-io.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2-io.dts b/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2-io.dts index bbc1cd50a1f6..1c6a6a134131 100644 --- a/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2-io.dts +++ b/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2-io.dts @@ -20,6 +20,16 @@ aliases { chosen { stdout-path = "serial2:1500000n8"; }; + + v3v3_sys: v3v3-sys-regulator { + compatible = "regulator-fixed"; + regulator-name = "v3v3_sys"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + vin-supply = <&vcc5v0_sys>; + }; }; &gmac { From patchwork Mon Jul 31 10:35:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13334276 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 691EEC001DE for ; Mon, 31 Jul 2023 10:37:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=5jbOtbHPI/RdKMBh4VoSmo3MqSf/frbEy8bqhC6CxV4=; b=W2tIQGOm6AoueI CNqpprDhCAAumKXzTDHd1c2vmupk3gq59e18xLu00AegP9OwOvImiRzBohAC2UsAlVT5omyxp7wnY fbGPx+EsdiU5eNSljxP6m//88IS3l8eiYMWeMEa1HtOOk8g4U850S/R84eQAAFK9exRDkA/dnjhIN bOZPKBWCMc9gcwzr9cSrPuDo3cOeDuUhH0MRsEMrpJU0p+uAApgJOx244CrtrqBXSQs29PZuCzIgt PQLVfZeyN/O/0P6R4PKo9WSKQb2VCzGDjnPvBAp73NzUGG9YIzwd9MO7yJ24r0LwCJ0/FThf3S2EQ RzaDC3ZoFfuGzj0V3RnA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQGy-00F7jP-04; Mon, 31 Jul 2023 10:37:08 +0000 Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQGL-00F7B8-2v for linux-rockchip@lists.infradead.org; Mon, 31 Jul 2023 10:36:31 +0000 Received: by mail-pf1-x436.google.com with SMTP id d2e1a72fcca58-686efdeabaeso2775278b3a.3 for ; Mon, 31 Jul 2023 03:36:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1690799789; x=1691404589; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=kGLL2IWqqe53/KrEV7Ij4qiJEApJ+nnC26dOnmKXiOM=; b=S8/UdxoDBrOFE/PBXrrrcrSQKc2Eil0EnQ5kYdRqqtA/2Jhx4m8Yodvc+F8A99WcDz 6t76RK4JadDLzwjujBul8WONYooOjX2ZBDekdEXWTjp/ZT7a10ogqOUEWldeEkHs3+pE JPsOx7Qescne273kLgZY1nCuYsLy9J3AsqIW5kUujKJ2vmbb9HuCt52iXiUBzOPXT3LM n9N4zdvoDOwIXI+M4bGbaE2lqB6ipJzt1om+bzmW+ACAFiziue8OvaoawlYnrOfbeYl7 qQF5GuZrcMWw9vSdinWbD8HbJsDchMofDFnYyy1Wy1lchg2dj+RK9beuUpq5dG5c6wDn SOeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690799789; x=1691404589; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kGLL2IWqqe53/KrEV7Ij4qiJEApJ+nnC26dOnmKXiOM=; b=MlIIoW9Tla+ZG3ETI6GQ3QDrprJ9HmS+kUQLj6gbHtMAZgl/GAdrpmCPaQY4S8tF+v DmtBFSKs/n90L3/pkkqMBOHJtzHPr+j0RhOCzNVavSp8SMXTfXjIWNfzUhVzllVWj3aT 5BTvH312nqlaYYjeT3HTYgAxQQYLUHwNS5QTetZwSkJHhfcAQrg/X2r/nlmsdFCKBMJs z0+lIkKGqDafiba+DLF1G3QNWbDnaGTBjVbxHsAfpP+koFjFqw+AEMLTUNiIxLPGcjeX AYBidXgVv+sfUuufOgsBixlDlRUveN5J4rVRUbUERQupdta8e5Yw0r5iZXVHd6KGXssL 79wA== X-Gm-Message-State: ABy/qLZxuVSU7eLn7D4XmUnzIp9+f8Hjwmv2UdQMtK+Gxsk2ePmbK1aG vCU0iEGQVHHx7Zy3KPW5uQav/w== X-Google-Smtp-Source: APBJJlGfDnAALa8etDjbX37DnRE8+0pfLEzEtWWS9Bu6a0vi6OdECzid3nUr0EVj/2G0fgzEobOZ5A== X-Received: by 2002:a05:6a20:c1:b0:12e:98a3:77b7 with SMTP id 1-20020a056a2000c100b0012e98a377b7mr8136555pzh.59.1690799789349; Mon, 31 Jul 2023 03:36:29 -0700 (PDT) Received: from localhost.localdomain ([49.205.243.15]) by smtp.gmail.com with ESMTPSA id c13-20020aa7880d000000b00640f51801e6sm5906115pfo.159.2023.07.31.03.36.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 03:36:29 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Jagan Teki Subject: [PATCH 13/13] ARM: dts: rv1126: Add 12V main supply for edgeble-neu2 Date: Mon, 31 Jul 2023 16:05:18 +0530 Message-Id: <20230731103518.2906147-14-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230731103518.2906147-1-jagan@edgeble.ai> References: <20230731103518.2906147-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230731_033629_974684_C2C5BB2F X-CRM114-Status: GOOD ( 12.13 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org The Main supply volatge for Edgeble Neu2 IO board is 12V DC. Add the 12v supply regulator for it and input to vcc5v0_sys. Since the power regulator is part of IO board circuit, move the regulator in IO dts file. Signed-off-by: Jagan Teki --- .../dts/rockchip/rv1126-edgeble-neu2-io.dts | 19 +++++++++++++++++++ .../dts/rockchip/rv1126-edgeble-neu2.dtsi | 9 --------- 2 files changed, 19 insertions(+), 9 deletions(-) diff --git a/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2-io.dts b/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2-io.dts index 1c6a6a134131..f09be8405964 100644 --- a/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2-io.dts +++ b/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2-io.dts @@ -21,6 +21,25 @@ chosen { stdout-path = "serial2:1500000n8"; }; + vcc12v_dcin: vcc12v-dcin-regulator { + compatible = "regulator-fixed"; + regulator-name = "vcc12v_dcin"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <12000000>; + regulator-max-microvolt = <12000000>; + }; + + vcc5v0_sys: vcc5v0-sys-regulator { + compatible = "regulator-fixed"; + regulator-name = "vcc5v0_sys"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + vin-supply = <&vcc12v_dcin>; + }; + v3v3_sys: v3v3-sys-regulator { compatible = "regulator-fixed"; regulator-name = "v3v3_sys"; diff --git a/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2.dtsi b/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2.dtsi index 6bbaf6da6545..7ea8d7d16f5f 100644 --- a/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2.dtsi +++ b/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2.dtsi @@ -11,15 +11,6 @@ aliases { mmc0 = &emmc; }; - vcc5v0_sys: vcc5v0-sys-regulator { - compatible = "regulator-fixed"; - regulator-name = "vcc5v0_sys"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - }; - vccio_flash: vccio-flash-regulator { compatible = "regulator-fixed"; enable-active-high;