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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2E478C54EBC for ; Sat, 7 Jan 2023 15:07:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231800AbjAGPHl (ORCPT ); Sat, 7 Jan 2023 10:07:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230092AbjAGPHk (ORCPT ); Sat, 7 Jan 2023 10:07:40 -0500 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B6D267BCF for ; Sat, 7 Jan 2023 07:07:39 -0800 (PST) Received: by mail-wm1-x329.google.com with SMTP id ay12-20020a05600c1e0c00b003d9ea12bafcso137525wmb.3 for ; Sat, 07 Jan 2023 07:07:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=+5NdmOy1Ai82n93j2R+2KO8HXukW+/GStni2h9f4Guo=; b=J2grbRRYLvRvHQMNex7quauPQpxtJI12KZZofBJvtRSuVlLdQJ/OeU30i6jI10nCc6 U2Hvlg6vgdFkr3qrJvQXio75A+5k/rxuaHC9VFUE6QUIk4YAxjdss1rDu1HJNbyp9CZo 1J9QeRwewJg64YAZxER6eiozsN4budlK1N1b+whwLwhNaFNBRO9HdxHLe3gYitFmyjlv 6UbNZqD9FuYnjCisYHdG3X7n40fA8diSShoUA1Q1M5sqglvOxK8fRh0SBJs6qIPZXuhU ZIGP152Xk7jk/LhHPqRYzbJ7SrUIhLSFWDO4nQ+XcwxjDViC5YLRohZMy+6uaLyfBRVg +onA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=+5NdmOy1Ai82n93j2R+2KO8HXukW+/GStni2h9f4Guo=; b=7lW27yero/77bFN6wrWAGqZixFjylE1vvQJ64RDhu6+5H59RGoAiF/FlVWY5dG1/5B t3pVUtOclektQIZv0qLrjuMOap3z+0qQ2RJLYmgZupmOHuYmkAD5X6vwGVAz7elVwGv3 9zvd+VTuww5OF4r8VRlXvJuo+y39HvDqUyQ2KlQ+ni/zMP5s+CcVWKmj22ZJ0z7iYkj6 EkbI0pafQ0X97Xtd0fOdJceXH6ATW1/E7GofPKq7zSeXNyFvwJbeSeVRuYHL5NB/sWKe y1C7FZ03T/ztdnI9nGtnDm21wvH43/LB+HOzHlkcGYxhzcapLfuKLPlqYamAfQxCoN5b aD7w== X-Gm-Message-State: AFqh2kpd8/EFZmWIYNJI8UoFCwV/e59apJoUbL729HeWN6+OMaWXely5 IvGZd3kCWq4ZHa7J+kG7vwUhCA== X-Google-Smtp-Source: AMrXdXtQ+AVqw4FmyKIXZ2qw5rRUUMYF+o2woAsQxnVzG1eBHl9KZ2kRFMIfKUD/kbeeXOvMWwv7iw== X-Received: by 2002:a05:600c:1c21:b0:3cf:9844:7b11 with SMTP id j33-20020a05600c1c2100b003cf98447b11mr50993432wms.23.1673104058040; Sat, 07 Jan 2023 07:07:38 -0800 (PST) Received: from [192.168.1.109] ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id g14-20020a05600c310e00b003cf5ec79bf9sm6034449wmo.40.2023.01.07.07.07.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 07 Jan 2023 07:07:37 -0800 (PST) Message-ID: Date: Sat, 7 Jan 2023 16:07:35 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH] dt-bindings: mmc: fsl-imx-esdhc: allow more compatible combinations Content-Language: en-US To: Andreas Kemnade Cc: ulf.hansson@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20230105213856.1828360-1-andreas@kemnade.info> <20230106203358.14878660@aktux> <967cc7b7-f0bb-de37-52b9-7bfab05eadd7@linaro.org> <20230107144336.2ecff4f9@aktux> <123d1a56-8134-dc75-8b2a-b3836e727d4a@linaro.org> <20230107150740.0ba34aa1@aktux> <0ab84fb8-6173-54e0-abad-a0e0e4ba82e7@linaro.org> <20230107160105.66df4136@aktux> From: Krzysztof Kozlowski In-Reply-To: <20230107160105.66df4136@aktux> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 07/01/2023 16:01, Andreas Kemnade wrote: > On Sat, 7 Jan 2023 15:09:24 +0100 > Krzysztof Kozlowski wrote: > >> On 07/01/2023 15:07, Andreas Kemnade wrote: >>> On Sat, 7 Jan 2023 15:00:56 +0100 >>> Krzysztof Kozlowski wrote: >>> >>> [...] >>>>>> I asked to remove half-compatible. Not to enforce. >>>>>> >>> so you are saying that allowing >>> compatible = "A", "B" >>> is not ok, if B is not fully compatible. I agree with that >>> one. >> >> I did not say that. It's not related to this problem. >> > You said "I asked to remove half-compatible" that means to me > remove "B" if not fully compatible with A which sounds sane to me. > >> Again - you cannot have device which is and is not compatible with >> something else. It's not a Schroedinger's cat to be in two states, >> unless you explicitly document the cases (there are exception). If this >> is such exception, it requires it's own documentation. >> > so conclusion: > If having A and B half-compatible with A: > > compatible = "A" only: is allowed to specifiy it the binding (status quo), > but not allowed to make the actual dtsi match the binding documentation > https://lore.kernel.org/linux-devicetree/72e1194e10ccb4f87aed96265114f0963e805092.camel@pengutronix.de/ > and > https://lore.kernel.org/linux-devicetree/20210924091439.2561931-5-andreas@kemnade.info/ > > compatible = "A", "B" in the binding definition: is not allowed ("I asked to remove > half-compatible" (= removing B)) No, half compatible is the A in such case. > > having mismatch between binding definition and devicetree causes dtbs_check errors > -> also not nice. > > I rather drop this patch and learn to live with dtbs_check errors > for this one since I have no idea how to proceed. All roads are blocked. > This all causes too much churn. And why you cannot implement what I asked for? Best regards, Krzysztof