Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4256389imm; Mon, 6 Aug 2018 21:04:59 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfOuOT4EZ6qEfCMneNM1SvgtHOK6l0YSq8gG/TzNjjAq6Ps9Aeanr7nUkoZxy3fMtA7zjwb X-Received: by 2002:a17:902:bd93:: with SMTP id q19-v6mr16153274pls.238.1533614699336; Mon, 06 Aug 2018 21:04:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533614699; cv=none; d=google.com; s=arc-20160816; b=WWrDT+gSvwiHlLS45LbnqQ+sM+NNsxVnwy5Fpj1RfGBnKpnAKaYpx1gVBrUifmsE7V TW0mr90O3BlYAMX60ZtmqrXobeUYItS25fPA1Sm0u4oXZ/ZLXNMJLrUn5WM8CIC6L45H yeFHq9KO7rdkRt3giWuhxEBCIsOQVPUfY5wK7T0Qe7yhr3dlXJUpGxT7m7/7EJZ1cNbl hho0+nND4apTcrg8as1qTywwH1sDricuINoEWksi1UCRPmcfk01n8J1Vyi7BK40oWyy+ vbltXBt/JJSRl9AtzzpEvFB865c1YKAVDakUOck37U0DsHfMfjZzkuFp8d3KYhR9i3sz jTTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:arc-authentication-results; bh=fWZgV4Mals+JqP30LIEMRhWw87nUMDgteXgCr8G1130=; b=NkeN4i7BBDnjcYoCZ7iLH3Z3tq+R6pguUCC1Ry9V6hF4Dq5swxpL3qmViUYwUpRXNx H7wa1H8iARQ0zBdFgNtQoLjrKcZGu7+YsmCNVOeXjdAsf7QUE5mnTOv+c6CsOpx/H5ir 57YiWMeXx5bf58C6aObEaUUk5Q/KzHAkijuAowUGaMocozwxSSXIBgpniTykQmvrQMZ9 vAOCCgiAv2TNtaP9XRcDz/aFtNrbNa9SOZHRH18P5NjpaxmvJ2137tJdLkiujX9Z1y0N m9uyjLdM86M+vXVc+zCk/Df8yH/CZPRVxG8G2YAyHgvNaji56j7i+/5B0ZsNAhVDDTPN 1XdA== 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 e6-v6si416259pfe.31.2018.08.06.21.04.39; Mon, 06 Aug 2018 21:04:59 -0700 (PDT) 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 S1728329AbeHGFEu (ORCPT + 99 others); Tue, 7 Aug 2018 01:04:50 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:38925 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725936AbeHGFEu (ORCPT ); Tue, 7 Aug 2018 01:04:50 -0400 Received: by mail-ed1-f68.google.com with SMTP id h4-v6so6171045edi.6; Mon, 06 Aug 2018 19:52:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=fWZgV4Mals+JqP30LIEMRhWw87nUMDgteXgCr8G1130=; b=SSAXm9yLeNfNot51UWrWy1qSABbYKdx0yDCU+oa8ZH3P+VECp7FPb6oaIvnd/TXIoG 0/yHE8d+/mxnoQaU8wBNqqK2RiZfXK2W/B4Q4bCNfpVpa+2o+jhiOCpjouEpwks05eR1 nxn8eji9MxJ1nhpBAD6NLrRNaLXmjZDSPVVN6EhZn9+0YfBxg0TPHSLfZTTzKdUsW4Zb ZUAfMW09JMb/Hv8/PvEmTI6Vzt6GqT+NufGZu5+aYGTwJvCkgNG4OBIytBPrf72afBib sG/y0IF3o2ZjqJrLlA1tf8fEMWCs/ASfQZzdJlCDUY9kvTRFIGgZFHZIFdtWpCfb8dK4 cnxw== X-Gm-Message-State: AOUpUlGpwph5iCf2XBViKpgBprMxyeWieHz8ca11N7YvY749tg2Pbwrx xg8YSwkI5zw0GglilL/2pNaIG3shp+Y= X-Received: by 2002:a50:cc4d:: with SMTP id n13-v6mr20466922edi.171.1533610361998; Mon, 06 Aug 2018 19:52:41 -0700 (PDT) Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com. [209.85.221.49]) by smtp.gmail.com with ESMTPSA id w3-v6sm243576edb.16.2018.08.06.19.52.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Aug 2018 19:52:41 -0700 (PDT) Received: by mail-wr1-f49.google.com with SMTP id e7-v6so14180228wrs.9; Mon, 06 Aug 2018 19:52:41 -0700 (PDT) X-Received: by 2002:adf:f9c9:: with SMTP id w9-v6mr11222141wrr.105.1533610361161; Mon, 06 Aug 2018 19:52:41 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:adf:a101:0:0:0:0:0 with HTTP; Mon, 6 Aug 2018 19:52:20 -0700 (PDT) In-Reply-To: <1533109399-21174-1-git-send-email-Akash_Gajjar@mentor.com> References: <1533109399-21174-1-git-send-email-Akash_Gajjar@mentor.com> From: Chen-Yu Tsai Date: Tue, 7 Aug 2018 10:52:20 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] arm64: dts: allwinner: a64: add csi regulator to sopine dts To: Akash Gajjar Cc: Icenowy Zheng , Maxime Ripard , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , linux-arm-kernel , devicetree , linux-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 1, 2018 at 3:43 PM, Akash Gajjar wrote: > sopine board has a csi. enable supply dvdd-1v8-csi, dovdd-2v8-csi and > avdd-2v8-csi on board to access external camera connected to it. Unless there are other uses beyond supplying the camera module, this is not going to be accepted. Enabling power to the camera should be in the same patch as enabling the camera itself. And since it is a module, it should be an overlay file. ChenYu > Signed-off-by: Akash Gajjar > --- > .../arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi | 21 +++++++++++++++++++++ > 1 file changed, 21 insertions(+) > > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi > index 43418bd..256229b 100644 > --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi > +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi > @@ -68,6 +68,13 @@ > > #include "axp803.dtsi" > > +®_aldo1 { > + regulator-always-on; > + regulator-min-microvolt = <2800000>; > + regulator-max-microvolt = <2800000>; > + regulator-name = "dovdd-csi"; > +}; > + > ®_aldo2 { > regulator-always-on; > regulator-min-microvolt = <1800000>; > @@ -112,6 +119,13 @@ > regulator-name = "vdd-sys"; > }; > > +®_dldo3 { > + regulator-always-on; > + regulator-min-microvolt = <2800000>; > + regulator-max-microvolt = <2800000>; > + regulator-name = "avdd-csi"; > +}; > + > ®_eldo1 { > regulator-always-on; > regulator-min-microvolt = <1800000>; > @@ -119,6 +133,13 @@ > regulator-name = "vdd-1v8-lpddr"; > }; > > +®_eldo3 { > + regulator-always-on; > + regulator-min-microvolt = <1800000>; > + regulator-max-microvolt = <1800000>; > + regulator-name = "vdd-csi"; > +}; > + > ®_fldo1 { > regulator-min-microvolt = <1200000>; > regulator-max-microvolt = <1200000>; > -- > 2.7.4 >