Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp641976imj; Wed, 13 Feb 2019 14:49:22 -0800 (PST) X-Google-Smtp-Source: AHgI3IbPx2lx/k8A4nGXI5FQJgeDws+cabyU0ZJS5dq9kCKSTh8+66m68gYlTElPoK0e1V5mie7Z X-Received: by 2002:a63:e950:: with SMTP id q16mr577176pgj.138.1550098162703; Wed, 13 Feb 2019 14:49:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550098162; cv=none; d=google.com; s=arc-20160816; b=cv+AR63/Jm8H3EwQpiWYotWY0TiMP4rjHbkS/of1fByMX8M5pB8mwefxxSGduck1v8 HDcuyNZf6HCpLJPNwt4LkkGbez5lirlWGqd4nBw9H/7Fcxfwz14tKV1RMDN1d4RPyqv4 HZ1LFAWS1iUomWzkxf4M7ag/OAdcmfMnXXvHsr8W8ADtxopHKoG9AQ6qrsSDCrYsYzFD zJeYJynpg1f1mS+nKsL52lH+8uPsl8bjSsC/WcpxcD0jZzcoYm96xKxOxQQi1Zlg+BcY HQpJMbc5XxhY4ST/776eJsSF8bF75OKTR+M5GtNKoAwn/p5QXirG2D5v35c9jpHFyR1E lOKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=FdxcvICvxRLyf2VxX7rKuJruqylzq87vcE/MXq9MoQQ=; b=icLOD8VlZGJJEASBPz0y8NW6mUtaBuji45ypYQy5f0J6hC81ntDPVByioRphd832J1 IETGtdhOtwOvVcR+LT38TxoXvSj54yRgsqsjcGKMaIoBfO01Ad7RElPvP7cOqcm8Zd9r X+qc3DjZkUbJEB0r2dtBv/08f2mgAU2ULBdLgj902wsguSGhtC/lDSmWrOPXH4NxBpq+ GZnrbLckSAs7LMqH7NS+uL/pwQnYNHPCF0rNhfCBgu+Ud94tdAV1+PxhIPGlnpI7gYDc dIxgy93Xwri0QcejgoBOT4vgaKLIJkE98rI+SkMpF84eOrSEShVD0whqzzx35wp6pmA3 /yLw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l67si564849pfc.147.2019.02.13.14.49.06; Wed, 13 Feb 2019 14:49:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391649AbfBMRJk (ORCPT + 99 others); Wed, 13 Feb 2019 12:09:40 -0500 Received: from relay1.mentorg.com ([192.94.38.131]:59489 "EHLO relay1.mentorg.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731962AbfBMRJj (ORCPT ); Wed, 13 Feb 2019 12:09:39 -0500 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-MBX-04.mgc.mentorg.com) by relay1.mentorg.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) id 1gty2T-00048h-AN from Akash_Gajjar@mentor.com ; Wed, 13 Feb 2019 09:09:37 -0800 Received: from eyas.local (137.202.0.90) by SVR-IES-MBX-04.mgc.mentorg.com (139.181.222.4) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Wed, 13 Feb 2019 17:09:31 +0000 From: Akash Gajjar To: CC: Rob Herring , Mark Rutland , Oskari Lemmela , Shohei Maruyama , Levin Du , Klaus Goger , , , , Subject: [PATCH 4/4] arm64: dts: rockchip: rockpro64 dts add usb regulator Date: Wed, 13 Feb 2019 22:36:40 +0530 Message-ID: <20190213170651.3210-5-Akash_Gajjar@mentor.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190213170651.3210-1-Akash_Gajjar@mentor.com> References: <20190213170651.3210-1-Akash_Gajjar@mentor.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: SVR-IES-MBX-03.mgc.mentorg.com (139.181.222.3) To SVR-IES-MBX-04.mgc.mentorg.com (139.181.222.4) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org vcc5v0_host and vcc5v0_typec is supplied by vcc5v0_usb and not vcc5v0_sys. add node for vcc5v0_usb fixed regulator. Signed-off-by: Akash Gajjar --- arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts index dab53d2eb676..745aad8ba2d2 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts @@ -114,7 +114,7 @@ pinctrl-0 = <&vcc5v0_host_en>; regulator-name = "vcc5v0_host"; regulator-always-on; - vin-supply = <&vcc5v0_sys>; + vin-supply = <&vcc5v0_usb>; }; vcc5v0_typec: vcc5v0-typec-regulator { @@ -125,7 +125,7 @@ pinctrl-0 = <&vcc5v0_typec_en>; regulator-name = "vcc5v0_typec"; regulator-always-on; - vin-supply = <&vcc5v0_sys>; + vin-supply = <&vcc5v0_usb>; }; vcc5v0_sys: vcc5v0-sys { @@ -138,6 +138,16 @@ vin-supply = <&vcc12v_dcin>; }; + vcc5v0_usb: vcc5v0-usb { + compatible = "regulator-fixed"; + regulator-name = "vcc5v0_usb"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + vin-supply = <&vcc12v_dcin>; + }; + vdd_log: vdd-log { compatible = "pwm-regulator"; pwms = <&pwm2 0 25000 1>; -- 2.17.1