Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp3869523rwl; Sat, 7 Jan 2023 07:12:16 -0800 (PST) X-Google-Smtp-Source: AMrXdXspwHnquYIW1+FFEZTav/DamwJV3xlH7oDYepPse8WwHhFYF8hh1yVzjpPueojBPXO0Jd/5 X-Received: by 2002:a17:90b:796:b0:219:5f68:586e with SMTP id l22-20020a17090b079600b002195f68586emr59880184pjz.18.1673104336362; Sat, 07 Jan 2023 07:12:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673104336; cv=none; d=google.com; s=arc-20160816; b=TT5mYCJwX6kH+0gY194WGJPjtbF8Vdj7fXLf2aWk03xwrgS6imMQ93feNY95kpgeP2 VSLioVVYIiowglidQgPmzqgwUbvii5G2lYjNxB6sUZFPiXAPzmobc8wAykek5k3eXC8Y FigN85OOdy0d402pbmV5eOijR8n0dQNgc++ZnhuMA8wfha5LWkaXg6RSZX/GTTJj6UKo zZdcm6TMsls8BryLOSPOPEcWOW3lFf/6+m/v5xYHXIUiK1vDfuaDXsHp+6w7UzPZbGgT FpLvvRScmggxv2BjFmbTqkumvz3E2Que45RQl7sUanzVYsfuLl77wWkuScotUK+kiczs 43bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=7zgd0lbRdB3sPABnhmH1sTmDt7hs8UM+QInSldgAUns=; b=fKQkdla8mHb2OHnFcLoWlOboznRth2iiT5WPzlrIWFQk2ga6Z+pq69pZ1HgctFlifP UEJkN3bb8O4u13aM6RjElNHPwaCKigWYOe22mEJm+LVwVz/UTWNqC0QKVxO14FuWojva Q1LZNdtzUjpEMPexSLHmW6Mi6HsS/6pI52dyvJ3kiwVahZl1qdry1GgiGHCWKUnn75DF 5oK6mIBSQbRt/JnGwoycFizKSabsPxmXEtuLNR1zUbcsvkhGkcWT/wiYugLjEcJqXqZM Xrtbd61BLu9b6CKATSNTVyU51bBA21Bv79OaLyjPVHQAEdHKUp2XaECt+WgCCLSCRry7 xaGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20220719 header.b=qP8IRVdK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n4-20020a17090aab8400b00213213d63bbsi4113099pjq.41.2023.01.07.07.12.08; Sat, 07 Jan 2023 07:12:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@kemnade.info header.s=20220719 header.b=qP8IRVdK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232743AbjAGPB4 (ORCPT + 56 others); Sat, 7 Jan 2023 10:01:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232531AbjAGPBT (ORCPT ); Sat, 7 Jan 2023 10:01:19 -0500 Received: from mail.andi.de1.cc (mail.andi.de1.cc [IPv6:2a01:238:4321:8900:456f:ecd6:43e:202c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B760CB7; Sat, 7 Jan 2023 07:01:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20220719; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=7zgd0lbRdB3sPABnhmH1sTmDt7hs8UM+QInSldgAUns=; b=qP8IRVdKGiOer2vs894ih2yguC Pw/vx/hApVCpQvKfZRId2yV42Pv1U6OesMeNwqG8sIafGzx09QMfYW40Ywp5e9z9ZoR0ZZRRwOhY0 ErlL8ZvkLLSW2p8kKYV9mCqvhNL7iYXC4kFME2EypUvk3ov8/au30gZECNqDYc3VS8l7umMOtvFBO 6xq5plXHVyHN2RMiAQjMOh4U74Nw5AU8LvlHAcpnWNnaDzvrmlpyU5KuEd0d21qxHmGJFabgFqgC0 XzGfn0nxD44yonCv83aKquQ1S6naYJXuDDZl+511M1/aKjXnZteyiRaXv549WCtDBRW7Y4d6qkhso 7TXUEefw==; Received: from p200300ccff2fec001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:ff2f:ec00:1a3d:a2ff:febf:d33a] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1pEAh1-0005EM-2T; Sat, 07 Jan 2023 16:01:07 +0100 Date: Sat, 7 Jan 2023 16:01:05 +0100 From: Andreas Kemnade To: Krzysztof Kozlowski 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 Subject: Re: [PATCH] dt-bindings: mmc: fsl-imx-esdhc: allow more compatible combinations Message-ID: <20230107160105.66df4136@aktux> In-Reply-To: <0ab84fb8-6173-54e0-abad-a0e0e4ba82e7@linaro.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> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -1.0 (-) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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)) 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. Regards, Andreas