From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751412AbeBUX7O (ORCPT ); Wed, 21 Feb 2018 18:59:14 -0500 Received: from mail.kernel.org ([198.145.29.99]:35102 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750805AbeBUX7L (ORCPT ); Wed, 21 Feb 2018 18:59:11 -0500 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1C7772178F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=robh@kernel.org X-Google-Smtp-Source: AH8x2248ZxUNtPjz7nO3ene7yDQ42HsFyXj5IljR0VvD/c7EJh6S/itp2D5eKXz4t6EwZfiZZJ+HTMpFPOU8sb8Kr54= MIME-Version: 1.0 In-Reply-To: References: <20180216060503.22006-1-rnayak@codeaurora.org> <20180216060503.22006-3-rnayak@codeaurora.org> <20180219193426.darxcui4g4oxyf32@rob-hp-laptop> From: Rob Herring Date: Wed, 21 Feb 2018 17:58:49 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4 2/4] dt-bindings: qcom: Add SDM845 bindings To: Doug Anderson Cc: Rajendra Nayak , Andy Gross , devicetree@vger.kernel.org, linux-arm-msm , Stephen Boyd , LKML , evgreen@chromium.org, Bjorn Andersson , Linux ARM Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 21, 2018 at 10:51 AM, Doug Anderson wrote: > Rob, > > On Mon, Feb 19, 2018 at 11:34 AM, Rob Herring wrote: >> On Fri, Feb 16, 2018 at 11:35:01AM +0530, Rajendra Nayak wrote: >>> Add a SoC string 'sdm845' for the qualcomm SDM845 SoC >>> >>> Signed-off-by: Rajendra Nayak >>> --- >>> Documentation/devicetree/bindings/arm/qcom.txt | 1 + >>> 1 file changed, 1 insertion(+) >>> >>> diff --git a/Documentation/devicetree/bindings/arm/qcom.txt b/Documentation/devicetree/bindings/arm/qcom.txt >>> index 0ed4d39d7fe1..ee532e705d6c 100644 >>> --- a/Documentation/devicetree/bindings/arm/qcom.txt >>> +++ b/Documentation/devicetree/bindings/arm/qcom.txt >>> @@ -26,6 +26,7 @@ The 'SoC' element must be one of the following strings: >>> msm8996 >>> mdm9615 >>> ipq8074 >>> + sdm845 >> >> These should really be the full string with 'qcom,', but you don't have >> to fix that now. >> >> Reviewed-by: Rob Herring > > Thanks for the review! I agree that we should land this and then make > further progress in additional patches. > > > Are you suggesting to rewriting this whole bindings doc to not specify > things in an "M x N" type of way? AKA the top of this doc says: > >> Each board must specify a top-level board compatible string with the following >> format: >> compatible = "qcom,[-][-]-[/][-]" >> The 'SoC' and 'board' elements are required. All other elements are optional. > > ...and then the doc goes on to give lists of known SoC and board values. > > > Presumably if someone were to fix this then they'd need to try to > track down existing boards so they could enumerate every known > combination? Ah, I forgot about all this QCom craziness. NM. Though I'm not sure any of these optional suffixes ever got implemented. AFAIK, downstream still uses those separate board-id properties (though the bootloaders can finally deal with them being absent). Rob