From patchwork Thu Jan 23 13:46:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 205413 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4F372C2D0DB for ; Thu, 23 Jan 2020 13:46:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1BD6320661 for ; Thu, 23 Jan 2020 13:46:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="hZX9mIAI" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726968AbgAWNq4 (ORCPT ); Thu, 23 Jan 2020 08:46:56 -0500 Received: from mail-pf1-f195.google.com ([209.85.210.195]:37944 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726792AbgAWNq4 (ORCPT ); Thu, 23 Jan 2020 08:46:56 -0500 Received: by mail-pf1-f195.google.com with SMTP id x185so1576173pfc.5 for ; Thu, 23 Jan 2020 05:46:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=9msSGB05EOD+TA6th1Q6DasshXuxXMHpgfWWmoqkjG0=; b=hZX9mIAIy9GMqX4umkBL4JNLBU+ujofWPQPTjEzBxMgbIXIeaOfAKSsdtbeZnrdA0k F5BDTO12rEh1yXXRYUf5lsWCuv2k2ccVWkLwJj4BwoZR2KwX8X/ldOW/lMkvGcIDwI53 0vwA/U7bw6xb90SZXS9aghijC1mR8gmMGzmqo= 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:mime-version :content-transfer-encoding; bh=9msSGB05EOD+TA6th1Q6DasshXuxXMHpgfWWmoqkjG0=; b=NN0krf/YCFCGQ7j87RY3l9PFk9w0vpryPhQIfGqbVBtRxwm4BwC8mr24QNMI2PzlRW Xk5ItpK6i18ExwD+hOsNrBcu/85/KnyQ0aw1sclEEtrbr7Wu88NDdirYPTMhz+FujSIm 3HqUW18HGBh8xQWsT78tI+9cHZhwDV69COcxTBBfr2xacmQSUq514qtP/NiPtPCtz1+Y Mo00QCQhz3y4o0shxtAiF66ufDo2o9bmkhAL3JNefSNlB7n0CTU5D+8HrFoZT/IbU3j0 YiLUZyDveie8pwOL1dP7bunoz8tWPEVp6455st0BiJyaeB8FAtfXGb7592IKLmKcE37M 5GoQ== X-Gm-Message-State: APjAAAVJMgalygwoAZ1FzbDW6aKQjmWVMlFu2oty6gKhJ39vEq0NcJUL E4vn/znnIpDEgXTy9I8Uook6WA== X-Google-Smtp-Source: APXvYqwu4dqBx94o0ANFySalOciPvjf6FEO1N1R3Ni57uQ4X5UqK6ImkHDTPh2JeP71b7f82/fpnUw== X-Received: by 2002:a65:645a:: with SMTP id s26mr3928042pgv.321.1579787215201; Thu, 23 Jan 2020 05:46:55 -0800 (PST) Received: from localhost.localdomain ([49.206.202.109]) by smtp.gmail.com with ESMTPSA id a10sm3119275pgm.81.2020.01.23.05.46.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jan 2020 05:46:54 -0800 (PST) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Mark Rutland Cc: Michael Trimarchi , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH 1/3] ARM: dts: rockchip: Fix vcc10_lcd name and voltage for rk3288-vyasa Date: Thu, 23 Jan 2020 19:16:39 +0530 Message-Id: <20200123134641.30720-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org According to hardware schematics of Vyasa RK3288 the actual name used for vcc10_lcd is vdd10_lcd. regulator suspend voltage can rail upto 1.0V not 1.8V. Fix the name and suspend voltage for vcc10_lcd regulator. Signed-off-by: Jagan Teki --- arch/arm/boot/dts/rk3288-vyasa.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/rk3288-vyasa.dts b/arch/arm/boot/dts/rk3288-vyasa.dts index ba06e9f97ddc..d2f79e5bee87 100644 --- a/arch/arm/boot/dts/rk3288-vyasa.dts +++ b/arch/arm/boot/dts/rk3288-vyasa.dts @@ -286,15 +286,15 @@ }; }; - vcc10_lcd: LDO_REG6 { - regulator-name = "vcc10_lcd"; + vdd10_lcd: LDO_REG6 { + regulator-name = "vdd10_lcd"; regulator-min-microvolt = <1000000>; regulator-max-microvolt = <1000000>; regulator-always-on; regulator-boot-on; regulator-state-mem { regulator-on-in-suspend; - regulator-suspend-microvolt = <1800000>; + regulator-suspend-microvolt = <1000000>; }; }; From patchwork Thu Jan 23 13:46:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 205412 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E53ECC33CAF for ; Thu, 23 Jan 2020 13:47:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AF1E12467B for ; Thu, 23 Jan 2020 13:47:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="nOFVLQvm" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728928AbgAWNrI (ORCPT ); Thu, 23 Jan 2020 08:47:08 -0500 Received: from mail-pj1-f67.google.com ([209.85.216.67]:34888 "EHLO mail-pj1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726729AbgAWNrI (ORCPT ); Thu, 23 Jan 2020 08:47:08 -0500 Received: by mail-pj1-f67.google.com with SMTP id s7so1339678pjc.0 for ; Thu, 23 Jan 2020 05:47:07 -0800 (PST) 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=6qQxJ2SyEvVPvMIErsNNl1ijsgX+GmiVrQvVTmqjFSI=; b=nOFVLQvmwK7zQcfoX6RgA2rrAPXk4uIPXzRXCI/bneBDiL0Ik2eIKCNwhvr4BnCr5H wvsxMbXx6Ve+D9iIe6dS2smIjruESE1T7KPLu5LG0YaI7vKLsy2rK7EFLq5z73+/VkSX xjWrBRsLB8Opl9F6BmXyYe+0uWyqsaOK50p2w= 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=6qQxJ2SyEvVPvMIErsNNl1ijsgX+GmiVrQvVTmqjFSI=; b=GLovFs+wiAcBjMGlOPeCFVgGVYZcklNkqdTKDHk1ArlRLtTjaXq8robAZndhrmwVMJ Fil5G2C3sanLvc3Z5ImULmAmJKnOh8/98Fs78Fz4mLdXFvF8OChooYOABCDjt9pvmcMz 42MQdbd4R6e3b8sDs9wubwsuMdRvkBhpHL+3U/Skg4/HuXJoWIb4ocNt9ApvBr3QJRns nokADLQ2wM7OtqI5oR/b/I81Y4SfVgFI2mjJxvYvYSw9ta1b0x+9Z3rPJRUH4HulhKDe M+QVZzFRz8MlF4Zhe/TrEpApGq40KaIRExIBHNHcjByXM4WuBQLOoknCOSqUxykAO8Lu YLAA== X-Gm-Message-State: APjAAAVkNpdxlnGkLF7raVm47bMZHqrH3YnCMR9aXn5cYWqqbaQkTyFf Q1B/0z2bf/fQk9jE6Eguem4+MA== X-Google-Smtp-Source: APXvYqxluBr8pbd/5ZuACzarEI+J3Nv0qKlV4YpT+VWQoiazdSaVUD7XjER8s9Oeyn6ZbbfLh5m2jA== X-Received: by 2002:a17:902:16a:: with SMTP id 97mr16134852plb.163.1579787227342; Thu, 23 Jan 2020 05:47:07 -0800 (PST) Received: from localhost.localdomain ([49.206.202.109]) by smtp.gmail.com with ESMTPSA id a10sm3119275pgm.81.2020.01.23.05.47.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jan 2020 05:47:06 -0800 (PST) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Mark Rutland Cc: Michael Trimarchi , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH 3/3] ARM: dts: rockchip: Add vcc50_hdmi for rk3288-vyasa Date: Thu, 23 Jan 2020 19:16:41 +0530 Message-Id: <20200123134641.30720-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20200123134641.30720-1-jagan@amarulasolutions.com> References: <20200123134641.30720-1-jagan@amarulasolutions.com> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add vcc50_hdmi regulator for Vyasa RK3288 board. VCC50_HDMI is the real name used for this regulator as per the schematics. This regulator used for HDMI connector by detecting the cable via HDMI_EN gpio and input rails are sourced from VSUS_5V regulator. Signed-off-by: Jagan Teki --- arch/arm/boot/dts/rk3288-vyasa.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-vyasa.dts b/arch/arm/boot/dts/rk3288-vyasa.dts index 88c63946f2a3..52291faf7aef 100644 --- a/arch/arm/boot/dts/rk3288-vyasa.dts +++ b/arch/arm/boot/dts/rk3288-vyasa.dts @@ -78,6 +78,17 @@ vin-supply = <&vcc_io>; }; + vcc50_hdmi: vcc50-hdmi { + compatible = "regulator-fixed"; + regulator-name = "vcc50_hdmi"; + enable-active-high; + gpio = <&gpio7 RK_PB4 GPIO_ACTIVE_HIGH>; /* HDMI_EN */ + pinctrl-names = "default"; + pinctrl-0 = <&vcc50_hdmi_en>; + regulator-always-on; + regulator-boot-on; + vin-supply = <&vsus_5v>; + }; vusb1_5v: vusb1-5v { compatible = "regulator-fixed"; regulator-name = "vusb1_5v"; @@ -446,6 +457,12 @@ }; }; + hdmi { + vcc50_hdmi_en: vcc50-hdmi-en { + rockchip,pins = <7 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + pmic { pmic_int: pmic-int { rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>;