Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2797553rda; Wed, 25 Oct 2023 12:33:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEZyktzH0t9BuNIR5KVDhzm/ZYRjFqjbQnl8/C/S+99Yy11UzzS86kSYApkk1UbECMsGtL2 X-Received: by 2002:a0d:f387:0:b0:586:9ce4:14e8 with SMTP id c129-20020a0df387000000b005869ce414e8mr11961515ywf.52.1698262422023; Wed, 25 Oct 2023 12:33:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698262422; cv=none; d=google.com; s=arc-20160816; b=UwcDob44YcU+mX0wEt+zxLvWmhhW1cZTJpHs4oHDnRcHQMvvSy6E2bbgwt8VpiJHtz 9v6oLJR6JEMmYHnsuZiEOiYKC8cJR1fXUs1U69xGnKuWR3cxaYpo8uDbXtnxLMnTZKbI 8FdYOldpGIVy3ey3YjXhq8HjtFAGmCwWJw/s38lZGYt2RSfxLN4TMwNP9VXXeauSW2Fs NI+3Ua/wWPTRrXFRe32ZONTJAQ90hxfgl8ExaWqxy4zhb5td/oYeuXSlKayo9uApJDPQ 22WNBZccZNwmkoPkIZnjRAuVR7nE4rFSSTrjCdcxrzrxUR0AgdqZZ56r1szNc/1/hz6R KG7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=WMeG9MZNqxS33OpWNusWQZ07NUKZ/4HRV8It71VS7r0=; fh=48vzgpCO849Il67Y0FFcJNvPjkTR00H+8u8DM/v+rdI=; b=vMGKcunqfYStd1jI1cWDl5mCmIhpa80khN0Ms9r0RWVW2eY6/E5BMMBzQotdDfImOz ifvW7ZZSGf/zPLs/fTKi4Am49oTaaG7BOIobfgx3PmjMcom9ngWMZW5agFaAuyNuiPP9 jzXeUMNIsTTKfZesVneQcH1vCvGrvNNmu1PNWopomMfVZH+Vxl0oghhR+ZBDSc/xOMYE 2dtC7WrsCbcDrcVq3lQGNaLsLQsW/W0qWqkjGJMEzHUcqbel13VsR/mOpp/KFCs4l8Xe 37M91/lAZYRskeyGpo6f8D1GAXKkuAv4oJ6S56hDRbafgIAxVVj8YWs6q/YT8M0jxQnU h5SA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=nsoZwlXx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id t8-20020a818308000000b00589b2fd4c7csi12332514ywf.100.2023.10.25.12.33.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 12:33:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=nsoZwlXx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 410DB8172948; Wed, 25 Oct 2023 12:33:39 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229583AbjJYTdc (ORCPT + 99 others); Wed, 25 Oct 2023 15:33:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229498AbjJYTdb (ORCPT ); Wed, 25 Oct 2023 15:33:31 -0400 Received: from mail-ot1-x333.google.com (mail-ot1-x333.google.com [IPv6:2607:f8b0:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6419D137 for ; Wed, 25 Oct 2023 12:33:29 -0700 (PDT) Received: by mail-ot1-x333.google.com with SMTP id 46e09a7af769-6ce2add34c9so68284a34.1 for ; Wed, 25 Oct 2023 12:33:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1698262408; x=1698867208; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=WMeG9MZNqxS33OpWNusWQZ07NUKZ/4HRV8It71VS7r0=; b=nsoZwlXx4Z+8a3tRJA34cK54S3BaRF4JVVRm7rgCmIELCSD/Q+vtze/iRbIu7bJ6qr cmATAzRWZPYPvA4z9pz5lHWh6N0/8kk1KOwBxQKnuGMplgBNrOh0HQQCfvXXydOCZILf 8c+uZHhaSm17ISv6SAL2jwDaIIGadUq95uaac= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698262408; x=1698867208; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WMeG9MZNqxS33OpWNusWQZ07NUKZ/4HRV8It71VS7r0=; b=mIaFNJry70J85LgV73xDshot1Q1ABAmN4NabR3uGSh3CsdFkFK7PhREv6TbC3JbBDu Q4JFIb19PeYbTHPe2a1mgvQ6VaLV1XZ6OGeF35cSogsqYqiCI84GUJ6wSeFFauPab8Fp 3B8PS4b/sD7paVCvPSosJjQtKIMpW2cuFfLXivtK3GT++l9LOO4805z+76XbR15IRyir ivyiu3uXvzXwuBq0uYHsy3XDX52PENZkOzubsos2HIRlLpzzjKK7Hdcc65J2uJtnT6Po jhCiZoHIzmvko//P6lhmJR6CR3nqhzwX+Oi+/x5f++hZnbEFBrCkwxI7phmqsYPXzOAD JY1A== X-Gm-Message-State: AOJu0YyaLjKs2tQmUZ9wtwSEi3B7Z2M7ip4SduO7O4z+MQtUVqaOkwGr PZtUQedh+1aBv4cKbMFfjlREDqCYHS2bwHu5QX1jdQ== X-Received: by 2002:a05:6830:314f:b0:6b9:b1b1:135 with SMTP id c15-20020a056830314f00b006b9b1b10135mr20680016ots.13.1698262408688; Wed, 25 Oct 2023 12:33:28 -0700 (PDT) MIME-Version: 1.0 References: <20231024000724.57714-1-hsinyi@chromium.org> <20231024000724.57714-4-hsinyi@chromium.org> <20231024-bobbed-although-06f341259ebb@spud> <20231025-charity-replica-9c9b03380d7f@spud> In-Reply-To: <20231025-charity-replica-9c9b03380d7f@spud> From: Hsin-Yi Wang Date: Wed, 25 Oct 2023 12:33:03 -0700 Message-ID: Subject: Re: [PATCH 3/6] dt-bindings: arm64: dts: mediatek: Add mt8183-kukui-jacuzzi-makomo To: Conor Dooley Cc: Matthias Brugger , AngeloGioacchino Del Regno , Krzysztof Kozlowski , Rob Herring , Conor Dooley , =?UTF-8?B?TsOtY29sYXMgRiAuIFIgLiBBIC4gUHJhZG8=?= , =?UTF-8?Q?Bernhard_Rosenkr=C3=A4nzer?= , Frank Wunderlich , Macpaul Lin , Sean Wang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Wed, 25 Oct 2023 12:33:39 -0700 (PDT) On Wed, Oct 25, 2023 at 7:49=E2=80=AFAM Conor Dooley wro= te: > > On Tue, Oct 24, 2023 at 11:22:00AM -0700, Hsin-Yi Wang wrote: > > On Tue, Oct 24, 2023 at 8:17=E2=80=AFAM Conor Dooley = wrote: > > > > > > On Mon, Oct 23, 2023 at 05:02:26PM -0700, Hsin-Yi Wang wrote: > > > > Add makomo sku0 and sku1 which uses different audio codec. > > > > > > > > Signed-off-by: Hsin-Yi Wang > > > > --- > > > > Documentation/devicetree/bindings/arm/mediatek.yaml | 12 +++++++++= +++ > > > > 1 file changed, 12 insertions(+) > > > > > > > > diff --git a/Documentation/devicetree/bindings/arm/mediatek.yaml b/= Documentation/devicetree/bindings/arm/mediatek.yaml > > > > index fe8c488a3207..b131e0bdbf01 100644 > > > > --- a/Documentation/devicetree/bindings/arm/mediatek.yaml > > > > +++ b/Documentation/devicetree/bindings/arm/mediatek.yaml > > > > @@ -250,6 +250,18 @@ properties: > > > > - google,kodama-sku32 > > > > - const: google,kodama > > > > - const: mediatek,mt8183 > > > > + - description: Google Makomo (Lenovo 100e Chromebook 2nd Gen= MTK 2) > > > > + items: > > > > + - const: google,makomo-rev4-sku0 > > > > + - const: google,makomo-rev5-sku0 > > > > > > With these bindings, how does one describe a makomo-rev5-sku0? > > > What you have here is only suitable for describing the makomo-rev4-sk= u0. > > > > > makomo-rev5-sku0 and makomo-rev4-sku0 uses the same dts: > > > > compatible =3D "google,makomo-rev4-sku0", "google,makomo-rev5-sku0", > > "google,makomo", "mediatek,mt8183"; > > > > In this case, can bindings be listed like that? > > On a rev5-sku0, the first compatible should be the most specific one, > which would mean: > > compatible =3D "google,makomo-rev5-sku0", "google,makomo", "mediatek,mt81= 83"; > > I said the same on other google laptop bindings before, but I'm not > really happy with these compatible configurations, that seem conjured up > to suit your firmware. It'd make far more sense to me to have a setup > that permitted: > compatible =3D "google,makomo-sku0-rev5", "google,makomo-sku0", "google,m= akomo", "mediatek,mt8183"; > and > compatible =3D "google,makomo-sku0-rev4", "google,makomo-sku0", "google,m= akomo", "mediatek,mt8183"; > The actual compatible is like: google,makomo-rev4-sku1 google,makomo-sku1 google,makomo-rev4 google,makomo So I think I can remove the rev here, and just let them match with google,makomo-skuX, since rev4/rev5 share the same dts. > Cheers, > Conor. > > > > > + - const: google,makomo > > > > + - const: mediatek,mt8183 > > > > + - description: Google Makomo (Lenovo 100e Chromebook 2nd Gen= MTK 2) > > > > + items: > > > > + - const: google,makomo-rev4-sku1 > > > > + - const: google,makomo-rev5-sku1 > > > > + - const: google,makomo > > > > + - const: mediatek,mt8183 > > > > - description: Google Willow (Acer Chromebook 311 C722/C722T= ) > > > > items: > > > > - enum: > > > > -- > > > > 2.42.0.758.gaed0368e0e-goog > > > >