From patchwork Thu Jul 13 14:39:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13312302 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 92B60C001DE for ; Thu, 13 Jul 2023 14:40:04 +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: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:In-Reply-To:References: List-Owner; bh=uSkfC1Vn6VxkyOC6/amYyoumeyjdzhzxSD0Jm85T1LM=; b=JA5SghtQqzwjEI wx+vVV1RONUdgasayC78rMLs11WUDh8Z+PbXnioczq4WjdlAqtP4L+tA2wcWXxcZbdJRF8r2iCQYQ XCmJ801YX6XeNBEC9NTfGUzWuHFNkv0JR/yLR8JQ67XEC6ft+ICQ0xmoHMIqx1qWyZpobV+DsNXu0 5WwEb8v25vPsbZrtcm2eoql5OYR0gqWsvVg6fcfT6XNc7Gl+9xB3tHObhpt3Ylv/G1Jc6V9ZwZ0KD 9tEhGm6kCfdzg1l73JrVFPKThPkxBZwIxE79aU2aEo21g8xPffv4p+w8rVKBaahRwsYZj2QUk4lsy gwsUzq/43T0PUEg4VnXQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qJxU2-003aUX-0c; Thu, 13 Jul 2023 14:39:54 +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 1qJxTy-003aSP-2b for linux-rockchip@lists.infradead.org; Thu, 13 Jul 2023 14:39:52 +0000 Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-67ef5af0ce8so813506b3a.2 for ; Thu, 13 Jul 2023 07:39:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1689259187; x=1691851187; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=+mjy0mS9NqxXX/xSAPkaEBYuaAZOyd6RQ1LTcKYvQi4=; b=Ji0vh+OrzUWrCOAHK6zb05/j3uqPMb1EoKWqW3ENaSqLESZHUusPiYulDVgp8GH5qx zfe4oNtRfOixWrFQZTBdTzxs+c7X6H9nEkDi16wX4rfHEdBNguWNBXfbe8DL8FhKQhIE hcIIsilKb7sZOpq1KNsYs39hgCVqFgpdaUHts/EF7B/wg0iLwsa/OWiuK647WfehNZG1 +FulzRgcNoX5W7J5XEvz060eFxLTCp3G4hjMS9fhSJe6iZIPNTpLipG0aZGruCm3okxG QvAArZO4etx+SmzIHAQVXsEdru58MVYDvrmNF+ODV52aX2O7RgHJvqM1V1cXoNKVsUX4 6KGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689259187; x=1691851187; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+mjy0mS9NqxXX/xSAPkaEBYuaAZOyd6RQ1LTcKYvQi4=; b=fLdkNr4Egb7bH7BHQlYHqJlJCP7C8fJ5KYE27w3qU1SWraaoLUyPLFdenFB3PjE5Hr zT0633cTg3ZhrwVh8F2UoSv1N2cZpUwKN79DfMEBl5P2cb3byoCQvalGZxJmkWrN7i/g l7Jh+v/PusEKaf4uPF2/mkkvTswpOwip1ZQNsEbZRIWlb6RWzr6LgO6Q1qWBF/ciHgLr 2SkFffggx40uolU5eLyhe89dTu2Lo5RCZZ4BIDfLRZkJrzJkZs4H4Kv7ZaLxrRlU1eqF 4kqbwXusPLx5nBT5hvUBOjeBIdjg7m/0fdjcpK5Qxj+7CVtMog7xHQOZP1BzOmxicei6 maQQ== X-Gm-Message-State: ABy/qLbP7L3Xz7watKk54lGgUcmgUPe4x9Zjs9FAGVPZ3/5Mcnnmoa0i I/SKeWpyUVQWQW5QjgvTuP63Gw== X-Google-Smtp-Source: APBJJlH4WpKhfJFp1/CsLRbAC/Pxm5EGb3jbFP3+OjmTfpdW6K5f3VeTJGzmmHdh7rhfgZV/383qNA== X-Received: by 2002:a05:6a00:2e94:b0:654:4a24:d787 with SMTP id fd20-20020a056a002e9400b006544a24d787mr2453205pfb.12.1689259187258; Thu, 13 Jul 2023 07:39:47 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c00a:a208:4984:5087:308e:21ca]) by smtp.gmail.com with ESMTPSA id d18-20020aa78692000000b0067a50223e44sm5565764pfo.74.2023.07.13.07.39.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jul 2023 07:39:46 -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 1/8] arm64: dts: rockchip: Add PMIC for edgeble-neu6b Date: Thu, 13 Jul 2023 20:09:34 +0530 Message-Id: <20230713143941.1756849-1-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230713_073951_030767_5EBA7E5B 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 This adds PMIC support for the Edgeble Neu6B NCM. Signed-off-by: Jagan Teki --- .../dts/rockchip/rk3588-edgeble-neu6b.dtsi | 360 ++++++++++++++++++ 1 file changed, 360 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b.dtsi b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b.dtsi index 4a87ead15b3f..db7656617bdf 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b.dtsi @@ -18,6 +18,42 @@ vcc12v_dcin: vcc12v-dcin-regulator { regulator-min-microvolt = <12000000>; regulator-max-microvolt = <12000000>; }; + + vcc5v0_sys: vcc5v0-sys { + compatible = "regulator-fixed"; + regulator-name = "vcc5v0_sys"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + vin-supply = <&vcc12v_dcin>; + }; + + vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regulator { + compatible = "regulator-fixed"; + regulator-name = "vcc_1v1_nldo_s3"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1100000>; + regulator-max-microvolt = <1100000>; + vin-supply = <&vcc5v0_sys>; + }; +}; + +&cpu_l0 { + cpu-supply = <&vdd_cpu_lit_s0>; +}; + +&cpu_l1 { + cpu-supply = <&vdd_cpu_lit_s0>; +}; + +&cpu_l2 { + cpu-supply = <&vdd_cpu_lit_s0>; +}; + +&cpu_l3 { + cpu-supply = <&vdd_cpu_lit_s0>; }; &sdhci { @@ -29,3 +65,327 @@ &sdhci { mmc-hs400-enhanced-strobe; status = "okay"; }; + +&spi2 { + status = "okay"; + assigned-clocks = <&cru CLK_SPI2>; + assigned-clock-rates = <200000000>; + pinctrl-names = "default"; + pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>; + num-cs = <1>; + + pmic@0 { + compatible = "rockchip,rk806"; + spi-max-frequency = <1000000>; + reg = <0x0>; + + interrupt-parent = <&gpio0>; + interrupts = ; + + pinctrl-names = "default"; + pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>, + <&rk806_dvs2_null>, <&rk806_dvs3_null>; + + vcc1-supply = <&vcc5v0_sys>; + vcc2-supply = <&vcc5v0_sys>; + vcc3-supply = <&vcc5v0_sys>; + vcc4-supply = <&vcc5v0_sys>; + vcc5-supply = <&vcc5v0_sys>; + vcc6-supply = <&vcc5v0_sys>; + vcc7-supply = <&vcc5v0_sys>; + vcc8-supply = <&vcc5v0_sys>; + vcc9-supply = <&vcc5v0_sys>; + vcc10-supply = <&vcc5v0_sys>; + vcc11-supply = <&vcc_2v0_pldo_s3>; + vcc12-supply = <&vcc5v0_sys>; + vcc13-supply = <&vcc_1v1_nldo_s3>; + vcc14-supply = <&vcc_1v1_nldo_s3>; + vcca-supply = <&vcc5v0_sys>; + + gpio-controller; + #gpio-cells = <2>; + + rk806_dvs1_null: dvs1-null-pins { + pins = "gpio_pwrctrl2"; + function = "pin_fun0"; + }; + + rk806_dvs2_null: dvs2-null-pins { + pins = "gpio_pwrctrl2"; + function = "pin_fun0"; + }; + + rk806_dvs3_null: dvs3-null-pins { + pins = "gpio_pwrctrl3"; + function = "pin_fun0"; + }; + + regulators { + vdd_gpu_s0: vdd_gpu_mem_s0: dcdc-reg1 { + regulator-boot-on; + regulator-min-microvolt = <550000>; + regulator-max-microvolt = <950000>; + regulator-ramp-delay = <12500>; + regulator-name = "vdd_gpu_s0"; + regulator-enable-ramp-delay = <400>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vdd_cpu_lit_s0: vdd_cpu_lit_mem_s0: dcdc-reg2 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <550000>; + regulator-max-microvolt = <950000>; + regulator-ramp-delay = <12500>; + regulator-name = "vdd_cpu_lit_s0"; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vdd_log_s0: dcdc-reg3 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <675000>; + regulator-max-microvolt = <750000>; + regulator-ramp-delay = <12500>; + regulator-name = "vdd_log_s0"; + + regulator-state-mem { + regulator-off-in-suspend; + regulator-suspend-microvolt = <750000>; + }; + }; + + vdd_vdenc_s0: vdd_vdenc_mem_s0: dcdc-reg4 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <550000>; + regulator-max-microvolt = <950000>; + regulator-init-microvolt = <750000>; + regulator-ramp-delay = <12500>; + regulator-name = "vdd_vdenc_s0"; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vdd_ddr_s0: dcdc-reg5 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <675000>; + regulator-max-microvolt = <900000>; + regulator-ramp-delay = <12500>; + regulator-name = "vdd_ddr_s0"; + + regulator-state-mem { + regulator-off-in-suspend; + regulator-suspend-microvolt = <850000>; + }; + }; + + vdd2_ddr_s3: dcdc-reg6 { + regulator-always-on; + regulator-boot-on; + regulator-name = "vdd2_ddr_s3"; + + regulator-state-mem { + regulator-on-in-suspend; + }; + }; + + vcc_2v0_pldo_s3: dcdc-reg7 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <2000000>; + regulator-max-microvolt = <2000000>; + regulator-ramp-delay = <12500>; + regulator-name = "vdd_2v0_pldo_s3"; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <2000000>; + }; + }; + + vcc_3v3_s3: dcdc-reg8 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vcc_3v3_s3"; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <3300000>; + }; + }; + + vddq_ddr_s0: dcdc-reg9 { + regulator-always-on; + regulator-boot-on; + regulator-name = "vddq_ddr_s0"; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_1v8_s3: dcdc-reg10 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-name = "vcc_1v8_s3"; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <1800000>; + }; + }; + + avcc_1v8_s0: pldo-reg1 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-name = "avcc_1v8_s0"; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_1v8_s0: pldo-reg2 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-name = "vcc_1v8_s0"; + + regulator-state-mem { + regulator-off-in-suspend; + regulator-suspend-microvolt = <1800000>; + }; + }; + + avdd_1v2_s0: pldo-reg3 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-name = "avdd_1v2_s0"; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_3v3_s0: pldo-reg4 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-ramp-delay = <12500>; + regulator-name = "vcc_3v3_s0"; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vccio_sd_s0: pldo-reg5 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-ramp-delay = <12500>; + regulator-name = "vccio_sd_s0"; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + pldo6_s3: pldo-reg6 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-name = "pldo6_s3"; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <1800000>; + }; + }; + + vdd_0v75_s3: nldo-reg1 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <750000>; + regulator-max-microvolt = <750000>; + regulator-name = "vdd_0v75_s3"; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <750000>; + }; + }; + + vdd_ddr_pll_s0: nldo-reg2 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <850000>; + regulator-max-microvolt = <850000>; + regulator-name = "vdd_ddr_pll_s0"; + + regulator-state-mem { + regulator-off-in-suspend; + regulator-suspend-microvolt = <850000>; + }; + }; + + avdd_0v75_s0: nldo-reg3 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <750000>; + regulator-max-microvolt = <750000>; + regulator-name = "avdd_0v75_s0"; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vdd_0v85_s0: nldo-reg4 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <850000>; + regulator-max-microvolt = <850000>; + regulator-name = "vdd_0v85_s0"; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vdd_0v75_s0: nldo-reg5 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <750000>; + regulator-max-microvolt = <750000>; + regulator-name = "vdd_0v75_s0"; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + }; + }; +}; From patchwork Thu Jul 13 14:39:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13312301 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 8CB73C0015E for ; Thu, 13 Jul 2023 14:40:03 +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=PhLiyGccoeekdvwv+iQqQFof4fnx0yx/3VKxbvjAh1s=; b=aseAjO5RxG1aZz lT9v/J6KpdKGW2jkdRe3GWz9J2F+SAvwErdbfUNI65kbPdZI35QsObmq5nTMglNlov200nGxIhoLo ghGEVe6E9ph28oSED3IFJ9NXkkmNjC9jmizwIvNC5iCJLKEPHA0g7g8goUykXNALlllgQteWzbaVn GKbUXTDU6s3VDocBkevKatjZkSiGtBnLXJlWLy9kT1wyhXbI08Fv5TpFwWCOH7EmjkJ+BPNsDke3m 7dfo1JKMGJzHnzeU+RZ/cknYAXt/kev3SmyPDJJergFwVbtH68iELh0rolxv9OPwBN0N2Ksytwh9X l1y/iMVmR1KRxG/2wUMg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qJxU6-003aWW-2f; Thu, 13 Jul 2023 14:39:58 +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 1qJxU1-003aTA-0J for linux-rockchip@lists.infradead.org; Thu, 13 Jul 2023 14:39:54 +0000 Received: by mail-pf1-x436.google.com with SMTP id d2e1a72fcca58-6687446eaccso816769b3a.3 for ; Thu, 13 Jul 2023 07:39:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1689259190; x=1691851190; 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=44xntmQVuIocvp9s9TbsDCmRl73TYtCTvSM3VlELycA=; b=KT79sBxeert8Qlb1aWZLVC/38nQgjwbe7HVTKUvBPbHE2QfBJBLBoDnDL5+GDId3nJ kA/hrbbQidWUtsN6wVyXo/3/3zm0R4UoaRG7dhIQv2PgezUkprnknCMER4hUkkiQhULZ iP1YylGitYnwrJoJL1iT2cO4OY8y5h3mO10th+stBAty2CeObFEoxEsNCfq1kEtSCL/W iwynbZHYwt/Kq/YFuj0/7KVtBU1lsAJd8+fsyONZ2fr7Vb6uMGrlROvhqpnyhee/5zOJ fA4JUyVBTw6tN2kNwG7GpSL+HqNV1g4YZX7/GSXiFgyF3WaBBBeoZiUy3jmfEdyazj1o zGLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689259190; x=1691851190; 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=44xntmQVuIocvp9s9TbsDCmRl73TYtCTvSM3VlELycA=; b=ekuFP6exCy4Z7mRMqfg5cVWXrbqYaWhIM8R9/lQyEr+sPfC2i4YynWYbmPQNZYfr+h 7Hl3jfiMXNc7RB6ad83ESdVUGUJB/IxLeFsxlq3YXCLCUeE6G75+Gd4/H07BSOo7FftR Z1S2qEDL+pvxwslti5B/2U9lRu4JKbudP3RJ4Od3t7aFzFpej4IGjOE4ITXci6BedWsb Qd4SrAfIbyb0oVDaxGBdJU+LkJA3EtCmzkn8Vp+zkzVQceCXy+O7uKBWI8g6BJa6FhtD Kf30wQ1mxbpv2RINZtRE6lNHy20WW6fXOLM/JCvuUBWF7TX7ivlj/NZyILbJGeYOrxkF zR7Q== X-Gm-Message-State: ABy/qLbrpNsRNsmV5HSi56FpY0BEqXH6VPucYeRliWiNTghDP0Sa4dc0 zvPc0ePxpH4sq0PdblF0XQNwAA== X-Google-Smtp-Source: APBJJlHgQi7IAw3UGaYH8fi8qgIWy+V/PE6O0DiYgylzUsU1VOkGEolDAugg26tqgaJfWlTnwUUKng== X-Received: by 2002:a05:6a00:2e98:b0:662:5146:c761 with SMTP id fd24-20020a056a002e9800b006625146c761mr2330273pfb.17.1689259190279; Thu, 13 Jul 2023 07:39:50 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c00a:a208:4984:5087:308e:21ca]) by smtp.gmail.com with ESMTPSA id d18-20020aa78692000000b0067a50223e44sm5565764pfo.74.2023.07.13.07.39.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jul 2023 07:39:50 -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 2/8] arm64: dts: rockchip: Add microSD card for edgeble-neu6b Date: Thu, 13 Jul 2023 20:09:35 +0530 Message-Id: <20230713143941.1756849-2-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230713143941.1756849-1-jagan@edgeble.ai> References: <20230713143941.1756849-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230713_073953_135168_6890B5FB X-CRM114-Status: GOOD ( 10.38 ) 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 sdmmc support for Edgeble Neu6B NCM IO board. Signed-off-by: Jagan Teki --- .../boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts index e9d5a8bab581..7f9e2c750287 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts @@ -21,6 +21,19 @@ chosen { }; }; +&sdmmc { + no-sdio; + no-mmc; + bus-width = <4>; + cap-mmc-highspeed; + cap-sd-highspeed; + disable-wp; + sd-uhs-sdr104; + vmmc-supply = <&vcc_3v3_s3>; + vqmmc-supply = <&vccio_sd_s0>; + status = "okay"; +}; + &uart2 { pinctrl-0 = <&uart2m0_xfer>; status = "okay"; From patchwork Thu Jul 13 14:39:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13312304 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 49FB9C001E0 for ; Thu, 13 Jul 2023 14:40:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: 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=galoLV54L/VBEziWgIZVEbxylDv4/G77u9mm0Y6a27Q=; b=mTniKjlGk0SghB rm1Cg/mbw4DZGtuElEN043ERnMXErYZ3WnbCojHg+9hrxoWrbY8lTbmp9A0FuvdDBjKiSYk5lGQml Ig3ca0EyapQISDR0S1LA1yM0tK5AyuSY/mzsuH5f9nJfkCDBIRREL+5CHiKKtrsza4rRx/h8GAWKr 1lxVyrcFQB2Mek/oGbK1jENVVj5yc9LDck76YLZwJFcdyKrSL3h24Jj+RgPAX51xDFPV3VtlQK+/+ g0BYQzV0msskPWX8WK3VKwu9Pf5k7uQzqxB1QfH/5/B75Cbo4HQAVTSFj6njaT2ZMa6Xbvu2bGSO1 /UIXolzY/x0AKwlWF6Pg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qJxU7-003aWt-0p; Thu, 13 Jul 2023 14:39:59 +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 1qJxU4-003aUW-0Q for linux-rockchip@lists.infradead.org; Thu, 13 Jul 2023 14:39:57 +0000 Received: by mail-pf1-x42f.google.com with SMTP id d2e1a72fcca58-6689430d803so528337b3a.0 for ; Thu, 13 Jul 2023 07:39:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1689259193; x=1691851193; 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=7zB1XPfhcNMtArl3vuKIcc3WSzGrnVrigx9OQGKNyiw=; b=0P9DSscAeX+uPqfiFSd7MFJE+7fGIgHocGha1bu7Htu/PibTRPvs9ejyWs30Xu4P0b Y3gw6m2vuG3owKyw4f0o+vsf5uY4tKVVmXnsKKbrrZ6vvvbarfmJpBYG/qvbnU0UT0b4 KfYAZpqx3M14d10JPpEz8jjsYeJIYwZ20Adf9bnvYTiTdOpjthd8bw4f/pOzxbzNNF6r jl71izEVFl104mYK5YpiD2SLHo+9FCncm44HAH2/nS5C1WRgVcEG5jm5IxTiT2YDNAzU 4j8A4KLsW0fBa7uiWg+Z0RzXYZYdL4OYMzn/boYrl5UpSVXR8CXrd8wmQjBeGVVH3C91 Bxwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689259193; x=1691851193; 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=7zB1XPfhcNMtArl3vuKIcc3WSzGrnVrigx9OQGKNyiw=; b=e0cCfg0c2/9s9ADvVH/0yKoF/ZqoxDKSaetpqftivZILZzC7E4QnagF2eAHsw/jthx wyQjksFKl2Zd0RFE14QY6dFSH17zmJJX24lr3BY1MiyVv+dAkWtyJhAvSL4abwd9EL3S vLJqTsuKPKPc8tgVU22HB5YA++DfYzpJvtb059PXvP89ZXq0iISgurcPPkpO2sKCf0MH foekU/rJ07gkWsMQCNPgL9Mubkq15dYLa/2slrNJlriIrHJeri/0fabxL6+xe6lE2RTI /Hw8fTzEBaFZWckqhBD5BpBUZwOtklq2eDzTt/7V9Cx+m5zXqfJ77sCN7UQdCW23ZOAS 7Gcg== X-Gm-Message-State: ABy/qLbRcSg04h8lozStXZqDci0TWhXA8KXGvMct+VOOa784AmSEGQ47 UmtpOwWS9tWvt/21odN7NQwxUQ== X-Google-Smtp-Source: APBJJlHHasrwoctMJrPEurc6F42vi24LFPbZDgofhEE1TweUVlUzY/otWUJ5rUuxaRvD+CXflZW8cw== X-Received: by 2002:a05:6300:800a:b0:118:2e5a:efab with SMTP id an10-20020a056300800a00b001182e5aefabmr1166089pzc.4.1689259193164; Thu, 13 Jul 2023 07:39:53 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c00a:a208:4984:5087:308e:21ca]) by smtp.gmail.com with ESMTPSA id d18-20020aa78692000000b0067a50223e44sm5565764pfo.74.2023.07.13.07.39.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jul 2023 07:39:52 -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 3/8] arm64: dts: rockchip: Enable SATA for edgeble-neu6b Date: Thu, 13 Jul 2023 20:09:36 +0530 Message-Id: <20230713143941.1756849-3-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230713143941.1756849-1-jagan@edgeble.ai> References: <20230713143941.1756849-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230713_073956_171638_C987B134 X-CRM114-Status: UNSURE ( 9.43 ) X-CRM114-Notice: Please train this message. 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 SATA support for Edgeble Neu6B NCM IO board. Signed-off-by: Jagan Teki --- arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts index 7f9e2c750287..0b6f32e9b820 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts @@ -21,6 +21,14 @@ chosen { }; }; +&combphy0_ps { + status = "okay"; +}; + +&sata0 { + status = "okay"; +}; + &sdmmc { no-sdio; no-mmc; From patchwork Thu Jul 13 14:39:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13312303 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 DB199C0015E for ; Thu, 13 Jul 2023 14:40: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=SqZvusp1PGSa/33N7jBBXQ/exSzTOOWHQHz4g8eit2o=; b=qfluo1yda5XjtE sIxtw9iUD9XgeCSSQ04Au6G85TVG1dPz26yrFAjYUriM4EKcTQSPK8ePkYjd7+gcocpGZXwlg3OY1 uyagwRvmjTVKnYp4s7Wf3GalDUO0ME9md1jra0+PkSr+g1FGauHhpFsViLp7aCvxGm8oOdoxY539v 6AF1wt5RKU7rG1CvVQpMgwjPvfTPteYrgd5kqvIGQE6od5q70nuH+/dLp2K2BD8cJrt8r7Ko0E12g ZKyRaWYyXIHIBdybhk9rMSyGLTY0yGVq450ncofM1yk3W/yMy5kot67O2b9OS4FlE9K6QRVAVcN/Q /4ygABxGhYAB0RhWFoRw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qJxUC-003aaW-2O; Thu, 13 Jul 2023 14:40:04 +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 1qJxU6-003aVW-30 for linux-rockchip@lists.infradead.org; Thu, 13 Jul 2023 14:40:00 +0000 Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-66872d4a141so529749b3a.1 for ; Thu, 13 Jul 2023 07:39:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1689259196; x=1691851196; 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=657oCXGaEC1qcJW0ADVKblYgk8WH34A8M/Ct3AJE75g=; b=Ccnm6l7dp8BUccBVmo570I2uE1NE/PoAnSeMKRPcz6vMnWStaj7AZ7WUUbn5sMk6X2 rM+HO5CeQoNW9RoshZ8d7x+ZxDzOQUUW15aCzAHH3iadkzTj7TgoWOoOy6glkT8GbgBG SIwsZKb9610mQf2qWouXlKKaFUyCkPay2UMOaYLCKZbsoJw5IXbhim4V458bwqVq4d4t i7aDSz7yBhfq3Z5ZllbjcpmFHqVfajhSPC9MNRnc/UWnGmJ6draCEf1uOlngfjTO1jeD lo4HybjMoA6BLXN6t1e+dNNo/ffoxkB0VSW2nJmdUCpgiYQFOBHaM9pBdy3g+MIG7o1L KKUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689259196; x=1691851196; 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=657oCXGaEC1qcJW0ADVKblYgk8WH34A8M/Ct3AJE75g=; b=MkNL0x+6N8D4wakl3+aS3gMuj+RiH0TYNTPQ2P20PKi5Eai+62TXo+lbZuUgRmZoNY NfXhbqtWpKYKVhcRMC9eXXphiEHwQ70Z86CFcoWxNcArgkJqRLsBHxCDHTk0+G18F8X7 3T1zZ8pLej+tr/98n67ycWPGg6KQdSY8Cun99bLtfFJFg+Sy7WUIMWk3WKH3U19WUap+ WqsIChFdXi6/UWaqWpqFFIkjp8XuG3MPJMmVBGLjelCSOSYCY5Rai4KxWyWQkAYFkAhW yyRCX5im1gz3KAP4f/zeWASsrmNzoY8UMnzV3pBVgwwFCkZk24wgnDgzW7gTLvtFZQ0S kzcg== X-Gm-Message-State: ABy/qLbiJblG2+A0ABAepYZ9tcV3rFG1VC6//IZtkAo6FyKw0KZZd/t2 0SrztwS0bTzRFROWkS+nVINK/rGTmYOzVhcusxKeUg== X-Google-Smtp-Source: APBJJlEv5CMhsWbLWCQQJzBhUkl2wK7p/N1rvYEl07j+cHYOj9/qbBAnaXMwfwDV8/H/wBunxU1s9Q== X-Received: by 2002:a05:6a00:13a0:b0:66f:913a:7c1c with SMTP id t32-20020a056a0013a000b0066f913a7c1cmr1630524pfg.22.1689259196010; Thu, 13 Jul 2023 07:39:56 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c00a:a208:4984:5087:308e:21ca]) by smtp.gmail.com with ESMTPSA id d18-20020aa78692000000b0067a50223e44sm5565764pfo.74.2023.07.13.07.39.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jul 2023 07:39: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 4/8] arm64: defconfig: Enable PHY_ROCKCHIP_NANENG_COMBO_PHY Date: Thu, 13 Jul 2023 20:09:37 +0530 Message-Id: <20230713143941.1756849-4-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230713143941.1756849-1-jagan@edgeble.ai> References: <20230713143941.1756849-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230713_073958_972228_8F7363FD X-CRM114-Status: UNSURE ( 8.10 ) X-CRM114-Notice: Please train this message. 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 Rockchip RK3588 SoC has NaNeng IP PHY block used for PCIe, USB3, SATA and SGMII. Enable Rockchip NaNeng PHY driver. Signed-off-by: Jagan Teki --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 347307eb737f..4be8815c1d51 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -1394,6 +1394,7 @@ CONFIG_PHY_ROCKCHIP_EMMC=y CONFIG_PHY_ROCKCHIP_INNO_HDMI=m CONFIG_PHY_ROCKCHIP_INNO_USB2=y CONFIG_PHY_ROCKCHIP_INNO_DSIDPHY=m +CONFIG_PHY_ROCKCHIP_NANENG_COMBO_PHY=m CONFIG_PHY_ROCKCHIP_PCIE=m CONFIG_PHY_ROCKCHIP_TYPEC=y CONFIG_PHY_SAMSUNG_UFS=y From patchwork Thu Jul 13 14:39:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13312306 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 30937C001DE for ; Thu, 13 Jul 2023 14:40:17 +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=O+ZvKOtldlJL495U0fy82TBW2PTyy7EJn59KwvsIQQ8=; b=cAa+e2TXi4bVww r3SPqkk4auzh7u+vwWTyLtZsqHHA4JDdKP8qo7lSO2DUvwLiEnKX1tcDhbxOuiIIGNkVNt1JBgU4a VlnWBvys0Tjsy2BiCk+1lzPGzD14Mnd56WLSniW4UyjOQXsuzgt1/zuuti+AX1yPlsn6ZYhRVWOHz dCSRLjJAwC7mz3kvWmYWhfxgu3SiNriW0AWf5iBEoJqdrbihpp33ViD6sdA6qOOZbEWVdg+2+ALCD jTOf4W9o9O+H7tsZSXRtz1L3jA92LPDk+aw9RFOT3mTSOz2zlvv3zjIdGlNqX1QxXgLGtvT0twypj wp4b7PeX5THfYRqMki9g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qJxUD-003ab8-1g; Thu, 13 Jul 2023 14:40:05 +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 1qJxU8-003aWq-2Y for linux-rockchip@lists.infradead.org; Thu, 13 Jul 2023 14:40:01 +0000 Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-6686ef86110so508296b3a.2 for ; Thu, 13 Jul 2023 07:39:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1689259199; x=1691851199; 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=RPx8TXoMTBPqv3uRnnY6UKXIImJhBduWLO7dIf7/AC4=; b=xqlwKQjsTqzmn1QJEGd8JXe/ZovSTVQG8sxdzZUhd0KKws6MSZrJTGvJoB0oQJxuvq 8RNXMIn1LV29fHId75foL62pGPrcAUoFnTuLm8zwAyqdo2zd8G2vn6v7vfEDCwQjLXXq 8PmvJUIlFAYRw0r1zSAcDHYng0sNhakloiIt5GZxxGIKEjxHNulQAk223PQUT6iexQFS PG9ow9GNMdJBzVSpjXJVSfAcyHLGvD7JV0bpBxrzJmDYCVaIFLFu9V6pg1/VFoZHfZ5b yuJ11FYceQWtqn4r91hf5PSbgmzoPtthk9hn6ytO/9vqephyAHJ502kJvZm/wpMxe8wl pmVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689259199; x=1691851199; 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=RPx8TXoMTBPqv3uRnnY6UKXIImJhBduWLO7dIf7/AC4=; b=fGpmzRWEL2Nk1E8eVs70iIm/Py2EnQ3AKSzJxq58m7UdXXBZObM1/0WJpRO1Za1mav LhRhs09hkqmAJUJKFvmRk7zqbZ7RX3W/A9TPsg21XQUExbdgwTxQuVBLjD4MAfPn1Qv/ ZPDLn+BpcxIV94nZnrnP5m4EJ8oOEAHis+nlViLY5XYskWETq5T4Bhi1bJj8mMT4u65l mW/xfnSlGwH8XiEKpafVHStg0EpmYaLPjCBfdxyJ71lLYUdJqOLCn37XQF9ADK6QeMrC nMcCQt0te1vnTypiRTXU0MpOi4fjaM8hr2EAcFGApX9SX4rcHXejn/Eg25rnYDpZFVFl cQgg== X-Gm-Message-State: ABy/qLZjuqfT5Ljwxy915fi8LzuZwv9blGTMjg3YlPDP5ksmiOcfPq58 WOv5Vkt7jzC4aqOm/Xj8JAlzEw== X-Google-Smtp-Source: APBJJlFcXSP+5J66G/A3nfy7geKUuQg05H6iIsJR+VanemdB50VS1DtFF6IgNq4ZIR2uniMrG3KhxA== X-Received: by 2002:a05:6a00:2d90:b0:661:4a00:1ea5 with SMTP id fb16-20020a056a002d9000b006614a001ea5mr1496470pfb.20.1689259198793; Thu, 13 Jul 2023 07:39:58 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c00a:a208:4984:5087:308e:21ca]) by smtp.gmail.com with ESMTPSA id d18-20020aa78692000000b0067a50223e44sm5565764pfo.74.2023.07.13.07.39.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jul 2023 07:39: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 5/8] arm64: dts: rockchip: Enable RTC for edgeble-neu6b Date: Thu, 13 Jul 2023 20:09:38 +0530 Message-Id: <20230713143941.1756849-5-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230713143941.1756849-1-jagan@edgeble.ai> References: <20230713143941.1756849-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230713_074000_826136_05B1FA21 X-CRM114-Status: UNSURE ( 9.95 ) X-CRM114-Notice: Please train this message. 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 RTC support for Edgeble Neu6B NCM IO board. Signed-off-by: Jagan Teki --- .../dts/rockchip/rk3588-edgeble-neu6b-io.dts | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts index 0b6f32e9b820..4a9f85d7542a 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts @@ -25,6 +25,30 @@ &combphy0_ps { status = "okay"; }; +&i2c6 { + status = "okay"; + + hym8563: rtc@51 { + compatible = "haoyu,hym8563"; + reg = <0x51>; + #clock-cells = <0>; + clock-output-names = "hym8563"; + pinctrl-names = "default"; + pinctrl-0 = <&hym8563_int>; + interrupt-parent = <&gpio0>; + interrupts = ; + wakeup-source; + }; +}; + +&pinctrl { + hym8563 { + hym8563_int: hym8563-int { + rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; +}; + &sata0 { status = "okay"; }; From patchwork Thu Jul 13 14:39:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13312305 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 845D7C0015E for ; Thu, 13 Jul 2023 14:40: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=Lkm7XzR28NWXuqAHBbwrRjMpKNP0xSo154lZE9Imm9Y=; b=sMH5vrRTTqW/JN TsvTUEN9DX9P4bWO2RZhj4tIJ0Pvo9S7JRzQSHKqUvk5fGph5z/z1Q9DfiHHwDf37xaEeMfqLRINp DJS1FKc6hmULCuFlOVORS0hrK06KS19z6+M+vFE5cmIMTdnJzLoBJuhC2lVF9HNahfYCdsMgIpXVW 5GASUALmEwIsGYOdom6gQxz8wLlFwmgC06PCtUSP8xjJ41v/cOgitNAQZhlEGI6exlIPNxBszGPg+ IlWTWp1yrX07FKH1YwqrBt7Wcq9f8vBFB8PkLJbegtd/NS0qRgkVNHRaDnQX+towkkfG3foYfhajP 6bfESMVxMoLWzxEPcEiA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qJxUK-003agV-22; Thu, 13 Jul 2023 14:40:12 +0000 Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qJxUA-003aYO-0Q for linux-rockchip@lists.infradead.org; Thu, 13 Jul 2023 14:40:03 +0000 Received: by mail-pf1-x434.google.com with SMTP id d2e1a72fcca58-66767d628e2so524584b3a.2 for ; Thu, 13 Jul 2023 07:40:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1689259201; x=1691851201; 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=0608aQZ2HvApP79qrdqZ0Ss7hF0O6yLKjS9tzV8PstE=; b=al6RGEnf3A+MKz1SAsviIufGTBuXTDfmLe2a7xdRYDaeS1VT6TtwG94xd32G9O4VXE Szdc+N30Bg+P2QY0n+TnsTHhQjyZ3G1KqjE2eFhf8y+rUip3q8v8dhzwNXWQC2X1gGTi c/537zBegypsLkmq96Gly3nHtxx5hzQ2AmMtwzrFDpEd3K2L7Bu7yoRuwYq0VdSvroUL NqTe7D3E0C2zZ5vCtSz/iYsHg7/wyT+8eU0BL1/SyiNh6lWxYl0MRny4fIFrAEr3wPhd GBJ89d/fUarGzZNErta55llwRx3P+NdBaKe/fP2RUGucN1+UxkU7tjhaU0YeDkpx2m08 Oeww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689259201; x=1691851201; 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=0608aQZ2HvApP79qrdqZ0Ss7hF0O6yLKjS9tzV8PstE=; b=gu7219IWPMb8JPJFGrXAvMiaM706eOb0qJ7H4QGVN2C/J2/3c7JZGLVAQRbTXBQxYC qF0Q1m8i0R2hIoNq/l6zhToZSGvY19jPaodM2sfbyzmo8bj6phK0rpLShYxjiKmOT2bB DnYZ/iqbMoNTLqm06JSEOzkHbgWHgTm+idP+q+K5BgxGIblfgZHw3rp2SNbpVObZGjGt wDj887eobQlc+jayQgTC65AFYj9LOQoj/tjQ/AcWUeu0DA4xPncHtoVJl1fi+lbxulX8 5y+mk62R2caT4V2V4EbDwQP5M02C1oujW3tGbHNyfHaTmPE+kLo/9OKbDPJIqY4d7DBL Vaeg== X-Gm-Message-State: ABy/qLbKTLSXaHJhWMtfx39EjhQNFUkXucBkAyk3Tc57y5xNUrVGshlw //sQgbSaFqERIPkwZR0M5UzDSw== X-Google-Smtp-Source: APBJJlEdBAb5H+qipDdXPCl2HPctT6sc0210Fshtlh4TkkCNZ++Cp4jSjCmmQvACL33UejYd3wYbzg== X-Received: by 2002:a05:6a21:7890:b0:132:ef90:1f64 with SMTP id bf16-20020a056a21789000b00132ef901f64mr1306671pzc.46.1689259201569; Thu, 13 Jul 2023 07:40:01 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c00a:a208:4984:5087:308e:21ca]) by smtp.gmail.com with ESMTPSA id d18-20020aa78692000000b0067a50223e44sm5565764pfo.74.2023.07.13.07.39.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jul 2023 07:40:01 -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 6/8] arm64: dts: rockchip: Enable PWM FAN for edgeble-neu6b Date: Thu, 13 Jul 2023 20:09:39 +0530 Message-Id: <20230713143941.1756849-6-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230713143941.1756849-1-jagan@edgeble.ai> References: <20230713143941.1756849-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230713_074002_169421_36B37A35 X-CRM114-Status: UNSURE ( 9.98 ) X-CRM114-Notice: Please train this message. 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 PWM FAN support for Edgeble Neu6B NCM IO board. Signed-off-by: Jagan Teki --- arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts index 4a9f85d7542a..7ce87366c16c 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts @@ -49,6 +49,13 @@ hym8563_int: hym8563-int { }; }; +/* FAN */ +&pwm2 { + pinctrl-0 = <&pwm2m1_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + &sata0 { status = "okay"; }; From patchwork Thu Jul 13 14:39:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13312307 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 83911C0015E for ; Thu, 13 Jul 2023 14:40:20 +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=z0O5KDRVKIhb9U7x1iabYZfhAHzTfdod1wAtGoUR/2M=; b=XnPm0YJK1SkRiV aCoDoHWvTGWerBmm0MAb9w5fP75t4dG5vOmdnFxBGIcol2nCh71fWO70ZNDxj1/p0NiG13uStyT9R hT1ZAeJPw3a/TXvXHaS+ZEVys2JDFu8xqsHBQjpqVhCzKEWE6t36EzDaO2wX8bQ8hseYTS7BR5Wfc EWK32zhvEp8FCLSAH4jlhSiuBF0uAh2DVunjt4Bb2/lYYVRcLCYAts/fyyv6ei1dO1m49rB9Zgwrc dPb+DLCC0KxRYHBgOEsWtxRt6BRtoGK85N4tPr7WWMMDXqwSKFJS6JgTC8HLWQBmqIvy7YJ6p6oTy nXP+6tOddvztXUfRluGQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qJxUO-003ail-14; Thu, 13 Jul 2023 14:40: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 1qJxUD-003abA-2A for linux-rockchip@lists.infradead.org; Thu, 13 Jul 2023 14:40:06 +0000 Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-666ecf9a0ceso515499b3a.2 for ; Thu, 13 Jul 2023 07:40:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1689259205; x=1691851205; 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=7FgQIEmSzQ4dFeEFG76qRf/jhDRaMc5SrZrSKL4bD1Y=; b=KTEmLT4F8Cah0ovXAWR3WZ+iIf5n88zvYx6AeJQpdfDQGPXSTGGMvHYv2c/+6nrJRP 9l4h+HqU6yslx59r8zY8+3FL+8GVx3gmqft44V74DU9RCabgvFfGdOs6zI54tVHUFlS+ UVhSALUdvxRZLShushRqNlDwCQVTJODQfYNhkHERV2vo9sVjLzg8oAQxCc4c8JR1tGCP 5Ukb7NriUld+fbt71YSjdOVazfB7CkvdTfaYUPIWbZl3VrTEm5gyBnwYwiZOZac4k9jq n6j55WQYrlsUHz2xsIw/dHsoOQzrPuOIYg5LlQmwJ/cidUo2NhVZtksSDpq1Ul9lj9fN eU1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689259205; x=1691851205; 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=7FgQIEmSzQ4dFeEFG76qRf/jhDRaMc5SrZrSKL4bD1Y=; b=K/kb91cEK8Lk/0RRJWetwAiyiXkpouH+z6A99Mjl1hmySEvJItjKfhXsX+Ob4ikbQi pL7zaxOrctN+7jVEeBrFOiY0+3qSu/1r/+ukP3UVw97ACqvA6gxZr+mLhpMptcR8JsPh 2MklA1Rt5wakSgf2JtnxywxN79F8pZy2IoEKte3zL+dSkdg2m/w3h/4DVM9JHBlVug+J bv3BcNLc0wYDnMH1OtS4tXDEeUDYdGFuZsCU+S7LDd4jt6/WK7v/FXI+mmG7q3ICBwl4 Gt7bvlKsJlUi0NsviKQ8FiR9nZ4S6XypKAbfC1iuO+zXebhm7w+NZ6b+GpdU/H+/77VR 5CuQ== X-Gm-Message-State: ABy/qLaQ6a2T34FdXSDoo5nGSJrRJapjmGuZ+gPMMyJd4OstGkpH4XCT 5VzeETC78HimNkA9n0agxYE2VQ== X-Google-Smtp-Source: APBJJlEPTj0LTZ9j4HJ7wKnTjcCoEfBrmnuijG+9GGHwH7UEyrUfZvu2cVGcA2ICM7t3pGSIklBJqg== X-Received: by 2002:aa7:88c3:0:b0:682:562a:39ae with SMTP id k3-20020aa788c3000000b00682562a39aemr1908978pff.32.1689259205162; Thu, 13 Jul 2023 07:40:05 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c00a:a208:4984:5087:308e:21ca]) by smtp.gmail.com with ESMTPSA id d18-20020aa78692000000b0067a50223e44sm5565764pfo.74.2023.07.13.07.40.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jul 2023 07:40:04 -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 7/8] arm64: dts: rockchip: Enable RS232 for edgeble-neu6b Date: Thu, 13 Jul 2023 20:09:40 +0530 Message-Id: <20230713143941.1756849-7-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230713143941.1756849-1-jagan@edgeble.ai> References: <20230713143941.1756849-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230713_074005_734035_AC29DF65 X-CRM114-Status: UNSURE ( 9.55 ) X-CRM114-Notice: Please train this message. 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 RS232 support for Edgeble Neu6B NCM IO board. Signed-off-by: Jagan Teki --- arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts index 7ce87366c16c..1bcd64680ff0 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts @@ -77,3 +77,10 @@ &uart2 { pinctrl-0 = <&uart2m0_xfer>; status = "okay"; }; + +/* RS232 */ +&uart6 { + pinctrl-0 = <&uart6m0_xfer>; + pinctrl-names = "default"; + status = "okay"; +}; From patchwork Thu Jul 13 14:39:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13312308 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 6EF4CC001DD for ; Thu, 13 Jul 2023 14:40:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: 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=dE8E/STL3On9dexx0z2eK1yemay6815xhapJMelVjQs=; b=KmsCRpgQjbzV80 5CqnhN417IgN5UsA2TW21pmu+UpvTXFofUUU6/3mD6AZyUhXjlwT9VM6pywnfFCRO8tkcVuH/4iN9 2SusmBbVO0xjUkegFEks6JQfNyq82/Lxv994lU411QDQPDCxgFRYDOXFzhPmwq9X/gTp9XjGdxBFF 9Mk/+Ea53fEnGIlgxnvA7DIBGLnkDZ4nS/lJKRGHoADBKHxEe04bUbTOk3hNtTHQOnLOx5FHHiSRi EkldZk65OCwXYsr2N7czG1jedekuRZu/bOBA7OI+NmdyI3+B1D0YeImtdVSNfgfIJ+cyJ95Fo003O iLjIbP/YgnLI9qyNtnJg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qJxUP-003ajN-0M; Thu, 13 Jul 2023 14:40:17 +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 1qJxUG-003adN-1M for linux-rockchip@lists.infradead.org; Thu, 13 Jul 2023 14:40:09 +0000 Received: by mail-pf1-x432.google.com with SMTP id d2e1a72fcca58-6831e80080dso524544b3a.0 for ; Thu, 13 Jul 2023 07:40:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1689259208; x=1691851208; 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=K5vZ1vv0N6K8LaB+S//93BMQdabNI48ulO78d3KhNAs=; b=ViUr4yqzbp/7T1fHL1dSLBxZ5canTK9h+yFzNEtiMTgBVeXe/XRCSjtU8Ys6/nxdVC hG0ythVN0K8XferSdjJdJCB1jugLF/mHAFmdqxx99/crMOQJXOsg/pw87UENZCYePGuo j/Mll1JQmB3xSa/IQ6wOWCeRsTtbqqtTXiU6TAJjw5rviSJXqh2KzjLkLSTFxxBAsfKH jJaIyb4jeYgYElpXMGeRcWr0ski9x88Dvuk9pDjKT7yIDHqZp1ISSuWYDILxTyhLeHTQ aDy3wz+5ehBKBHI+F6tXdK4D+BwAb6AyAy4o/hmjhUD5bxtAYhKnDtTa0BZavaYkm7fh Vbxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689259208; x=1691851208; 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=K5vZ1vv0N6K8LaB+S//93BMQdabNI48ulO78d3KhNAs=; b=brIu5ez/XJ2fBuAc31LMLBrTEJ2xHH9ShXUu7azsYam606UbHX7a2DE9x3G4jdq7yz De8RN/99oQn4BpaAWxthFFi55YJ/o+r2of3/lR05NlastJC7gHNmGxZZcxhx4kterPej NJZtathN0t7IbhI+729gwZzFTKMnazpv1y4FTGx+J4wRyQfFVxS8NbteyeNuF3iWDHpE cjXEbCIYJzirDGIO7UHNlVs8CAkvXizqF2ZmE40O06I9HJ/VEKwNlKobzlNQ0w6n39wb 0RT/2KvOUHH+Rk1ZCkVDuirxqbQICysm2MIsOxj2OUkfCIq27TmEgiExJDp6LNlzXMz/ YsjQ== X-Gm-Message-State: ABy/qLbTzstJpmYJ2TGpmpZoDNJV3WXY5DhzNK/ykJHWPgywPmvL5cuY Aod5OluSecOEZvAuL/qQLypqKjtNKFKfjgpFjNATvg== X-Google-Smtp-Source: APBJJlHaB4XRsF1iruppO3ErGKHoxLxsp5GZ23w3i5jBtiochO2BfLPG5L2raB1yLQjo/ijQpc7KXA== X-Received: by 2002:a05:6a00:3a1d:b0:680:f6fe:8908 with SMTP id fj29-20020a056a003a1d00b00680f6fe8908mr1431203pfb.9.1689259207857; Thu, 13 Jul 2023 07:40:07 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c00a:a208:4984:5087:308e:21ca]) by smtp.gmail.com with ESMTPSA id d18-20020aa78692000000b0067a50223e44sm5565764pfo.74.2023.07.13.07.40.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jul 2023 07:40:07 -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 8/8] arm64: dts: rockchip: Enable RS485 for edgeble-neu6b Date: Thu, 13 Jul 2023 20:09:41 +0530 Message-Id: <20230713143941.1756849-8-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230713143941.1756849-1-jagan@edgeble.ai> References: <20230713143941.1756849-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230713_074008_464697_19FDABCB X-CRM114-Status: UNSURE ( 9.63 ) X-CRM114-Notice: Please train this message. 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 RS485 support for Edgeble Neu6B NCM IO board. Signed-off-by: Jagan Teki --- arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts index 1bcd64680ff0..72b0e5150155 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts @@ -84,3 +84,10 @@ &uart6 { pinctrl-names = "default"; status = "okay"; }; + +/* RS485 */ +&uart7 { + pinctrl-0 = <&uart7m2_xfer>; + pinctrl-names = "default"; + status = "okay"; +};