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=-8.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,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 D3E79C433DF for ; Mon, 12 Oct 2020 18:04:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9A5ED20725 for ; Mon, 12 Oct 2020 18:04:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404126AbgJLSEF (ORCPT ); Mon, 12 Oct 2020 14:04:05 -0400 Received: from mx2.suse.de ([195.135.220.15]:56462 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389885AbgJLSEF (ORCPT ); Mon, 12 Oct 2020 14:04:05 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 3A2D3AC83; Mon, 12 Oct 2020 18:04:04 +0000 (UTC) Date: Mon, 12 Oct 2020 20:04:02 +0200 From: Michal =?iso-8859-1?Q?Such=E1nek?= To: Maxime Ripard Cc: linux-arm-kernel@lists.infradead.org, Rob Herring , Chen-Yu Tsai , Ondrej Jirman , 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: <20201012180402.GT29778@kitsune.suse.cz> References: <59f7b5c566825838bbb62b778e05c514fe355e74.1602182270.git.msuchanek@suse.de> <20201012144753.mdxdacp7ctxxhhl2@gilmour.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201012144753.mdxdacp7ctxxhhl2@gilmour.lan> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Thanks Michal