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: 13334265 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 D9F58C001DE for ; Mon, 31 Jul 2023 10:36:23 +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=umNIjMUslhe2e+patGn4Jq+pXvbfcbFd7ALxUc6HeA8=; b=kTA5ayCtpj6cxM PaTRmEryBnQu/6RTWZT6bmMQo+TbJgNkzRCI3u7Bq0KbsaWsFw7U7PYdiuIfJqgzvfY8BHoSnR0s0 MFie7d/fOwf7eElZOqXnpmFP9Yahcu3etulrhWtZ2JE9mk6hkuzGo8tsf0SMfX5Olj3u68da/aXTh ZsojNU8ETYo0a65hXD8M3b1ytTWlmR8bG6dY0THBQScVMhcAD7QT5wMOXU/vLXDCwUFZDdrYGZ1wj s4MSRxbC6wAUWcbrs/JScZ3n2k52ZFMarBbS/q/7tyxePCIfnUzPjAvS/t3BvqMRQY91IYMuTniUH lYE9bdJpF288rE++DrGg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQFn-00F6cO-2J; Mon, 31 Jul 2023 10:35:55 +0000 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQFk-00F6ZZ-30 for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2023 10:35:54 +0000 Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-686f25d045cso2790015b3a.0 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=AjQypebxtlKQiwaNiTem/dGwfprey6MIu5/X8GVOYRKZJHjDggvQRHOtkZSIhaCX3j YGXO3WCiODHNutVYNkAhXeAdC7y6ATCpZkUXr3JjdFz/REMbMlvpbe7N70u9L6GRxGVq +meUykVPHX+yBLrmuaeccI2jy+bUPmctMge1IXVo/QIbxk8/rNBdpJdoZTncOhQg38kH AFG0gjO0x9/GKZS4lZbtQKfTm7lqrG1oVikzr/1sAITDg2D8WMitrUiIkvIvx5c/90NB bmLLiI6mI2Fvws4/ncMQDxPqyXGAkx3jKXZFL1mBB+XhEnOTjYwhbl4ky4wFQPvjisQE CpQw== X-Gm-Message-State: ABy/qLb4ATw0Lw/KleSbhWoRTE7b0Ns/7mTCNvCZwI4JvrbQZv4W19VZ 7rk4M/zhfKNEkly1XU323gSjOg== 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_970128_B6B888BC X-CRM114-Status: GOOD ( 11.11 ) 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 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: 13334266 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 EDAB9C001DE for ; Mon, 31 Jul 2023 10:36:30 +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=0qwVJzxRCBhI7tu2wL33VtSOk7dE7HLzoucZAL82LY8=; b=Huuel10PzTbsuv kjgTK9I1Fusatubd5WDyGhUG1H9wBXhMk6nKiw/E6ni1gUW7+DFNF35sIXM78U803n7GojpjZXktG ktDJK9OayliXu0KHgkBDih22Bfo2jE/Wm3az3R0JCgIAbKSeTh6kF0jyH9C29BQ50Hj8rrmLYY7xf RnsWOp2FIWG8R++u0ZM+K0FaIvXsLZLL/fSDvdDFSNU15h+5kuKDNt1MS0dfQVuJ1/NQC2vXBShEe e3lSNXnbgIyeMP50LQ4EJRT0hMAuv8QDFObcb5bCSGGRvYLWuYljCDwvVzyyt9+ewVpxD8XkUkjnC a4AmT5vHsjcuosYl/v9A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQFy-00F6mO-0u; Mon, 31 Jul 2023 10:36:06 +0000 Received: from mail-qk1-x734.google.com ([2607:f8b0:4864:20::734]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQFo-00F6cm-35 for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2023 10:35:58 +0000 Received: by mail-qk1-x734.google.com with SMTP id af79cd13be357-76c93466f8eso152047885a.3 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=IAeeq0dJvANqc1hw90UnzjwXlFi8DeEnKQhepVV11CimZw1w+BNhJ0U2YMAnWLqgrU k3DjRZzZRoYTeU1mnjMd/QVFgLPeIGrKrs19QOakRUT7omiMUFxO6LUb6Lv2njKE2shR bqm6SobWV94io78Hn/dtSTvo5fg3Oc5VTwJnvBSXnsPBIjJnIG+hP2k6tenfpU83eepZ 38992Hx5SZFZekw/QRYo+1u93xI0+jvLo5cjZh5c1rtKvnEzE1tO+eOQzSsoeQLinomF zOz39HS9Z2iKKq5tmTbMvuJVakVQUnETvxyYQTuftWAF4RTzL8SZ3tKORTSPkAVdo0um Zy2Q== X-Gm-Message-State: ABy/qLYp6q+MSQ8BDwVGvuNpsRG6GCRBAzF2pbBRK+698dSwWXYdpSz4 dz1kEs7nr4k1GB6GM48S97X3QziQoQ9+Is142giV8w== 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_995023_84B4C2F5 X-CRM114-Status: GOOD ( 12.30 ) 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 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: 13334267 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 724ECC001DE for ; Mon, 31 Jul 2023 10:36:41 +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=5DsFRqxRx3CsJO4EHa7yhb6AxoVlJFM9Vlh2QOwnX2k=; b=C+vXsS13npUjc5 ICITiYMdsegXARvs+5J6wUGZj2UGAjYV5qlP0r8LpQVGbS4epNrOOlzC7edC3pGAlxf8NtUHDYQp7 ea30Y0N0c7+iD3prdW4rpYwppaq+anMPChRyPdEStuXeEsI9VKJPGBFLQrX5uPl0qzwh9dcfg4I3p oQSIs7dxHqImsKGHbRKCLmbyDnVcYkaibBzs+/mkb3yVwOIisUbA6ei8dXf8NZHN0v9yWPObtUUzG hBep2ctIzjYEpIOuHcTqhQN875ZbLrRW1CFF5yloVtrxrXDDWzD8u8y95ZmhrRqE7LF47ktFeOtet H3FsWBcRkL7xwwzYEZ5A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQG8-00F6wn-0y; Mon, 31 Jul 2023 10:36:16 +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 1qQQFs-00F6g2-0v for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2023 10:36:01 +0000 Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-686f0d66652so4177080b3a.2 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=WFxFXhdsdESQO62OpU/zzopr+S8ymHwn913gRzGQvEcxDxa18EBOfrHrRMe/mN1niU J57wDfcb+i79j7EhocyVThbZMRWQYyiUO7Pg3NjelNH9UhNS0tz5Iy4aNIGSln9q91iJ RaUWgSah/HM6FC7/L2joJ8zm/XfvqdXzae9ZW9SF77HlKL6r1O6HoTRXGgZ3ChWL6LTs eaoNnZBaUPSjheSm/IHloV0+H5llOumbm2uxMVkF4xM9kRlUHhn3YEkZk23s1BcmfF5Y 6ewnVM9btzTQH003S/qMGLBhHQjafWJ/qMU0KHy/OVp1E0XJB65cjfaLWugpc8yE0I2H IuZA== X-Gm-Message-State: ABy/qLbzT4yqdFOoFLhxMU7VLMCnfAop6v3FFFzmqwmwGXSht4KONgxu QDEPnU/XtGhxrdvrk1jj3Lubdw== 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_033600_334870_00C36914 X-CRM114-Status: GOOD ( 12.04 ) 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 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: 13334269 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 85677C001E0 for ; Mon, 31 Jul 2023 10:36: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: 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=Nqry6nLmdeW0xvRpiYJpvzJ9iRO24gCk9GtGjvAmFZs=; b=RoejoFIEjVMtoK 42GYIjKr356wS7LwcQbOTcfc37JzEsfk0Fn0ZR/Eg6r1T9qyNomTpzTgzVUeEFaqaK7uYXtXQ0Cpo 6F8Vh63MuzsE66409i7gchCD1+9rvQZOu9gqlnp4ebkNEVmrL2dp5yc4Kjr9EkBGXhL9DGKSIjvXH /Xf0dw+/hvnC9017oFVtzYDvWV+rV+ZgqElnq+YC7e2mr/dTZP7ro1Zg+D13/hn7X+OA9ezj7YjeP c6uAVvH4lqps5pBwBOrUyMt4ToHkgEH2eojrAt+7m711WJsJt2XNxLEKKZpCJ9OhNRqGd52jB5vYg JBgtnaBC9kRZDF3leXVQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQGK-00F79c-1g; Mon, 31 Jul 2023 10:36:28 +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 1qQQFv-00F6jE-25 for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2023 10:36:05 +0000 Received: by mail-pf1-x436.google.com with SMTP id d2e1a72fcca58-686daaa5f1fso2932650b3a.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=YhXmAzGsvLJjhaVwCyv4HHnXhZaBNcSLugJIQQ8wf3c7jyssnxtHTQNeDv0yyemXgR GD0ouq2stmYqjPWnGjR/FON/PDrRAVCX8lN0rTB3aI9eKmdcuzHzt7nd8dqabPPMtDy9 EPYLeN/xPDhDemwtnvYG9GpyGn7bOTZaHrLJS+NEVwCAWiABV/cJCl7mSxjipKsXATGC Z95HuHoXwmG60FzEj7Lo38LceDlRKXZDTLlO3JcBzzOX0uYbwiHRKih/NIui+ogfdZ5D Nl/D5SnIFtVFQChdTIpBQmlPl0SxUUCODyU/iKmQ4A1HcWeQotOEZ6bUTCqjeMrf0NiN FxVA== X-Gm-Message-State: ABy/qLbg/4TpLvp6ofuog7il4Nt9TvgdGUuRjfhB+E9YL9ZSDWX8UrLp RTGceBiC2yyWQpHXutiC9VLulA== 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_686148_EE306CAE X-CRM114-Status: GOOD ( 11.93 ) 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 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: 13334268 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 6D999C001DF for ; Mon, 31 Jul 2023 10:36: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: 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=VvdPVkKazlUNKpyTd3GbKhEPILWIUQjRqQl6UJLvMhU=; b=e5eGIOonHYHlVI ET2/KdZW0j7j6t4enrx0nPMko6BQh1dUAWmu6iZb+leydpwQ86F9OXWaGbsft6av/z2bUH9QyMiX7 6abh+e/QZypCcX9FLsxXWguwqH3HXxhPYQHfkaVvHKEMds9JPVY4MjoIS5exQLFIbA7k+148JkUMe 6Tg0aPFV+stU2eGjVi3WXOOgCLXSO6viJw6WUbsD3NFb0brDEkM5xTKdid4s8MVj2jn2QXkKtXMiw /lpFbnGV0+1xvV7FLDuvbN63/bv3Y7gJ4X/zCBfQeC5djgzPnP4oeipy/8oVJvTeZvR3aBqBBfKiD LIjrjFnuDWLLyN6auYZA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQGL-00F7AL-10; Mon, 31 Jul 2023 10:36:29 +0000 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQFy-00F6mG-2j for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2023 10:36:08 +0000 Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-686efb9ee0cso4315204b3a.3 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=hyUCKw6znVg5njssogfcgL23dkZWLhi80/r8NypFStiLHOIVjV6doWO0zn/iqkSRXl kNB9oYKS3nzrj7u+Jobn3DRSU8Ucr+6+Eo/f+N8K6AnVNc1sCS4hj73xAB9frY55VsOc rcdjtefmHj1IOJGizIO5K9wSe9Uu7BihWY7ibmoD9EmgVQ4iPEPSrdDgu6oT8YBJk8XI 5asWonAmtQOvJx0jh32dUOivRLp6drq0Z/xKS3A3rJFHtKAJ6Q72xffeMH1xHVWRaPKy KEwkUa8vX1o35LYEAjAz4HLLq74D2ozE8umqe/WNF6E0lhmehVkEPZgcovGH5rO2krxo wG8g== X-Gm-Message-State: ABy/qLZqZtet/Bt45oD+13slOWMe0ksxi02rUBqOyBUhwOKTvUzhldsA EYLXCEKOBTutag7ka/Kcd3jbJQ== 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_889824_47FDA7BD X-CRM114-Status: GOOD ( 12.03 ) 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 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: 13334279 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 CB9CCC001DE for ; Mon, 31 Jul 2023 10:37:28 +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=yfk//WzX3DLXzFHo4UAOJdGNBxqt4MpJRm4IsbvPyLg=; b=WBs122MgENtC8l VoctJXScu0k7YlsSeabX/Gnm868V+4csiWLK6FTqKIaxh6Ol7/W1fds5pf9A6JTYvGOGDa8o4D/bS 4XodDlxrUHrQWpeDDHlbktWqjA1w8/5HgiP81kFYrdaJ1GxerjMrQqjolPV3WZ8ljQ3Dl65FMstNw ZLpgpcLAkKDvLzvqbgpYChT2/PlIjEEqQKme92Ba2eYDnXJ9e3KsujvcucIsZh22A8xbuJFHAXpyB x0nnctb6i1CNf+Ud4ccCXs99b6LpbCc100IBNvP2h1uzU8PYu4DP4FKFYIg0Ruvx7FJcnOohz/mYG WKfXxNYxGggxKmBYY0YQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQGq-00F7c6-1k; Mon, 31 Jul 2023 10:37:00 +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 1qQQG1-00F6py-1O for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2023 10:36:10 +0000 Received: by mail-pf1-x436.google.com with SMTP id d2e1a72fcca58-686b91c2744so3049620b3a.0 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=ctcSEQmNhkgcIccSR5KayStHgUYLRGAEHnnirz0xQpD30T8s2MKhvUxEeE/znyYlgM +zEqMPAZxXBPrfJrDgMmmVTP2l/xHiv1NZ6YGbMiXk6mnEonPFPyMqpDJbMP8witQ2tM wm2C/SROzZnNXLtmCO48VAvIPwjWJHhkuo7ZnGXkWRVeSw2yrZdzVyoAvS1yJeqVYBJO WR2dBPcuZGpX6V+Fxn1rZxmUUmYc8HbMQ++cxTsrst6WltmBh6LtfIoDYtR8nZGL3h7H E3/G4Ccsv9mTnD+u9ipiZQVBwldbtUBt29ot3iIAr7mtEKHnB3ldkUDB0M/0Ww7bDUWs D5gw== X-Gm-Message-State: ABy/qLbdGsKLwb68f0IlYtSMMfYjt6+xT5oVRm5PAlmY4aLhOc2sgAoT Wrro7BA1BBBTeDEh8w+tzlKGDA== 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_033609_496040_CA1AE940 X-CRM114-Status: GOOD ( 11.76 ) 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 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: 13334278 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 0C16BC001DE for ; Mon, 31 Jul 2023 10:37:19 +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=+xOGdwdly3hR9ZAJFn84zipQxCwNQ3vV853t0SUbvh4=; b=uYrKF8bBrHrOGV Kas3zqXt7rNyZ/vnVJXxZtzSEe1H6MP/KKhAd2dsq01PECpPPwXLkFPRxBahfjzX08Q4UG73w/RIi 2IdyRqTkbBazhpjWOiR17xFgJbBqO6TKnTktHlIDygGYktuYs2p2jZ7s9C4N9DLhK1un0m/8w4h6X 9Zpae5omoaSWsF1qfzCNj0Ui11ds5IIUe0UcSxyYP9bfPNw49dnKPvS6lCtzUQJq+KshHjYtdxuZ3 6SIpFjAZ6rD1Hl7ybxxcdkfBC1oAj61ZS81ngjJhN3GhJFk4C+KNL4hV8R0Cdz5nEmBsX7O43tZ/a tlA0lxTqriDZqAA2xyjg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQGe-00F7RU-21; Mon, 31 Jul 2023 10:36:48 +0000 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQG5-00F6tB-0q for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2023 10:36:14 +0000 Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-686b879f605so2804932b3a.1 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=kozc0viq+c9Aj6sIcpPWYmd/DhhVf+yR2e02dSeDNp+l2vJjOf2JM91fTnBLUgwwpP CH+8Oeo6xh7XnPsUrflQril8FYxLJ0SwN1Gpphbf3MDguge1s7yQv7xnT7bRjT5ewbI5 CGix04TYRqcN4ga6q5rgrYKZ7G7oPngQsQUguI0YTEetiMCAfUq7VPseiPOZ/3stcNmJ Yr05/Lh0ehizZwFOPT0OZhyjz9AkeS7R+eM3mOqI+PWy237SVti0ekiKE1UdRzzFPtjC ZFO6mmJwUWst98h3nyzGaOomVFbwwPKr3xW8mVXH3eVyXpsTfWZXJMftuJGMBvspfr8L 4IKw== X-Gm-Message-State: ABy/qLbC915VJVdUaj+W28OXM3GK9SUbD+JJVTWTlEhzCl6TrS4QHqSS 46U+TVOAU1VHx8l5pgECY6ATlA== 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_326703_83578AA7 X-CRM114-Status: GOOD ( 11.90 ) 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 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: 13334280 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 92A0BC001E0 for ; Mon, 31 Jul 2023 10:37:29 +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=1ff4XejhN5paPGpK+QNOS8pzzAiEmI1NsupeKo858L0=; b=kS9XpDY8afExer rlD/oFYgY4mg3ZjccGXaQ7921vmZSei8UMmZ5RBld1/hAi+vMyQ7JZ8C4hdrG07Cu26B9L/r3bipp XjNzTQMpmczoTK253Ym1rcT/iXwlp8zlYL2akMthUWIX+4sKOCTSDLAncz5OyjwhJXRrLSHbZb4ED 22FdwGoATraGRjQFMAiYHuo8faQfqr3epkGh8XZhZJ0RZWgfheagKaDSwFhkjGgcqeVXjcOjVw/Fz Db3WCeHkoHj8U6LaBW4B7+QyA6y9JOXYYvj5lyhaMlQ5T1/btCnK27KjqFRmA/eeh4ZKdkORmhNZU HMMDmbn0hwyNCa8lxLjw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQGr-00F7dL-1u; Mon, 31 Jul 2023 10:37:01 +0000 Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQG8-00F6wA-1A for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2023 10:36:18 +0000 Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-686f94328a4so2410277b3a.0 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=C9TDBIeBWWRkMfuff/+LC5YHeDARqXbYmDCkDcoaQBFf9mRWsjpWH9pc6Ku0JJQtcw wCVkWEnOQ5EQclvVcM20zleGbw2LXRqGeJ1hz/4EFy9C9pOtumwglPm8oNDz5jraN/xN eQNOwip0wQN5ZBBf70TN+PTUij+pkKD29cA0ST6BZbf9SLcEBAT/zRqwjFQM3eTVbca2 iCc+SuEkfDu6aha+5c88smAS37Z+vR+NEzX0EeGKwkzDWdG70Q2N9xwwuI4ofmRKJf1a 13xJsQRvu/PrN8T4TA/iBkbXIWw1SuoxC88p41+uayqvWw/dSRRh89sm9ORPQPvGtkVB YW6w== X-Gm-Message-State: ABy/qLbssOVIqGFx1mHX19KC5l9Dsr7qwkoUlXisVsUusq8uS7/rMCbe /ru7qMKlSRulPpb+cRDBwXhvNg== 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_033616_443469_6CF009E7 X-CRM114-Status: GOOD ( 12.25 ) 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 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: 13334282 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 D5E85C001DF for ; Mon, 31 Jul 2023 10:37:29 +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=1go4eIaXCd81bL7tkbMfOQL6BN/vnF4uGmcmW1VZRE4=; b=y8szd7EPzjbX/N srayugS17rAidcVV1kaNYtOtcf2YotJNBl5r4i5zNhFbKQ4q47h3VA5PNOTFMfGNyMhywVtSagCCs rYFXy2vJq7bkuwhGO76Cj0EPK8pZzSgMmL5hVJOgR97cBFVn6R4JvyysUnI5xTk0i3lpLbWW6Xz5f Rs3Qy/jzWlwzd40mXqkB+gKfk6FaxIt445hu1rhU/ybZaPBmGJyUlWC84t8/akNLa1XxWNEmgptQt qyAZSlPirWXBbpjebUfpKRUNK0QFDtP82NIgD0WkhozzNEQ+ZK/uR4nSUvie4uqeJZ8me+H0MrZXp gVBFBckda7pgmkB0aVuQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQGt-00F7eu-0W; Mon, 31 Jul 2023 10:37:03 +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 1qQQGA-00F6zA-29 for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2023 10:36:20 +0000 Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-686efdeabaeso2775152b3a.3 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=D+apxjl/lfOb7yQ9rgWJdB8vwhUlOnC2cuIF/vV38EF/DKPuGm9HHUFY2w6SKfVUZN QrMTPPw7/KnpdnUeYkl4IfF77gxn6U6iwmSGZWAC461v+Gh+N0P1uSEaJOzfxTk9YBxk 2bCwy8tRWSgIJTL3O5NWqJP11fEEVkFk5DQljM7pb1WLVJdb3envV2Sou8UgSKdDNkJJ DQM2FeXs40+R12aq8kEtjUyHS109pItCDlhxDq6yoYF9QIspVUOQywkw8sS5KEQcI3zD m2996S69N9Fl4ZUVIg536aMo/dx+UTYHR50gP6+qAgD/Jn1DlrqDWTO8NRAOCayl/7y6 BDiw== X-Gm-Message-State: ABy/qLYJzqwToapVN3OTyYYnPQJfWzDDPAeqWoZLsZvw0LMqCrbjQjGG tY6O3ACpy0FfjELzcocn8b7jqw== 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_778716_75FE644F X-CRM114-Status: GOOD ( 11.85 ) 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 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: 13334281 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 C4FFCC04A94 for ; Mon, 31 Jul 2023 10:37:30 +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=5vFGRO0z6lN6MXSN7ZV6fxOdo3govOeZpfoZ3j9uTTI=; b=OZugB/1LSU2j+Q +pB3heJJGHyadU9Fnmi4hgNM6+HZdG0mhQDbBZ65AJYIFwVjB7+ym3EBLyFRTXuSbvhN3l1sakKJl yTPCFUP20Ke1HHAoDgRYclCn9zBfmKhgD0+s+utdq997zPnKtk0Hwhik1hFVyfiM7W3t7hSoj41bz l4JT7Kh9bOKkUlFe6I8jF+AVOoIv/NhEBBMaHy5qe/daOV4Oo8UU/D68r0zlFNSs8j0HRjVC/fAfq v29WoG8lk7g9WOb/SP40aEHygCba6k1yx6HYB0ST6nAb1Wv1il5VggzKSON4f4SYpgMz7dYaZJFPN FSHDoOS1l1tTYf6G9jYw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQGu-00F7gG-1E; Mon, 31 Jul 2023 10:37:04 +0000 Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQGE-00F723-0i for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2023 10:36:23 +0000 Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-686c06b806cso2962536b3a.2 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=K2OTMXH+NV9BsLYvhOPis2zLxnbOcJhDgTRA6vWGWlZDXinQJIkHN+EIOaMajXK1Wx niVk6K11zve5CI8Uqs6ejGX9lHbblo6qwWReQfSe+WhuJbhp5wrs2VY2H57T8dozAtv9 4NcWnmocJMgjl7qhtrGNFjuAplMSKWIOkliQ8kfPGmqkjLKZI6R1WRX+rmz3uEnH+ldG ISeX0tcrTtrswQuUbOJdfV1fewVakSJ3NEPn6GpKJeVCgkca2tDJQ1kOCSlzrNwBSAI7 pKMOH76/THrzKecidD0SZaaM4DQn26xYjfBIwCPIhsaMMWmkwUNqmfxspsXR7vOhKYji A2Ng== X-Gm-Message-State: ABy/qLYNKbswopooPC9Isi81Wve3/DhW+uuvxvzPY1hXdyGYN66J5Rag 5bTk4DOkZTCga3AcgP8tgpIWrg== 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_033622_276245_17815492 X-CRM114-Status: GOOD ( 13.37 ) 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 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: 13334284 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 82073C001DE for ; Mon, 31 Jul 2023 10:37:33 +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=ll7p53nJBQnBRvyA44QCVHDbESq9DfytAL4XADvXdU8=; b=GwBk0vafz74T/Q sr5j61N9a7RaJdRDyFcolrzwgpjGiNAvXk1cW1b6iaO0dZzj+6/6ftRVfUotYN0+9lLHscUOCRv3O j3jNBpvFKPdJxPamDHl9cPIKR7D24s6gJJpYQNWJpZeg+QB0C/ycejSj4NIIIgSooXNyeyH+dY2CD Ndi/MafZMN/9lYALwwQLZdanbBncixKNox4vFRIVDjie7B8WTjvODFsLZ0K12MKO0IUgo10Dq86IU 6M8XdENJ+V4PewHp1zw4I7O8aRbY44wot79lUiGUlzXOY3OUhSK8UEJOkcwyzTs+IIBBvRytk61ZR 9vE/OfKusMJDLgMk1Pfg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQGu-00F7go-2r; Mon, 31 Jul 2023 10:37:04 +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 1qQQGG-00F74p-0t for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2023 10:36:25 +0000 Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-686efb9ee0cso4315361b3a.3 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=irb9xGVfeRO4J6P0FOFQyJvRL0cgAN5qV00/EEKdOGZz0xPbuqrPAuquQXFj+SVQgq EebVNgmOM0FciO+xmqaML86sr7wb6ch1h9jKAAb7qSGgmJJJk23uOCS1DqRSUuBYKho/ mZfpVBbyMr/QYD+ztoBCw1Wj+cs3OG+TI9NgaEP5Md0c0YILYnprdw4I93vFCxl1i2sG HSt/RpT/a0vcnJjk3DgbapUMgoY3s8e7l65gFbTzDBD0g+ewRHJkwgCHfr9INvdnQJrp kuUyeLb8u+nZTOUttKsVfq+ASf5zEXvk+qSN7vWqAHNQWdU6KnJDwsQP3cPz60xK+0fO cbTg== X-Gm-Message-State: ABy/qLY9tcFAKlIBoUYKVs1VM9ntBXonHfPAWIHBsnCD7eNnn8QdGLER yB1uuGQU3ExsqKNCYvB+5tERgMRxirOl7edja/imLA== 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_326884_31EF7C6B X-CRM114-Status: GOOD ( 11.47 ) 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 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: 13334283 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 AC84DC04FDF for ; Mon, 31 Jul 2023 10:37:31 +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=O8QcRyUGn63UwHEcoRiyWPCSM2NdGFnbvrvMWEumuLQ=; b=dmjnerPUw6MPXV Bsxq1PZmWBq9+0gVP+SVJtvaPTtNHmXo9u4jITWbN4Zb1hoBcXEweIwepOKMDiiJ38FnQ8Tp15a1J pUtP0mzPM/2ayUErTMsvUxAeQJ/fkNrNKslOnOCXX4bMHWBPuOFj+zcA2A5fS1a3vNeo/dxFd7JGc bj3wy4wTcfao7A/5CsOsfWllP5dtziShI0xZF0BW5ToaG0OHDo8KnE+7RzIMUmIxw43bEx1nqLWJV gwXzZTQaXP2LlRba6F+dTenDYLsW5CqdxTYdHryasmfUHHZI79WE2uN1rmhCo3JDpaVrpAd+jBls8 XtTYanwZNhyDIenX6baA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQGw-00F7iM-2P; Mon, 31 Jul 2023 10:37:06 +0000 Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQGJ-00F77h-0h for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2023 10:36:28 +0000 Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-686f8614ce5so3961515b3a.3 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=Rkp95KbBsDjSaJg0T/ORkaUYDj0XkDL+0TGPFn4rHH9NJfRgbfObddoHzJ8ht72JwM zNqwZgXDJIYNrSRNfqMmFGU56w1oLSKDNuEM4U/OiTDWdiebRRxHpow6zP5P9/B/SK18 KBf5lXQtGDL7BiFqhuifTVTzaO4Ktqctf1e7sFyE7vnz+tRaNPVXBboo6E8ik6ylsco4 9AwA7EQafb7OuiLU5EZYYyxBdVjOvmi2QCNFqmTofVcz6DqPOLmUZEb36UseBB3RvLRL LbD63qze2GaO2ZM1yMD98ht/pNZ8moCa1Q2ymh6ImV40VKWluzuHZa30ulN9RxJg6K7y LKzQ== X-Gm-Message-State: ABy/qLa0xc8+RMk0JTj5QvwzKkBQciOBXzao9G6eHqfxUOJvZ0ECklEO AUjh4RND0CrhC3Vc9rpVujmJ5g== 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_307232_DAB8FF93 X-CRM114-Status: GOOD ( 12.14 ) 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 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: 13334285 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 A8584C001DE for ; Mon, 31 Jul 2023 10:37:36 +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=Bb+IzCvDJxXubnOgeXi0oJsrB4DN9a5Jlj2vzy/Z7w4=; b=YX9RIPf+mJmJ4N AO5Zh1mZvHyMEyGDrQFWcph8eSncMdrztOfE3lBKJ75Q26l/5MpluFC05LoqLLlIgWvDSj+HcauYd qpYl/eVYdbUvpAyZhAlmMDcnpRB2iI8wEV5AhIXggTl8ZqOoMy2vb5bCv2PjRkGx7dJ7eByliEyLz YvR69Y63Q8jYz12wFWx5LC4l0eMYECshAjtSjJlIPZaT57xfJw3V/ufv/rM/QDUJRoOsOja0u+ls2 MWSREBDAuixho/gDWFRtmL8CdhX4+XP67KnVJ9szbb+gbeN7vY/K8+g55laVe7pUBGnNkq8bO/qs1 bwKHnE/RcwpcBm2a/78w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQGy-00F7kA-2s; Mon, 31 Jul 2023 10:37:08 +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 1qQQGL-00F7B7-2v for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2023 10:36:31 +0000 Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-68706b39c4cso2272989b3a.2 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=ktS2r+aWCUzDlhb87A5CYhhL7BwawD8XcBAzebQPYhegYG/d4ugE+qWKhgaggESOMN fl/wtmQFSb30NX4FXcTRaouO9MU7amemhVbO/ztwW66aVu7h8+pvtOsNIARlCAcA1t/w 0t8lEivnsqJ5eGrR/He+/km8fZ97VRY+mI1e3v9MlMYcs6dUMGwqTpi6vxA7fwiujdAF wHY5Z2EZ8lCULJV41JBATMV95+im7o/obl09lCQ8hr2gEZQTJvoR6ijcgLmet9UlHa6S ERmFZbOXTcrHXtBQzHFNYf9tnwXUX6YESFplNHnVyZ4zkQuehRHdxX4ZgCOv0cxq0Mtp uWcA== X-Gm-Message-State: ABy/qLZCg5E1+bqVqQ9+8+mXfptUuWxnmH0KOI3GMpGOztAyA83hyRsA 1BsRt3kRHZHz5LJkznAtanDDWg== 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_978468_D545049E X-CRM114-Status: GOOD ( 13.22 ) 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 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;