Received: by 10.223.185.116 with SMTP id b49csp387143wrg; Wed, 14 Feb 2018 00:11:06 -0800 (PST) X-Google-Smtp-Source: AH8x224kuLXdWA6b7AZLyCzTpDLsb0FahPaixZy+obKbX5azi35Yiave1FBF9DBf5QsbA0G0n1fL X-Received: by 10.98.80.89 with SMTP id e86mr3911753pfb.46.1518595866622; Wed, 14 Feb 2018 00:11:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518595866; cv=none; d=google.com; s=arc-20160816; b=Z+WVGREKNxECqktuPHqt0BhD/PNEMjuA2lh97U3ILRgU1B+VJ7vVLMLMPmSIcPbpNC IyiHPN3qZ0HgDPUpXhCfkl/0sKgFFC9FddeL6pdhofAi9qhCedwVZHBth8nAIX0n2qLr a5/Ue7si4rvBfqGpGjW80oobmIZP1oyDcS6FOr5xdVFPGZPai3cQTNr7+j3TNAlyjHMz xENNijWdnxpqqQDCQSPfseeF78ezUkCoS0VzznxH+tRvt/eLok0sUdL448J2akAL3KyG T7Ejk7qAMyryykN9MdOgL9FJ1M9oWV51u2yUrki29LkiQKFMKOobfJe9Uc71lBYo2Pzq BzSw== 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=rZ/SRjEyd+bAxd5FpT7KckuT4s696VDby4t9H2lfnXM=; b=vNtv0vo83Ep5ltPhU2OinctqmNoG6xAZzWy4I2+uo1EQm3B+DhGm4aTEITuCCHDTfE oxi/4r54TkR0OQAx5UOrSzPqtGE42U3j0HZCqkW9cJB/mFPtB5T6j7r0IchwqqmnN5Z6 ZsNiay4SxZKhUN/zQn0WtfjL3+CFJYcN7TbnaoOzAsTOiALuJQMWkNEhN/GlFDE1+6H3 PdR4IJ7VuRIarF2ue7dsmGcqRBXVxG9P8qcS85NW4yg8lldA2IOz5aE9jJ8ipH/xcNRi 89Y0JhydCZjP8ZCEj6g0OBAFdEqr2kv477O19s1R20k1kPWjnGknYxgy9UGaVmKWK7PK VwuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=RiB4nNjj; dkim=pass header.i=@codeaurora.org header.s=default header.b=IWzUug1C; 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 s195si826152pgc.39.2018.02.14.00.10.51; Wed, 14 Feb 2018 00:11:06 -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=RiB4nNjj; dkim=pass header.i=@codeaurora.org header.s=default header.b=IWzUug1C; 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 S1754651AbeBNIJs (ORCPT + 99 others); Wed, 14 Feb 2018 03:09:48 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:56502 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754620AbeBNIJp (ORCPT ); Wed, 14 Feb 2018 03:09:45 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 48E5360791; Wed, 14 Feb 2018 08:09:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1518595785; bh=UuKxALs5eeoLGl67xEwvecM8vc54h0S74Jvls3WyB88=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=RiB4nNjjLr6pClNO6UgTd+ww/GBIcJz7DsbviZPEMpbwBhXIV9J/GvSpnWHlFgADf v33gczXdcUPTrK63NGZxQ4rkB9Hrl2tizFaN4uGRAkptjZasImpQUbpODi7hS6bAyd 0ukNZhXL+bxjiCQzCzib0Yz0z/UgOlDJAma2EF/s= 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.79.40.88] (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: rnayak@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 56EB260791; Wed, 14 Feb 2018 08:09:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1518595784; bh=UuKxALs5eeoLGl67xEwvecM8vc54h0S74Jvls3WyB88=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=IWzUug1CFeMyJtmJknkK0OM7MIlzzLCikpFddI382Y+LMd+fPoLp47ZQNjaXrEEln F63NaGXLtfiPB/yN8XPXbyhElSqMM+9VyoHEC4DETUyhs3VCQt1jSbkflfokucaKsN RpG6oUfACvBwjuuElfbw6kW8OwYN3wRTI8cmZqBw= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 56EB260791 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=rnayak@codeaurora.org Subject: Re: [PATCH v3 2/3] arm64: dts: sdm845: Add minimal dts files for sdm845 SoC/MTP To: Doug Anderson Cc: Andy Gross , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, LKML , Linux ARM , Stephen Boyd , evgreen@chromium.org, Bjorn Andersson References: <20180212062832.2791-1-rnayak@codeaurora.org> <20180212062832.2791-3-rnayak@codeaurora.org> From: Rajendra Nayak Message-ID: <2b726c57-3e7c-8406-bb49-3bd56193e009@codeaurora.org> Date: Wed, 14 Feb 2018 13:39:40 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [].. >> diff --git a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts b/arch/arm64/boot/dts/qcom/sdm845-mtp.dts >> new file mode 100644 >> index 000000000000..617c7bb25fb1 >> --- /dev/null >> +++ b/arch/arm64/boot/dts/qcom/sdm845-mtp.dts >> @@ -0,0 +1,13 @@ >> +// SPDX-License-Identifier: GPL-2.0 > > It would, of course, be up to Qualcomm. ...but might I suggest instead: > > // SPDX-License-Identifier: (GPL-2.0+ OR MIT) > > The device tree files really don't have any special secret sauce in > them and IIRC allowing them to have a more permissive MIT license _or_ > a GPL allowed people to run other operating systems on these boards. > This kind of thing is better to fix now so we don't have to go and get > everyone's permission later on. sure, sounds reasonable, but I am told I need to get this reviewed once by qualcomm legal before we go ahead and use the dual licensing copyright. I will update based on what I hear. [].. > >> +/* >> + * Copyright (c) 2018, The Linux Foundation. All rights reserved. >> + */ > > IMHO add an extra line to this comment with a description to avoid the > bike shedding of how we're supposed to do 1-line comments in device > tree files. AKA: > > /* > * SDM845 MTP board device tree source > * > * Copyright (c) 2018, The Linux Foundation. All rights reserved. > */ sure will update. > > >> + >> +/dts-v1/; >> + >> +#include "sdm845.dtsi" >> + >> +/ { >> + model = "Qualcomm Technologies, Inc. SDM845 MTP"; >> + compatible = "qcom,sdm845-mtp"; > > For me checkpatch complains about this. It looks like the file > "Documentation/devicetree/bindings/arm/qcom.txt" needs to be updated > with "sdm845". I don't think that will make checkpatch be quiet > (since that file doesn't have a full list of every board), but it > still should be the correct thing to do. sure, I missed updating it, will fix. > > >> +}; >> diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi >> new file mode 100644 >> index 000000000000..55a7e0b454e1 >> --- /dev/null >> +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi >> @@ -0,0 +1,275 @@ >> +// SPDX-License-Identifier: GPL-2.0 > > As per above, suggest dual licensed? > > >> +/* >> + * Copyright (c) 2018, The Linux Foundation. All rights reserved. > > As per above, suggest adding an extra line to avoid the bikeshed. > > SDM845 SoC device tree source > > > Besides those things, everything looks good as far as I can see. I'm > not an expert on every one of the devices used in this file, but > reading through bindings docs and looking at other users of them, it > looks sane enough. Thus, with the above nits fixed you can feel free > to add my Reviewed-by. Thanks, the only thing I need to wait for before I respin this is to get a go ahead from legal for the dual licensing copyright header. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation