From mboxrd@z Thu Jan 1 00:00:00 1970 From: Krzysztof Kozlowski Subject: Re: [PATCH] ARM: dts: Add Maxim 77693 PMIC to the Trats2 board Date: Mon, 15 Sep 2014 16:56:06 +0200 Message-ID: <1410792966.883.2.camel@AMDC1943> References: <1410523386-10581-1-git-send-email-k.kozlowski@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: In-reply-to: Sender: linux-samsung-soc-owner@vger.kernel.org To: Javier Martinez Canillas Cc: Ben Dooks , Kukjin Kim , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , "linux-arm-kernel@lists.infradead.org" , "linux-samsung-soc@vger.kernel.org" , "devicetree@vger.kernel.org" , Linux Kernel , Kyungmin Park , Marek Szyprowski , Bartlomiej Zolnierkiewicz , Tomasz Figa List-Id: devicetree@vger.kernel.org On pon, 2014-09-15 at 16:36 +0200, Javier Martinez Canillas wrote: > Hello Krzysztof, > > On Fri, Sep 12, 2014 at 2:03 PM, Krzysztof Kozlowski > wrote: > > + i2c_max77693: i2c-gpio-1 { > > + compatible = "i2c-gpio"; > > + gpios = <&gpm2 0 0>, <&gpm2 1 0 >; > > Can you please include and use > GPIO_ACTIVE_HIGH instead of 0 here for the type/level flags? Sure! > > > + i2c-gpio,delay-us = <2>; > > + #address-cells = <1>; > > + #size-cells = <0>; > > + status = "okay"; > > + > > + max77693@66 { > > + compatible = "maxim,max77693"; > > + interrupt-parent = <&gpx1>; > > + interrupts = <5 2>; > > + reg = <0x66>; > > + > > + regulators { > > + esafeout1_reg: esafeout@1 { > > + regulator-compatible = "ESAFEOUT1"; > > According to Documentation/devicetree/bindings/regulator/regulator.txt, > the "regulator-compatible" DT property has been deprecated in favor of > just using the regulator node's name. OK > > > + regulator-name = "ESAFEOUT1"; > > + }; > > + esafeout2_reg: esafeout@2 { > > + regulator-compatible = "ESAFEOUT2"; > > + regulator-name = "ESAFEOUT2"; > > + }; > > + charger_reg: charger@0 { > > + regulator-compatible = "CHARGER"; > > + regulator-name = "CHARGER"; > > + regulator-min-microamp = <60000>; > > + regulator-max-microamp = <2580000>; > > + }; > > + }; > > + }; > > + }; > > + > > mmc@12550000 { > > num-slots = <1>; > > supports-highspeed; > > > > Once those two issues are addressed, feel free to add my > > Reviewed-by: Javier Martinez Canillas Thank you for feedback! Best regards, Krzysztof > > Best regards, > Javier