From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 90F9CC07E95 for ; Wed, 14 Jul 2021 02:32:35 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5F0856135A for ; Wed, 14 Jul 2021 02:32:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5F0856135A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=gL5NpZgzA1B52KjxeLjLa7H59auvfLHEwkuJFUgzvqw=; b=qpVx1Rb4uOlxiG 4g4mPrOfrZ+ff96yCtXBkGkTRiRC5d5hTsqZ8wbMNcognI83KaUt97AvMbYV/bY+41BKmn1vC4LZG epUVVt5AqlIKp2iwJuXZrHCGfdJIcYbNr1MAm/e+ODsA3NfVcxGUX3qDO0tkrlq9BrNL0S9IURXug McrPo3jvIVMzJfo+1ltLef/cDntr1kCyoNrCDIWVlmPSC8Rh5Xo3XBxKeMywRZsV++DJdxG3O1F1E aNYw1BMBo8CL7ZSWh4p6VO+qxNeOfzZmG7kpme6l91kzgmtCOzMoQyeD7CNmC8+MA5S6f3LNgz4Iv e/36h7GbeRuf1UzyrZzw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m3Uf2-00C0gF-P8; Wed, 14 Jul 2021 02:30:09 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m3UZ8-00ByHI-AG for linux-arm-kernel@lists.infradead.org; Wed, 14 Jul 2021 02:24:03 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 03AB261279; Wed, 14 Jul 2021 02:23:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626229441; bh=gOi7KaVgFlagOhuLpVTxxtzuSTGWggZ4MGJ4k0/eUo4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bo3o+hrwV9LLnk3uDznIW6nL/vu31KPyck1XxrpYKAilnLwIFk8y16XLLfLD6ivoN AZQ3UUvuWJvrs4T/6zTKZ9R4rNV9Ww9Tl4Kc+eZ+B+3TCoJC4XmR9ynRGO7KRpwdBO HBMpa0F7VAfwp6V+hbs+9o84HmK0bfQfjTeWqGplY358I59v/Q3DePQjFXOBUBsPPL 6/rfxNtT/mbWYbCZUrtzOdMTPx/Z/ZdmEMF4b82bCTU5H5heTgMPz8JOTu8CeGMlyo wxEjIPvTRvOXv7g3xBLlipJ0J1d2NNzqrDcuBYpiRRtGgOmhIMB3tNv2JOzA5oxIL2 U7G64AFABTlhQ== Date: Wed, 14 Jul 2021 10:23:55 +0800 From: Shawn Guo To: Christoph Niedermaier Cc: "robh+dt@kernel.org" , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , kernel , "festevam@gmail.com" , "Marek MV. Vasut" Subject: Re: [PATCH V2] dt-bindings: arm: fsl: Add DHCOM PicoITX and DHCOM DRC02 boards Message-ID: <20210714022354.GA31370@dragon> References: <20210525143001.9298-1-cniedermaier@dh-electronics.com> <20210602195009.GA3870858@robh.at.kernel.org> <76d6cc846f4f473083e597303956ff11@dh-electronics.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <76d6cc846f4f473083e597303956ff11@dh-electronics.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210713_192402_453772_1366A196 X-CRM114-Status: GOOD ( 32.20 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Jul 08, 2021 at 07:38:44AM +0000, Christoph Niedermaier wrote: > From: Marek Vasut [mailto:marex@denx.de] > Sent: Wednesday, June 16, 2021 1:33 PM > > > > On 6/16/21 1:19 PM, Christoph Niedermaier wrote: > >> Send reply also to Rob Herrings +dt email address: > >> > >> From: Rob Herring > >> Sent: Wednesday, June 2, 2021 9:50 PM > >> > >>> On Tue, May 25, 2021 at 04:30:01PM +0200, Christoph Niedermaier wrote: > >>>> Add DH electronics DHCOM PicoITX and DHCOM DRC02 boards. > >>>> > >>>> Signed-off-by: Christoph Niedermaier > >>>> Cc: linux-arm-kernel@lists.infradead.org > >>>> Cc: linux-kernel@vger.kernel.org > >>>> Cc: robh+dt@kernel.org > >>>> Cc: Shawn Guo > >>>> Cc: kernel@dh-electronics.com > >>>> To: devicetree@vger.kernel.org > >>>> --- > >>>> V2: Remove line with fsl,imx6s on the DRC02 Board > >>>> --- > >>>> Documentation/devicetree/bindings/arm/fsl.yaml | 12 ++++++++++++ > >>>> 1 file changed, 12 insertions(+) > >>>> > >>>> diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml > >>>> index fce2a8670b49..3c4ff79a3be7 100644 > >>>> --- a/Documentation/devicetree/bindings/arm/fsl.yaml > >>>> +++ b/Documentation/devicetree/bindings/arm/fsl.yaml > >>>> @@ -407,6 +407,12 @@ properties: > >>>> - const: dfi,fs700e-m60 > >>>> - const: fsl,imx6dl > >>>> > >>>> + - description: i.MX6DL DHCOM PicoITX Board > >>>> + items: > >>>> + - const: dh,imx6dl-dhcom-picoitx > >>>> + - const: dh,imx6dl-dhcom-som > >>>> + - const: fsl,imx6dl > >>>> + > >>>> - description: i.MX6DL Gateworks Ventana Boards > >>>> items: > >>>> - enum: > >>>> @@ -458,6 +464,12 @@ properties: > >>>> - const: toradex,colibri_imx6dl # Colibri iMX6 Module > >>>> - const: fsl,imx6dl > >>>> > >>>> + - description: i.MX6S DHCOM DRC02 Board > >>>> + items: > >>>> + - const: dh,imx6s-dhcom-drc02 > >>>> + - const: dh,imx6s-dhcom-som > >>>> + - const: fsl,imx6dl > >>> > >>> fsl,imx6s? > >> > >> In the first version I had here an additional line with "fsl,imx6s", > >> but currently the kernel isn't supporting that compatible. The i.MX6 > >> Solo is currently supported by "fsl,imx6dl". So my idea was to add > >> both "fsl,imx6dl" and "fsl,imx6s" to match it maybe on a later kernel > >> version. If there is no match with the Solo now, it will fall back to > >> the i.MX6 DualLite. That is why I had both fsl,imx6s and fsl,imx6dl > >> in that order. On Fabio's advice, I removed the line with "fsl,imx6s" > >> in version 2. > >> Is this what you meant by your comment? > > > > I didn't notice that at first myself, but I think what Rob means is > > > > - const: dh,imx6s-dhcom-drc02 > > - const: dh,imx6s-dhcom-som > > - const: fsl,imx6dl <------ this should be consistent with the two above > > > > that is > > > > - const: dh,imx6s-dhcom-drc02 > > - const: dh,imx6s-dhcom-som > > -- const: fsl,imx6dl > > +- const: fsl,imx6s > > ^^^^^ > > > > But that is a bit odd here: > > - The MX6S is MX6DL with one CPU core disabled. > > - The DRC02 device can only house a SOM with MX6S and NOT with MX6DL > > (due to some thermal design consideration or something). > > - The kernel discerns the MX6S/MX6DL automatically based on the number > > of cores it reads from some register, therefore it only has the > > fsl,mx6dl compatible to cover both MX6S and MX6DL. > > So, the closest fallback compatible for this device really is the MX6DL, > > i.e. fsl,imx6dl. > > > > So I think this patch is correct as-is, no ? > > Is this Patch OK? Can we explain that fsl,imx6s thing a bit with some comments or commit log? Shawn _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel