From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754104AbeDBFec (ORCPT ); Mon, 2 Apr 2018 01:34:32 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:59720 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752226AbeDBFea (ORCPT ); Mon, 2 Apr 2018 01:34:30 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org CC115607A2 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sricharan@codeaurora.org Subject: Re: [PATCH v5 06/13] ARM: dts: ipq4019: Add ipq4019-ap.dk04.1-c1 board file To: Bjorn Andersson Cc: mark.rutland@arm.com, robh@kernel.org, devicetree@vger.kernel.org, marc.zyngier@arm.com, catalin.marinas@arm.com, richardcochran@gmail.com, will.deacon@arm.com, linux@armlinux.org.uk, linux-kernel@vger.kernel.org, david.brown@linaro.org, absahu@codeaurora.org, robh+dt@kernel.org, linux-arm-msm@vger.kernel.org, andy.gross@linaro.org, linux-soc@vger.kernel.org, sboyd@codeaurora.org, linux-arm-kernel@lists.infradead.org References: <1521800336-19266-1-git-send-email-sricharan@codeaurora.org> <1521800336-19266-7-git-send-email-sricharan@codeaurora.org> <20180327171249.GI1403@tuxbook-pro> From: Sricharan R Message-ID: <591f7429-e574-f983-0cdd-45aa07d5c9b1@codeaurora.org> Date: Mon, 2 Apr 2018 11:04:21 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180327171249.GI1403@tuxbook-pro> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Bjorn, On 3/27/2018 10:42 PM, Bjorn Andersson wrote: > On Fri 23 Mar 03:18 PDT 2018, Sricharan R wrote: >> +#include "qcom-ipq4019-ap.dk04.1.dtsi" >> + >> +/ { >> + model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK04.1-C1"; >> + > > If this is the board and qcom-ipq4019-ap.dk04.1.dtsi is the platform > file then the compatible should be here and not there. Also qcom,ipq4019 > is not an awesome compatible for a board file. > ok, agree. Will correct the compatible and move it here. >> + soc { >> + dma@7984000 { >> + status = "ok"; >> + }; >> + >> + qpic-nand@79b0000 { >> + pinctrl-0 = <&nand_pins>; >> + pinctrl-names = "default"; >> + status = "ok"; >> + }; > > nand_pins defines the muxing and is defined in the other dtsi. So please > move these pinctrl-* properties to the dtsi. > > As long as the node is disabled the pinctrl state won't be applied > anyways. > > > If there are electrical properties that needs to be specified you can > override the pinctrl state in the board specific file. > ok, understood. Will follow these conventions in rest of the places as well. Regards, Sricharan -- "QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation