Received: by 10.223.176.5 with SMTP id f5csp298527wra; Mon, 5 Feb 2018 22:22:52 -0800 (PST) X-Google-Smtp-Source: AH8x225/9P0alQ3NdXXgHBwpo4bONR71fskAnmnsU0KUJmM1CIckOgJdD42Xg7lMJF2P47bxzINm X-Received: by 10.101.82.130 with SMTP id y2mr1134088pgp.68.1517898172238; Mon, 05 Feb 2018 22:22:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517898172; cv=none; d=google.com; s=arc-20160816; b=NVSoplF5yv6rnGeD6CaF/t4EsZwp9j2Jbm8Tim2dSIiEDigoD7Qt30TLmb1gdj+Vhr Pp6l2WXpnnpnPu3+4Nq9Thebv9tZh+o3sEKLrzQkCsGgUeah7a/31RKGOj9SPfWGewso nxf5ATWYBCYLo95tOL0Awmg7EwUClylAgiKLA6nrLKWsY4V5UbJqFFUnN7IOR7an+qDK tiQv3hlH73u1jHj2tCQHSS2u/1y1/BFlGeahckeXq3FAWPULmGg4wyGKj3Vy78vi7M+q grT53e8o9tOM5wIJNP/CPe2dOKSVIkg8hhu7RnL/mdhW8qMM1Bz4jI4jFDXKRJAh8LYX Om5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature:dkim-signature:arc-authentication-results; bh=eRJESiVYAdh8+N8AEMBRPHMkNASI41Twjb41YZjsm/s=; b=bwZWb+W53DUCjoyBmkrjNV/u1vG48GcdA9DW2JtmfOtBoZk86f5pt/Sg92+8PijB0k L5Z1AbidbjBeNu/+rMa2Qpjq/hMslHoLbo5wOdc3tF43aZw0Mu99LvFHyPSVxxmpKyIJ QhH7hnD4Z91J9l56W2OriaRW+XtgiQLtJWyOvP2mMI06TysxjBvzRzbfNXVon2VjeQJq FlqHmSdpKdaIblDloNNlq3/NeB0m/yAR9a3jUBvteJ9fLkEuuViCzoO/gbm6DMiqbRNa BJ5j4P9ztcaH4EDW6M5fDQgJqUNqMMzXx7990v6IJ3mkx9Ma9/LkXFeF0rTytx7l8STn YDOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=VdzKMvdh; dkim=pass header.i=@codeaurora.org header.s=default header.b=X/0Zwiim; 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 d8si8140458pfh.120.2018.02.05.22.22.27; Mon, 05 Feb 2018 22:22:52 -0800 (PST) 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; dkim=pass header.i=@codeaurora.org header.s=default header.b=VdzKMvdh; dkim=pass header.i=@codeaurora.org header.s=default header.b=X/0Zwiim; 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 S1752190AbeBFGTE (ORCPT + 99 others); Tue, 6 Feb 2018 01:19:04 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:35048 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751774AbeBFGS5 (ORCPT ); Tue, 6 Feb 2018 01:18:57 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 9A67560A06; Tue, 6 Feb 2018 06:18:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1517897936; bh=D2f36OPmwywSMLT9zyHTuFsSws3DQI9MJGYoOVwQ6DM=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=VdzKMvdhDWG+kYJjza8PdVV7Jb7nnYtK+QHUMESvigC4l+Q821jZJQxNk7ufd2Y8v neN6vlGgN2V7o1GZNMto4ntWk4XCrqZAdLu042/ZR8yqEaD9h8UxXH5wBYltqlEd8x arWZaBRi5Qt1CJ+HkhCa4L4mQnlUG1xD98alUOQg= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from [10.201.3.39] (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sricharan@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 8BEDE605A8; Tue, 6 Feb 2018 06:18:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1517897935; bh=D2f36OPmwywSMLT9zyHTuFsSws3DQI9MJGYoOVwQ6DM=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=X/0Zwiimf7CWjCkvrnFlp9pOSDyDgLS80WvIA+8fNV0mDwieC9i8ianNCZ/d8WFqQ LBQnCNgu7e9w9rgbCFXCHmQrXDQiZ1AWLE9HICWus9HMXgVK+1NnLZQP/KuujiBea9 SZ4B52nmaaTrD5nDCEkhvURB/JbRr6LftW/Ovrv4= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 8BEDE605A8 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 07/15] ARM: dts: ipq4019: Add ipq4019-ap.dk04.1-c1 board file To: Abhishek Sahu Cc: mark.rutland@arm.com, robh@kernel.org, devicetree@vger.kernel.org, catalin.marinas@arm.com, will.deacon@arm.com, linux@armlinux.org.uk, bjorn.andersson@linaro.org, david.brown@linaro.org, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, andy.gross@linaro.org, linux-arm-msm-owner@vger.kernel.org, linux-soc@vger.kernel.org, sboyd@codeaurora.org, linux-kernel@vger.kernel.org References: <1517202689-14212-1-git-send-email-sricharan@codeaurora.org> <1517202689-14212-8-git-send-email-sricharan@codeaurora.org> <6821d93c282c8337b2a58c5c9337a008@codeaurora.org> From: Sricharan R Message-ID: <4df81f9e-a018-822c-066b-e9735ed9908b@codeaurora.org> Date: Tue, 6 Feb 2018 11:48:49 +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: <6821d93c282c8337b2a58c5c9337a008@codeaurora.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Abhishek, On 2/3/2018 5:00 PM, Abhishek Sahu wrote: > On 2018-01-29 10:41, Sricharan R wrote: >> Signed-off-by: Sricharan R >> --- >>  arch/arm/boot/dts/Makefile                      | 1 + >>  arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c1.dts | 8 ++++++++ >>  2 files changed, 9 insertions(+) >>  create mode 100644 arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c1.dts >> >> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile >> index 21ed56d..1a8ab050 100644 >> --- a/arch/arm/boot/dts/Makefile >> +++ b/arch/arm/boot/dts/Makefile >> @@ -725,6 +725,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \ >>      qcom-apq8084-mtp.dtb \ >>      qcom-ipq4019-ap.dk01.1-c1.dtb \ >>      qcom-ipq4019-ap.dk01.1-c2.dtb \ >> +    qcom-ipq4019-ap.dk04.1-c1.dtb \ >>      qcom-ipq8064-ap148.dtb \ >>      qcom-msm8660-surf.dtb \ >>      qcom-msm8960-cdp.dtb \ >> diff --git a/arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c1.dts >> b/arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c1.dts >> new file mode 100644 >> index 0000000..41123be >> --- /dev/null >> +++ b/arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c1.dts >> @@ -0,0 +1,8 @@ >> +// SPDX-License-Identifier: GPL-2.0 >> +// Copyright (c) 2017, The Linux Foundation. All rights reserved. >> + >> +#include "qcom-ipq4019-ap.dk04.1.dtsi" >> + >> +/ { >> +    model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK04.1-C1"; >> +}; > >  It seems major diff between DK01 C1 and other variants is >  qpic nand. qpic nand is only available in C1 so do we need >  to disable the nand is base dk04 dtsi and enable it in this >  C1 dts only. same for qpic bam. C1 - Has QPIC NAND, spi 78b5000-> cs0 -> spi_nor C5 - Has QPIC NAND, spi 78b5000-> cs0 -> spi_nor, cs1 -> spi_nand C2 - Has QPIC NAND, spi 78b5000-> cs0 -> spi_nor ( Audio board, yet to be posted for pending audio drivers) C3 - spi 78b5000-> cs0 -> spi_nor So C3 is the board where it is disabled and enabled in the rest. But from a readability point, feels better to touch this only in each board specific file. So will remove this from the common 04.dtsi and move it to each board file. Regards, Sricharan -- "QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation