Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4613264pxu; Tue, 13 Oct 2020 02:51:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxVgt9hbsSvH9A1xfcpqgL7UcSvUaSCP6lGcVLhC7xaHnUGuT5EM23DwAqBzF7ZCFmRfKN X-Received: by 2002:a50:d517:: with SMTP id u23mr19169002edi.338.1602582664654; Tue, 13 Oct 2020 02:51:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602582664; cv=none; d=google.com; s=arc-20160816; b=YB6WwwWjKX2MuuqaZOeCuaUlsX8m9b+s1PzgBnIY7OU5ZIwJUY24c9Imige3M5RC2M 4nS/+GbewU5/2K/PqbZgd0wtdjrcmgJjIDyiOFGXZ2TlD21Yi39K5Lg0gHgc4Q2cev7B 4p+HuBaYFK6BTSplSuVYihKbNfuHBISpe4TJIoitGrthZCdhBIoYr4MtRewKxpuj7me9 JCaGrWCxG4Mhcrb3MWtVlgdhe/VciCSSI57jn2quLfr1rfWSaYD41o+6RiyO1Qv/98Vo Kapk/zWi2qkEI56o7Dii+T7D5gc9Ww3NtYiX6gBGznvAmM1ayDxvJgavlVnAUTY9RYmn WyPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=v3BDO3GARJEpDHGiZPqK206YC848npOOf0LSsrCrQ5k=; b=MOhfx5ZIe4jqVLQGDRKJoyctS/6+v6IwikTp7gwpffOHvEMIDuzyAU0pULxSrFBGBu /GIsFElnkjoIPAlsWN2IDrHKvVxeKng0nG80Xl0ZmXhAhmvMsr5BLSPzVzg9wQyySknH 7Zv/WzZrB9JFlWtOKEoIL4fGsZk0e1f2G3/D6pF7dXAQDS98n6bVS57+em1sAdtswJB1 Pq802Grq8M6Aw7K7TP2cWipfreSpxWkrMQBB49tuDQke1rcJTUGKA8ZVDp7vl7a4Y7It 7O6mxCMmlLXFHGq+no+Z28w40bdwOXLxIaYMaOUmy04MpOwc/Qcp6bAjzJloTDBGy9J5 J1tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=cETaPUYq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=megous.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w1si14391292edf.589.2020.10.13.02.50.42; Tue, 13 Oct 2020 02:51:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=cETaPUYq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=megous.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731165AbgJLUD3 (ORCPT + 99 others); Mon, 12 Oct 2020 16:03:29 -0400 Received: from vps.xff.cz ([195.181.215.36]:33626 "EHLO vps.xff.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728667AbgJLUD1 (ORCPT ); Mon, 12 Oct 2020 16:03:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1602533005; bh=ctOVVTXA/4Clqll9UdKKkDYlRZ4WS+UhYyf1vMRNVA4=; h=Date:From:To:Cc:Subject:References:X-My-GPG-KeyId:From; b=cETaPUYqtaL370/kf8lUz/SpbvroD/bT9ZWlyL4ac2ciOtkw6/WBkPYhwqMvgq9Is B3xCOgSC54xfkKFNeemVbdS0Or/U8lUoOAKWXi2VxiMvQWSVvwaBA22Lq/KAXGJay8 G6gbtFurSr3XlOTT7lDcbiKof3IGxMKJBbVkhwiU= Date: Mon, 12 Oct 2020 22:03:24 +0200 From: =?utf-8?Q?Ond=C5=99ej?= Jirman To: Michal =?utf-8?B?U3VjaMOhbmVr?= Cc: Maxime Ripard , linux-arm-kernel@lists.infradead.org, Rob Herring , Chen-Yu Tsai , Corentin Labbe , Stefan Mavrodiev , Icenowy Zheng , Georgii Staroselskii , Bastian Germann , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] dt-bindings: arm: sunxi: Fix Orange Pi Zero bindings Message-ID: <20201012200324.yua77qwqbgfh42z7@core.my.home> Mail-Followup-To: =?utf-8?Q?Ond=C5=99ej?= Jirman , Michal =?utf-8?B?U3VjaMOhbmVr?= , Maxime Ripard , linux-arm-kernel@lists.infradead.org, Rob Herring , Chen-Yu Tsai , Corentin Labbe , Stefan Mavrodiev , Icenowy Zheng , Georgii Staroselskii , Bastian Germann , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <59f7b5c566825838bbb62b778e05c514fe355e74.1602182270.git.msuchanek@suse.de> <20201012144753.mdxdacp7ctxxhhl2@gilmour.lan> <20201012180402.GT29778@kitsune.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20201012180402.GT29778@kitsune.suse.cz> X-My-GPG-KeyId: EBFBDDE11FB918D44D1F56C1F9F0A873BE9777ED Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Michal, On Mon, Oct 12, 2020 at 08:04:02PM +0200, Michal Such?nek wrote: > On Mon, Oct 12, 2020 at 04:47:53PM +0200, Maxime Ripard wrote: > > On Thu, Oct 08, 2020 at 08:40:06PM +0200, Michal Suchanek wrote: > > > There are two models of Orange Pi zero which are confusingly marketed > > > under the same name. Old model comes without a flash memory and current > > > model does have a flash memory. Add bindings for each model. > > > > > > Signed-off-by: Michal Suchanek > > > > Unfortunately, changing a compatible or a DT filename is not an option > > So how do you handle the situation when you find out that there are two > different devices marketed under the same name? > > Surely the device tree is labaled by the device name but now you need > two device trees that describe the two devices. You can for example make the new DT name *-flash.dts, instead of changing the name of existing DT to *-noflash.dts. Or if there's a version number on the PCB that differs from the older variant, use that version to differentiate the newer board DT. regards, o. > Thanks > > Michal