From patchwork Wed Jul 15 08:34:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11664487 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0E457913 for ; Wed, 15 Jul 2020 08:55:43 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DBBB62064C for ; Wed, 15 Jul 2020 08:55:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="oBtpY+gS"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="DlPGLiJA"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="V6eXBTMb" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DBBB62064C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=DNR3hKlme/RG+AADZ25Io/XBeQ68BOqR9wwiDVqI0FY=; b=oBtpY+gSR/EkUaO0IZOOGUGQB D+UWOSpnHBERnckHt8BtxqHeKZTa6uPftL1golHySBi3t/3lMsQEuJxOX3fbvM+nyMtOjQl5PKkVu 3RsAYWom5c8lCKcAQIDppU/3olodaYSCPOdglARsr83Om+R7SNXCdTrcmLge1u2zekFTvey5CxmJQ xmXFm2Py1PSdwT88YSlCu6HnTMVm4fGBAf9unPJvkKFMBh2ODhWPd/MNwBbJ+YLFm5Q1c8jMLjeln lXAc4o4BGqewDSFF1BlO3EFLjb2RdIw0rmEPlsdAF3RXuaYiUgmrSQL2shMtV5n/7J2QTRlpr7DOw 0PivJyxDQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvdCT-0002JX-Kn; Wed, 15 Jul 2020 08:55:37 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvdCJ-0002BD-Rm for linux-rockchip@merlin.infradead.org; Wed, 15 Jul 2020 08:55:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=YgB0N9dRcA9w6WXseVOOZfeq0/D4u3nNZYgCsL9uaRw=; b=DlPGLiJAzJ0DQFiD7kKzSEqxnu zkTDPrKWmvBCwKByNsjmBsmJOc0VxdR7fJjTPS4D1wXQ2XYCdJOM4IoZ4vOOfgqlEGen+CpUF3Gib zwdNR9yfvd3yK71qEpT9FU5foXIo7uJFAZDftjdZw163aqv5RlK6tBOar9dZPAbWyygq3AlLUD9Yv EcOyC86P0g7sKoksMAgtaZ3QnF/VKUHK8Y6eDAfkaUXLyBWc+zAwDLP5UdDpfScIpFqJa8ByJ4iw4 wW3DRoonsPwNiy89IRc9HuQFGD8GGLcK69HIeLIGpo8SfYPu3B17p42zcNADK/bM1pHWfQ9o7YbKo avKJNx3g==; Received: from mail-pj1-x1042.google.com ([2607:f8b0:4864:20::1042]) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvcsS-0006yW-RS for linux-rockchip@lists.infradead.org; Wed, 15 Jul 2020 08:34:59 +0000 Received: by mail-pj1-x1042.google.com with SMTP id gc15so1714982pjb.0 for ; Wed, 15 Jul 2020 01:34:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YgB0N9dRcA9w6WXseVOOZfeq0/D4u3nNZYgCsL9uaRw=; b=V6eXBTMb1oMmkAgTEHHnyyDfZF9VapwcfOnuzC5FnKWSmcfLUDEbTrNQKhfI+sXwBh qEDph4vNKY4+RmTwKIPyo2OYCjSG3Ekp1cC8j18AWmwZCDZ2iLeB881Va+NIWvqoJ8Tj 7voMtlY0djIQm9XoneunlcMwxu0kt6hrh77zc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YgB0N9dRcA9w6WXseVOOZfeq0/D4u3nNZYgCsL9uaRw=; b=AO87Cv5XDjxzRb9UkBqUb92Wjw9I741GkenznIFAduVpNG8345ClibmcFJ3ksefp/P PksSXLWeXX3K6Z/gPHEJXM4dSkZnmIM3vuejKhCIpKfeMVngkry5KPJiTbVWpOBBBLWu SBGUWwWibavWRWPwoQXNfQ0QNhZGrYa8kFpbYzNKrcjcdTRE70eiNYrIOclHDOHBRz84 20ogGt6up9ICD0tzSYRDmlfu3lXrOsBri20k9zPcjYUo71RgjXInkcfSjZ/V+jhZHPHf jY6SSAQyYKOJV2MRg0y/ZjfJdwcw/dxYosc8W1mHeDN3AGwkKEuiVFc9Fv8yzVMIzPEp qQzQ== X-Gm-Message-State: AOAM532ckT9rvxmj6tbOhA4RRrRc3j512EVrfmK6W4VZ/6rNa7smOMMk smXDZ8OX+DWO/0TDGMHx9I3qpw== X-Google-Smtp-Source: ABdhPJy/1St0AM52RbZ1D2GNO3p7hMgJK4ErEOABtcyvh5WcN2PObiswr/7zW2yu+DCXFJ9PZZAJJQ== X-Received: by 2002:a17:90a:db48:: with SMTP id u8mr8358830pjx.169.1594802094012; Wed, 15 Jul 2020 01:34:54 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:9887:56a8:c916:cfdb]) by smtp.gmail.com with ESMTPSA id m92sm1467584pje.13.2020.07.15.01.34.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 01:34:53 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring Subject: [PATCH v6 3/7] arm64: dts: rk3399pro: vmarc-som: Move supply regulators into Carrier Date: Wed, 15 Jul 2020 14:04:14 +0530 Message-Id: <20200715083418.112003-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200715083418.112003-1-jagan@amarulasolutions.com> References: <20200715083418.112003-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200715_093457_139292_28B7D5BA X-CRM114-Status: GOOD ( 11.76 ) X-Spam-Score: -2.1 (--) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-2.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:1042 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Jagan Teki , Suniel Mahesh , Michael Trimarchi , linux-amarula , linux-arm-kernel@lists.infradead.org Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org Supply regulators are common across different variants of vmarc SOM's since the Type C power controller IC is part of the carrier board. So, move the supply regulators into carrier board dtsi. Signed-off-by: Jagan Teki --- Changes for v6: - spilt of previous version Trivial patch .../dts/rockchip-radxa-dalang-carrier.dtsi | 19 +++++++++++++++++++ .../dts/rockchip/rk3399pro-vmarc-som.dtsi | 19 ------------------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi b/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi index 176b53b8e41a..00b200a62263 100644 --- a/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi +++ b/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi @@ -11,6 +11,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>; + }; }; &gmac { diff --git a/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi b/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi index 121a430d6a70..d8fa8127d9dc 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi @@ -18,25 +18,6 @@ clkin_gmac: external-gmac-clock { clock-output-names = "clkin_gmac"; #clock-cells = <0>; }; - - 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>; - }; }; &cpu_l0 {