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: 1037 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-il1-f199.google.com (mail-il1-f199.google.com [209.85.166.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 87AC63F042 for ; Thu, 23 Jan 2020 14:47:10 +0100 (CET) Received: by mail-il1-f199.google.com with SMTP id p8sf2348011ilp.22 for ; Thu, 23 Jan 2020 05:47:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1579787228; cv=pass; d=google.com; s=arc-20160816; b=qPfy6XBisscDnaUbgOTHD3cweEtLQSkxmvvl87wYvmsg7l313XRMILJyirdyNR8qHV RJ5J2VA5njFTlJv4WaQg2xOcp1uX7F94GsefKa1cXOVOUDiJbjl3jC0gTiuVvrZ1dlLn kDu33JY1o5CA7ytUKMdURxpLr+37PEHaZRpjX1SPt4khcfZQpA2W+OXl4sCKw5EwMOny Finw11mqkJAKGbbn3sUUhpFIMsmfdsVPEXuzIYDJPga0GukdeAe+0ZLpb1rnTyND5A/1 nkyQcR7F7xMWypTb4gD4O8NaHqfYVliMhM6l87XGBZzV3RU8CzI0qN1xSeig3+X38WdI GZIg== 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=gMzl+DtVfec7tmSA+vozhaOFA+D6FtRgytIooEKcXLw=; b=uRKF/1lS8+e07bghDhyrYJfGgacn9QdLsMeFcGA2d5mmbbuR1uUpfAJ5knGjxaqjNj XK1DZFsG3I7+kHz7HlOiQYspGcGjYRthOmCVYjjv9oBoSOl/Puqns7QnjUIBkyFJZP9c H2hWTxKSEpS19uDrr+QLkWBeqObKTXCZdOGiZNbnZ9O+RBC6i0BnhlwcljdJqWQ0+wbA cPmJkE3NxcLLwxh3j1NTeS+stqkY3jNkCFtgBPj1BNf7n0NlhqV7Y3lYFsO3lWU1tQSg 1qdC2kNj9ZEHmaC/ytzoNWIqR6hkLIsREurCBgbZ7rUaMZtUxG+f70teC1FCXkkWXDYT 9HVQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=nOFVLQvm; 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=gMzl+DtVfec7tmSA+vozhaOFA+D6FtRgytIooEKcXLw=; b=iINIuSc8pMNDp6aVWLjR1EaHpE8/SOms4/bj4BCDhBdp52Qi9Pd4GH2DDOUlvhwTA/ ysyW1NPJtbpKw/F4tH5kySs+w0kx4PhnSqHFgUhOUYkNmze20klyIDSa35o0cspOccpw tyBBiUBv0BsHcUFQHdR/GV75uitTSskqqiGOg= 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=gMzl+DtVfec7tmSA+vozhaOFA+D6FtRgytIooEKcXLw=; b=MtDeCc+GQXs4+QMukGHw1Gyc0IqhZLIGUMkD2NyziwFJekAjkRZXeFWhSdTaNbJ5Yp 6EkHG+LSwE8hZLkz8T3J8mBumLaJ11PtCreQN/rGUAc+84p538kEQPUlO87HoGXiYTS9 X6XKTIFW/QxdkKZHA7+lv9dPpaEXXlrErSrqSbya5TZfBvjkJBG9MGpzNWncOxxhlU0p rAGQlppDhNRrQAbFDjwyO9eAZ6+T/GH5jA4QK52kwPbBKQI8D8C+0jVMY7+BNDkUBXES BSM4Jx7CRvr0U39LlvAsDYzbt8A8EB2yPeIYrXwY2ZgxQwv8QVpK7Mqf+Re6cu6WH5N0 orzA== X-Gm-Message-State: APjAAAX6pZHJyEdZ3/xqmIh1+pGiyDb+ZzsL/yL7YwqRnb17jt1jw3wj vk6CexQbXJbrGkkv4p8QKSGkmXhR X-Google-Smtp-Source: APXvYqxKnDjTd8XzBHAiXl5m5XzF9OuRo0G7K5MHfubKJSSeZsoUuLFOjf0Id3WHnBi6diLJlFYUMQ== X-Received: by 2002:a6b:c848:: with SMTP id y69mr10912467iof.24.1579787228299; Thu, 23 Jan 2020 05:47:08 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a92:5c56:: with SMTP id q83ls7751146ilb.0.gmail; Thu, 23 Jan 2020 05:47:07 -0800 (PST) X-Received: by 2002:a92:9603:: with SMTP id g3mr12825092ilh.231.1579787227669; Thu, 23 Jan 2020 05:47:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579787227; cv=none; d=google.com; s=arc-20160816; b=A7SpkcF4RLFiGpMX8AxM8yElMxo9bShweBmJbefTDL9DOUWHMhp+XmuoLSiTxzIfFS 415WK8DlUea/fN2lNV1njuoxhHX/HPsDWv5HgPVylCLFdk2hJXWeZwFZbNUeyas4fXLx llUCKq9c7rhn8TRFPV1c0donbdQfomWrBYPVQx7uVuuCllilvG7DGNg7BjNqnHOOnQ1+ txlokLuNgUWl1ShLGMUTVmFBOGxAWjCPJId42GtJCH2i02BH3qGRm1q0Z3Um7kYBNKE0 Pn09xvy6y9iA+ab8BEmPYSeFo3Cv7D3e3P11Zmukp9Nw3JzUK8w9ttcvjhIngzLWTWR2 t7Wg== 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=6qQxJ2SyEvVPvMIErsNNl1ijsgX+GmiVrQvVTmqjFSI=; b=gYOoKsvkLS1gbKgVk7WpydPeQ9Zuyu4E/kBqwB4LEhaYpfyor9+9ch4uo/BkKqtGPc U6Y/FaOV5z1IVPa2n8YHFI3c1Rx94zBsN9ZWhsfAA/jkscSvPabEdm2RVdWd0Zet7x3s +OUlSu+3l21qaYRda0QjiEjjL+a2b5gd9+FTZYGnVYM26ffUa1nnSvQDBd8UASu6didn DiIdOt884IOY84QTzyF1JmG1nSiV7jM665nsCvMcWgeNQjNmufVn6F7zB30EB5Cul9tZ yCEBhPTCQoSzEj8Zh1y44/UXEsK5nRpIQOvcsgt9WSflXqTLS8dwsY17NJJJd8s9zndl YE+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=nOFVLQvm; 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 l7sor824136ioh.102.2020.01.23.05.47.07 for (Google Transport Security); Thu, 23 Jan 2020 05:47:07 -0800 (PST) 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: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 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=nOFVLQvm; 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: , 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>;