Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752860AbdHOEKW (ORCPT ); Tue, 15 Aug 2017 00:10:22 -0400 Received: from smtp.csie.ntu.edu.tw ([140.112.30.61]:34572 "EHLO smtp.csie.ntu.edu.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752407AbdHOEKU (ORCPT ); Tue, 15 Aug 2017 00:10:20 -0400 MIME-Version: 1.0 In-Reply-To: References: <1502707013-16422-1-git-send-email-jteki@openedev.com> From: Chen-Yu Tsai Date: Tue, 15 Aug 2017 12:09:56 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [linux-sunxi] [PATCH v6] arm64: allwinner: a64: Add initial NanoPi A64 support To: Jagan Teki Cc: Chen-Yu Tsai , Maxime Ripard , Icenowy Zheng , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , Michael Trimarchi , linux-arm-kernel , devicetree , linux-kernel , linux-sunxi , yftan , Jagan Teki Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1690 Lines: 55 On Tue, Aug 15, 2017 at 11:51 AM, Jagan Teki wrote: > On Tue, Aug 15, 2017 at 9:14 AM, Chen-Yu Tsai wrote: >> On Mon, Aug 14, 2017 at 6:36 PM, Jagan Teki wrote: [...] >>> +/* i2c1 connected with gpio headers like pine64, bananapi */ >>> +&i2c1 { >>> + pinctrl-names = "default"; >>> + pinctrl-0 = <&i2c1_pins>; >>> + status = "okay"; >> >> So I rechecked some of the current dts files we have. We typically >> don't enable peripherals by default if they are on some generic >> expansion header. We do however allow listing them with an explicit >> >> status = "disabled"; >> >> Users are free to enable it themselves. The listing lets them enable >> it from U-boot with a single fdt command. [...] >>> +®_dldo1 { >>> + regulator-always-on; >>> + regulator-min-microvolt = <3300000>; >>> + regulator-max-microvolt = <3300000>; >>> + /* Same used for vcc-dsi */ >>> + regulator-name = "vcc-hdmi"; >> >> We normally just tack on all the consumers to the name, so >> "vcc-hdmi-dsi" in this case. >> >>> +}; >>> + >>> +®_dldo4 { >>> + regulator-always-on; >>> + regulator-min-microvolt = <3000000>; >>> + regulator-max-microvolt = <3000000>; >>> + /* Same used for vdd_wifi-io */ >>> + regulator-name = "vcc-pg"; >> >> And "vcc-pg-wifi-io" here. >> >> I can fix up these bits when applying, if you are OK with the changes. > > OK, please make necessary changes. > > thanks! Done. Please check the results of both your patches here: https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux.git/log/?h=sunxi/dt64-for-4.14 ChenYu