Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932446AbdHWRpk (ORCPT ); Wed, 23 Aug 2017 13:45:40 -0400 Received: from mail-oi0-f48.google.com ([209.85.218.48]:35670 "EHLO mail-oi0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932111AbdHWRpi (ORCPT ); Wed, 23 Aug 2017 13:45:38 -0400 MIME-Version: 1.0 In-Reply-To: <20170818203505.GB4042@hector.attlocal.net> References: <014701d31418$8e419670$aac4c350$@variscite.com> <20170818203505.GB4042@hector.attlocal.net> From: Leonid Segal Date: Wed, 23 Aug 2017 20:44:56 +0300 Message-ID: Subject: Re: [RESEND PATCH 1/1] arm64: dts: Add Variscite DART-SD410 Evaluation board dts To: Andy Gross Cc: Leonid Segal , robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, David Brown , catalin.marinas@arm.com, will.deacon@arm.com, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org 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: 3883 Lines: 137 Hello, Thank you very much for the tips. I have updated the documentation and schematics of our web site. I also tried to implement all other fixes, but seems that I cannot file the git you are talking about. The patches i sent were done to: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git and there is no -next branch. I tried to check out the linaro git: http://git.linaro.org/landing-teams/working/qualcomm/kernel.git there is a -next branch, but the USB section is in old format. I tried to complile the latest version from git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git the usb there in new format, but nothing works (even LEDS) on Dragonboard too. So, I think I am missing something global on the way. If you can help me with it, I will appreciate it. Thank you, Leonid. On Fri, Aug 18, 2017 at 03:35:05PM -0500, Andy Gross wrote: > On Sun, Aug 13, 2017 at 12:42:59PM +0300, Leonid Segal wrote: > > Add initial device tree support for Variscite DART-SD410 Evalueation board. > > This board is also known as VAR-SD410CustomBoard. > > > > Signed-off-by: Leonid Segal > > --- > > A few comments, mainly about your documentation on the Variscite > website. Specifically the schematics. Please tell your hardware > people to be consistent in your naming conventions for pins. > > MPP_GPIO/PM_GPIO appear to be interchangeable. And it's usually > best to split out the PMIC pins from the non-pmic. That's my 2 > cents at least. > > > > arch/arm64/boot/dts/qcom/Makefile | 1 + > > .../boot/dts/qcom/apq8016-var-dart-pmic-pins.dtsi | 53 +++ > > .../boot/dts/qcom/apq8016-var-dart-soc-pins.dtsi | 88 ++++ > > arch/arm64/boot/dts/qcom/apq8016-var-dart.dts | 21 + > > arch/arm64/boot/dts/qcom/apq8016-var-dart.dtsi | 525 > > > > > + pins = "gpio32"; > > + }; > > + pinconf { > > + pins = "gpio32"; > > + drive-strength = <2>; > > + bias-disable; > > + }; > > + }; > > + > > + msm_key_volp_n_default: msm_key_volp_n_default { > > Schematics show this to be a Home button. If so this needs to be > updated to reflect that. > > > + pinmux { > > + function = "gpio"; > > + pins = "gpio107"; > > + }; > > + pinconf { > > + pins = "gpio107"; > > + drive-strength = <8>; > > + input-enable; > > + bias-pull-up; > > + }; > > + }; > > +}; > > diff --git a/arch/arm64/boot/dts/qcom/apq8016-var-dart.dts > > > > > +/dts-v1/; > > + > > +#include "apq8016-var-dart.dtsi" > > + > > +/ { > > + model = "Variscite LTD. VAR-DART410"; > > + compatible = "qcom,apq8016-dart", "qcom,apq8016", "qcom,dart"; > > qcom isnt making this board. Please use something like "variscite,dart", > "qcom,apq8016" > > > +}; > > diff --git a/arch/arm64/boot/dts/qcom/apq8016-var-dart.dtsi > > b/arch/arm64/boot/dts/qcom/apq8016-var-dart.dtsi > > new file mode 100644 > > index 000000000000..f214d0b101a4 > > --- /dev/null > > +++ b/arch/arm64/boot/dts/qcom/apq8016-var-dart.dtsi > > > > + > > + usb@78d9000 { > > + extcon = <&usb_id>, <&usb_id>; > > + status = "okay"; > > + }; > > + > > + ehci@78d9000 { > > + status = "okay"; > > Can you try removing the echi and using the chipidea instead. Take a > look at the current db410c in -next. Try it out and see if that works > for you. If it does, modify your nodes to match up. > > > + }; > > + > > + phy@78d9000 { > > + v1p8-supply = <&pm8916_l7>; > > + v3p3-supply = <&pm8916_l13>; > > + vddcx-supply = <&pm8916_s1>; > > + extcon = <&usb_id>, <&usb_id>; > > + dr_mode = "otg"; > > + status = "okay"; > > + switch-gpio = <&pm8916_gpios 4 GPIO_ACTIVE_HIGH>; > > + pinctrl-names = "default"; > > + pinctrl-0 = <&usb_sw_sel_pm>; > > Same here, I think some things changed here. Need to update. > switch-gpio went away. > > > + }; > > + > > + lpass@07708000 { > > + status = "okay"; > > + }; > > + > > > > > Regards, > > Andy Gross