Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp885840rdb; Fri, 20 Oct 2023 02:13:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGjI62BjHfqX78ZaSb73qMxJES/K68aoTWgqV8cIggqq1WfeGvRGhJPOpujHPH8PiJCbe8Y X-Received: by 2002:a05:6808:1a0a:b0:3af:a72a:96e2 with SMTP id bk10-20020a0568081a0a00b003afa72a96e2mr1561926oib.7.1697793191740; Fri, 20 Oct 2023 02:13:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697793191; cv=none; d=google.com; s=arc-20160816; b=QY0n+NC6FDhuq5saHFZKS6z/cjxQA1C6r4WniGJV+vgIZ4RbK8iM98vqjTiZ8W2B0V PP1/3YnNO50dr4qnamtrVS1/sYu1nW9IGqz5LYDkkDx+HipZ8NI/7gQDt+1/qUSrWEiZ v1FIjbA2U7aU4i0ezGFu9E+9BJhzCD92PQoqxK79nv2KA7N5mVDb7qFb971CSQVzLL0K ARZEddgz5UAdUyzcHg6F59UtZtcBfon3e/gtYsh6DtL8lH4ioX3zTlMEYEinYMJQQcxp iR8e6QiFsHoV+VSced/a+4MCRoAyNxHGUUsarX3CtIY66BF8xJmMVPdvvFvBeasK/A3h t+Vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=HN2I5nh+oC2ndVXRmDeD0vH83PJI24dhJj907LkvOWw=; fh=1bRU9c/zMeKy2L249HhO0nUP+t/xit0F+vlcHu2CoW4=; b=HpxuSEQZgv3BaT/DwTSxQGAFqIQFZUUMG7U6vSOCRpmFWj7fAxlWTN9jO6gLSjhnrw RdSbZMSdTUNzRlgftmgr0bJxyVbR5FYCBGuSVYEddFDibKt5GfvUZlhKB1Hh1Gp3fEIu pMdKCAKEhtt/Hy944AJFgKDt8hQDFOCI59nfRV50bCPGGNVpy6MsOgVTmA8RX8NyH38Q 3Qslas8jmGayl/szlAn98W7961eng/gq1Gj5sO9SKZ4lDZcS6CpGsmT7vcM5TLbRp/il sRH8G99PBxUO3+KE3lttCxd3IYvpsfih8035Q08O2JqZBlXggxyOJaF0BDBZIham/s1B Rp1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uQJE5Cyu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id b22-20020a639316000000b005ad9225f69esi1450779pge.692.2023.10.20.02.13.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 02:13:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uQJE5Cyu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id C335E82276FF; Fri, 20 Oct 2023 02:13:08 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376600AbjJTJM5 (ORCPT + 99 others); Fri, 20 Oct 2023 05:12:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376523AbjJTJMz (ORCPT ); Fri, 20 Oct 2023 05:12:55 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08DE6D55 for ; Fri, 20 Oct 2023 02:12:53 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-32da7ac5c4fso415186f8f.1 for ; Fri, 20 Oct 2023 02:12:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697793171; x=1698397971; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=HN2I5nh+oC2ndVXRmDeD0vH83PJI24dhJj907LkvOWw=; b=uQJE5CyuTG7m/Hspv6ds6MdKFf1z2dND8vLE3nxTZhF/UyGc+hdgWmZ/wg+agHsQRh n/MSIu1rejmaXkvUfnP3bkd7uUju02mTL5t5S1WZ4QiOBzJd/sHzhWQc09HkbVAbgbC/ 1Uhshq1x7fZIrmpz5cipDF3F6CnfEZRaHDq1TvzFv6UhqQGZhF4c87P2L9sw3xUzH7U6 QmRtIyjpFHZG8BKnhd0S+we4OrIRD09HD5vQ5/rZZLhvrZ9LqqpS02v0pS3bztED+6BZ JAHu4ZtHkvC7rSwVZLUReakhnec5CvmXNT3/39dJLRK7vBx/lgTSTwo7RY83ZHowPJ0o FrNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697793171; x=1698397971; h=content-transfer-encoding:in-reply-to:autocrypt: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=HN2I5nh+oC2ndVXRmDeD0vH83PJI24dhJj907LkvOWw=; b=crctNr/S4fUYFAapoKb3Ccn89G3okfJni9N9luwXYI2uopdLEb7wqVOd4ujLiT4GMz LmbFHsq3K++AWlhwsw96c2E2/0tvHX82ikgDXGf+kgzm7u+KS5ZOxrqDSxCnZiO0RBp2 iFYaiuxvUqpp03v+x/inH3De3Bv2X0APpmU4mjiOB35InV+ebbRQ9oSoyTZbOGow+JaK kMv1Vd1axjnThrveWTdDIxQM3LcpZ+501jhv/M1ao6X/kthPdCeP2JnTS1NhklADJL6r s6yf8nZ3we0Pg4ZSQ9ua6VCksH9oTBDny+SaXz2JnYHk/lwrW/+jyDfhRtpsH+f0+Bpy hMeQ== X-Gm-Message-State: AOJu0YxppscCPugYbhLbuvPNfhZoB4yt6olbAxexketkJWJO9WHP2nqU SNzRKG08UpWXlhGANgzR1i0MXg== X-Received: by 2002:a05:6000:11c7:b0:31f:b120:143 with SMTP id i7-20020a05600011c700b0031fb1200143mr852303wrx.59.1697793171074; Fri, 20 Oct 2023 02:12:51 -0700 (PDT) Received: from [192.168.1.20] ([178.197.218.126]) by smtp.gmail.com with ESMTPSA id n10-20020adffe0a000000b003200c918c81sm1237195wrr.112.2023.10.20.02.12.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 20 Oct 2023 02:12:50 -0700 (PDT) Message-ID: <00a64eaa-0e6d-419a-a54f-d67fe2b60a7b@linaro.org> Date: Fri, 20 Oct 2023 11:12:49 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/9] dt-bindings: arm: mediatek: Add MT8186 Tentacruel / Tentacool Chromebooks Content-Language: en-US To: Conor Dooley , Chen-Yu Tsai Cc: Matthias Brugger , AngeloGioacchino Del Regno , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org References: <20231012230237.2676469-1-wenst@chromium.org> <20231012230237.2676469-3-wenst@chromium.org> <20231013-washer-mortally-b27c196ac50f@spud> <20231013-panic-vaseline-350c10e7d585@spud> <20231014-proud-levers-eb03f30a0a9a@spud> <20231018-earpiece-dimmed-81c0f728d0b6@spud> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTRLcnp5c3p0b2Yg S296bG93c2tpIDxrcnp5c3p0b2Yua296bG93c2tpQGxpbmFyby5vcmc+wsGUBBMBCgA+FiEE m9B+DgxR+NWWd7dUG5NDfTtBYpsFAmI+BxMCGwMFCRRfreEFCwkIBwIGFQoJCAsCBBYCAwEC HgECF4AACgkQG5NDfTtBYptgbhAAjAGunRoOTduBeC7V6GGOQMYIT5n3OuDSz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earpiece-dimmed-81c0f728d0b6@spud> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Fri, 20 Oct 2023 02:13:09 -0700 (PDT) On 18/10/2023 17:07, Conor Dooley wrote: >>> Then it seems like what you need is something like >>> oneOf: >>> - items: >>> - const: google,tentacruel-sku262144 >>> - const: google,tentacruel >>> - const: mediatek,mt8186 >>> - items: >>> - enum: >>> - google,tentacruel-sku262145 >>> - google,tentacruel-sku262146 >>> - google,tentacruel-sku262147 >>> - const: google,tentacruel-sku262144 >>> - const: google,tentacruel >>> - const: mediatek,mt8186 >>> >>> What you have at the moment just seems like a hack because you want to >>> stuff all of these compatible strings into a single dts. >> >> It is. And it works OK downstream. The reason we want to stuff them in >> one dts is because the firmware will not generate the fallback to >> sku262144 as the scheme above suggests. > > I'm not going to ack the hack that you have here, sorry. Maybe Rob or > Krzysztof will. The list your firmware generates above doesn't even > match the contents of this patch, with the extra "rev-4" compatibles. No Acks from me either... Chromebooks board compatibles are a long standing confusion for me and every time I forget why this is so counter-intuitively. My comments for changing this were rather receiving feedback "but our firmware likes it that way". OTOH, board compatibles just have to be unique, so we could accept some weird, counter-intuitive combinations... but it does not mean I should be happy with them. Best regards, Krzysztof