From patchwork Thu Sep 19 05:28:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 848 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 90E603F08B for ; Thu, 19 Sep 2019 07:29:11 +0200 (CEST) Received: by mail-pl1-f199.google.com with SMTP id m8sf1464185plt.14 for ; Wed, 18 Sep 2019 22:29:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1568870950; cv=pass; d=google.com; s=arc-20160816; b=nqUMdif1Koy+34hYrZ9pKR4GkFTU7Hwz3svi5uzysypIDuS7ktQikI/ivrj6tcDJyR /li3RnxPhZ2KSIwzdkrkhYJS3obbRYTPwjV1+RcfaMZEOFH6TFzxOARiCkgzT9SY/GJo ufA6WTX5R3YljiiMsL5wOQVhIfg7ZMbbUnHZZHb8AyR+uOwxOQDdFqexucBapMFswYmc WIGlsiRsUA6CJShrTTyoLfkU4UASxYbh8wrcUyAQYdBDBLOet1Vye0xrfWcxKcab/aXf 0OhHikLSuINqyzAgeUvRJ5mU2jLhWadF2UcNrzDVuh4tAAlVZlRDhY0Ta3R4wiQA9wiu nHoA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=OAAdMOlVib2ITs0uEbfOoUGVKb/744lrk0SvFoM3DPc=; b=crcJUBbzNxJ8nQxXgwUg+yWaYyknEDu5aNXjUt07x+ST0RZy73HnWfpKVXf8W6SRGQ kwL+wSBvtDSkiUI2U3Bt0igEQgo2pnTfTIC+OJkHgwjwd8pl5A6Y6YraaQ2NXY28r8hd gk8tpBQxGDw73UDYuMDXgklfwxKhczFUEDWKWZhhe/iF5mt4uESq0m4yFVWtC2UbHZWe ke596/D6nqOrt8tWMkC6bdmFbmjPVCDgfvYUPcWYiA92YnLy+ZZgJ6HHHaAPBB8bspsQ E/iyZN1SGirUraNSXLxWUJxkuLxFpaHqMyxdwv4tAMlFZkFQXDj5Q0DhHpmUTwAwb+g5 zeXQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=fd6AiriF; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com 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:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=OAAdMOlVib2ITs0uEbfOoUGVKb/744lrk0SvFoM3DPc=; b=H5411+SHZIuLFlmQUa6XsQPUsCDDS1SrIfH71jo2PWOew5jNeWyJHS89ZkIIg2H2Ke 43kRUArGRBWajsgfAU5P8c2ik6BxY4UXPDgnMWLj6pP4STEDcjd2olAh9XBBnRfrN4kx A56iagcdFi7/s/vs3q3st1gTJgyVIWmXw2taM= 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=OAAdMOlVib2ITs0uEbfOoUGVKb/744lrk0SvFoM3DPc=; b=r9kM0SczQCsDS76Zib1fNRjE+PZv99Rw81sS3ohSt5DIldoiHyHWRcf9zZ9Ve6dVZh ObHA1JuGraUR8/OgGlMGB5p5Hce5O9v5N0Tlz+K2aqGXP3Zr69wOi/KfRK87ElyI6v9v 8BBFqJaO9rNmv9V/HdVwn4xNpcGdwfm4QtsCiEBi8+yLjtatc/wJlM2GDLPKtBA7Mw/u 7l7np/fMK7x7BI8HZj97ka3KD2MWxq5+p183nwKhMgxt5hJawXIx1kJvbYsM8ee5r9VC rPWj+p1qL1cs4aiPOTshVYSwDPX51wIf3BYFByYFFwdu9w3Q5BE475Uw5DlWraa0caR0 LcqQ== X-Gm-Message-State: APjAAAUT5aNJKY1VZvVQpmkCYgVA8j08tEcoAakxd2GV0LP8PZUPX6Yi zHvwwW1i/C4uzxuc/sgoLM0aa33O X-Google-Smtp-Source: APXvYqxvqvcIV0aVpkotzugcVkynynApNCpaSvTf5hWuVeXdYRxbK1hLhQ2k3gw4jErgeM+LwvqImg== X-Received: by 2002:a62:870a:: with SMTP id i10mr8166706pfe.259.1568870950378; Wed, 18 Sep 2019 22:29:10 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:5353:: with SMTP id t19ls496660pgl.9.gmail; Wed, 18 Sep 2019 22:29:10 -0700 (PDT) X-Received: by 2002:aa7:8255:: with SMTP id e21mr8409463pfn.82.1568870949996; Wed, 18 Sep 2019 22:29:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568870949; cv=none; d=google.com; s=arc-20160816; b=IFTSLny/Zzy8L00j7GCdMPkIQN1vrtj8Gt6jek/UdD/Y1/JoTi01CzKS3WZpiQma6N /P91oPrR4KZRL/xkz0oHe64UrJGcjNFdSRonqQc3FpT/VOP5JE6YVkGADD5qcvSOAo4V S79REGRpW1k1C+EGzz72VKrhMiEfPmx8gDAybAKQXtoP2jyYDru5jdm4vRIZCFnVll1g 0i1aWT9CuVEohTnqreLZPI271ym3pDSnspapVXiMg+91XUlk4LmH3X4AekFH+WHC4oZ4 PhCXpGcAFIhrQoBojHmq0V2/rGVG/RedHK+vtqJx6W0vNZeowDV3p7XXvH3+90SO/NbC JZVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=SJDlhm907xyTeLn8eboZhigP+1jC9h49ln8vZf3zaoo=; b=JT37W6cNfijuevHcDNm5jzamRUY4IovMzIKRwaBAVYhuUTmUoYC8K0Gx5DkxjFM6UC g41Lig0CLGBK7fRbUKAn0vHV14Z2jRybyyolowgHuifL9ml87j07MVx8+KGg9bGqKO6x Djtbx7DcpDxIC29Mv/9liVvDex2pN0GOUDJn+AIfHYFmSCt2jnTTmZn63k46LWI5ca86 7c3PKSb0qHAi+m9W5UsJF7jHYeZ2SHI52KrAACrgP3OEtcQYJzKWscLBxho0Wmel6apq qLC3OSLKrmZcbgehLZurbA9JWTGoMSHGKRbI8h+z8s33hLQsQ5JUVzkW4P/+v/CnUV9k izbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=fd6AiriF; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id f7sor6759575pgc.20.2019.09.18.22.29.09 for (Google Transport Security); Wed, 18 Sep 2019 22:29:09 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a65:4782:: with SMTP id e2mr6861393pgs.402.1568870949591; Wed, 18 Sep 2019 22:29:09 -0700 (PDT) Received: from localhost.localdomain ([49.206.200.127]) by smtp.gmail.com with ESMTPSA id z20sm5051930pjn.12.2019.09.18.22.29.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Sep 2019 22:29:09 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Levin Du , Akash Gajjar , Rob Herring , Mark Rutland Cc: Da Xue , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH 6/6] arm64: dts: rockchip: Fix roc-rk3399-pc regulator input rails Date: Thu, 19 Sep 2019 10:58:22 +0530 Message-Id: <20190919052822.10403-7-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190919052822.10403-1-jagan@amarulasolutions.com> References: <20190919052822.10403-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=fd6AiriF; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Few, know rk808 pmic regulators VCC[1-4], VCC[6-7], VCC[9-11], VDD_LOG, VDD_GPU, VDD_CPU_B, VCC3V3_SYS are inputting with vcc_sys which is 5V power rail from dc_12v. So, replace the vin-supply of above mentioned regulators with vcc_sys as per the PMIC-RK808-D page of roc-rk3399-pc schematics. Signed-off-by: Jagan Teki --- .../rk3399-libretech-roc-rk3399-pc.dts | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-libretech-roc-rk3399-pc.dts b/arch/arm64/boot/dts/rockchip/rk3399-libretech-roc-rk3399-pc.dts index 51242ea5447d..1eddb2e00809 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-libretech-roc-rk3399-pc.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-libretech-roc-rk3399-pc.dts @@ -85,7 +85,7 @@ regulator-boot-on; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; - vin-supply = <&dc_12v>; + vin-supply = <&vcc_sys>; }; /* Actually 3 regulators (host0, 1, 2) controlled by the same gpio */ @@ -129,7 +129,7 @@ regulator-boot-on; regulator-min-microvolt = <800000>; regulator-max-microvolt = <1400000>; - vin-supply = <&vcc3v3_sys>; + vin-supply = <&vcc_sys>; }; }; @@ -202,16 +202,16 @@ rockchip,system-power-controller; wakeup-source; - vcc1-supply = <&vcc3v3_sys>; - vcc2-supply = <&vcc3v3_sys>; - vcc3-supply = <&vcc3v3_sys>; - vcc4-supply = <&vcc3v3_sys>; - vcc6-supply = <&vcc3v3_sys>; - vcc7-supply = <&vcc3v3_sys>; + vcc1-supply = <&vcc_sys>; + vcc2-supply = <&vcc_sys>; + vcc3-supply = <&vcc_sys>; + vcc4-supply = <&vcc_sys>; + vcc6-supply = <&vcc_sys>; + vcc7-supply = <&vcc_sys>; vcc8-supply = <&vcc3v3_sys>; - vcc9-supply = <&vcc3v3_sys>; - vcc10-supply = <&vcc3v3_sys>; - vcc11-supply = <&vcc3v3_sys>; + vcc9-supply = <&vcc_sys>; + vcc10-supply = <&vcc_sys>; + vcc11-supply = <&vcc_sys>; vcc12-supply = <&vcc3v3_sys>; vddio-supply = <&vcc1v8_pmu>; @@ -385,7 +385,7 @@ regulator-ramp-delay = <1000>; regulator-always-on; regulator-boot-on; - vin-supply = <&vcc3v3_sys>; + vin-supply = <&vcc_sys>; regulator-state-mem { regulator-off-in-suspend; @@ -404,7 +404,7 @@ regulator-ramp-delay = <1000>; regulator-always-on; regulator-boot-on; - vin-supply = <&vcc3v3_sys>; + vin-supply = <&vcc_sys>; regulator-state-mem { regulator-off-in-suspend;