Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp7400936rwi; Mon, 24 Oct 2022 14:11:14 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6gedJEWGJL6K5fxt4xvgP5dyhagacnMlEU+7AWrJebvt8EgfGIDj7HwtbL48RiDL0u0sRU X-Received: by 2002:a05:6a00:4391:b0:56a:d241:37aa with SMTP id bt17-20020a056a00439100b0056ad24137aamr18649966pfb.40.1666645874007; Mon, 24 Oct 2022 14:11:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666645874; cv=none; d=google.com; s=arc-20160816; b=S3PS+6m0g4ZLHeRA59O0Bx3VTy2Tve4itNcwFkO5nG7hn/ZGUIShvoELgtzlCS5Akm lyJmrDNpfXZeBY5Cths/PkoTbUyYReruwktmaPaGPn7RsQa9PeJbQhIhrl3VrYIVgEeh 5MMHyz734an2vl9bOyKw/NptmwkxEz7SEX5SxAAb43YrjZGJOOlpLpBvuFEVmcFeq5Ga 7w7QDK6dVm7QqNaJJUp3qwyeTjLB8TufX7rPUzZlQUaYGGLvwQoPftPGslWGznFHpELl eNj07lKB74+uTZGPwS1d1pJU/VWZb3+7mG479u8ib4HcuIzHcsx942FafOGTI1sHwxQP GO2A== 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 :message-id:references:in-reply-to:user-agent:subject:cc:to:from :date:dkim-signature; bh=5eN1nKoPXuoCK7Gl3+FMCs35j1iBuKnWx40bT8XwGo8=; b=zP3YbC8uJhgljgKrihBBYhYeDLqfR39YqeOF5svETbmuQXjByOhHFs0MlkzoGBHmE6 TXIwSvOvWHyg397Ys7xmP81MQtUtAaCii5XnczJUIEXy/dJ9vyzo3fqNIz+4WGnmEmqS UQZdvEERvnz2Hab7jnNAogspMl+yUeJ6z96+OsvhhpOKTQH7qWHs8b3mxtOVJcBAl4Dr Bkzuml47pHp97uBMYlD8LbUwNMjsSB5oFprhRDzp9Ilq9m+aAcD5AlVNDsHBDZXOZfcM GvUOtXTLcF6N4pKo7l30Vpr7wdwARavrleZ8dsm0QbG4bl/CoiWGg3YPwJ3SkVeB5v0N ATYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=DKp3owzY; 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 g1-20020a170902c38100b00179faf5c34asi526575plg.379.2022.10.24.14.11.01; Mon, 24 Oct 2022 14:11:13 -0700 (PDT) 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=pass header.i=@mailerdienst.de header.s=20200217 header.b=DKp3owzY; 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 S232723AbiJXUts (ORCPT + 99 others); Mon, 24 Oct 2022 16:49:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235321AbiJXUtO (ORCPT ); Mon, 24 Oct 2022 16:49:14 -0400 Received: from mxout3.routing.net (mxout3.routing.net [IPv6:2a03:2900:1:a::8]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E03BF2B4160; Mon, 24 Oct 2022 11:56:30 -0700 (PDT) Received: from mxbox4.masterlogin.de (unknown [192.168.10.79]) by mxout3.routing.net (Postfix) with ESMTP id E5FBF62179; Mon, 24 Oct 2022 18:42:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1666636962; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5eN1nKoPXuoCK7Gl3+FMCs35j1iBuKnWx40bT8XwGo8=; b=DKp3owzY4XDL0mekK+h8sxv0vm1jog+pcq3JAPdytguMVom3skwnsN7RNZOuua8ih3SNdC yipXSLIYHtQKTOusPa4XVFSmSipZLGZGQQJnSAOaAAY0eNkHjJeqvDnnTRfkPv61TJa3QA wS7yc+nZ/PHp8DUk3hn2+4o01DjMIgI= Received: from [127.0.0.1] (fttx-pool-80.245.75.40.bambit.de [80.245.75.40]) by mxbox4.masterlogin.de (Postfix) with ESMTPSA id DB82C803C9; Mon, 24 Oct 2022 18:42:40 +0000 (UTC) Date: Mon, 24 Oct 2022 20:42:36 +0200 From: Frank Wunderlich To: =?ISO-8859-1?Q?N=EDcolas_F=2E_R=2E_A=2E_Prado?= CC: linux-mediatek@lists.infradead.org, Frank Wunderlich , Chaotian Jing , Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , Wenbin Mei , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: =?US-ASCII?Q?Re=3A_=5BPATCH_v3_2/7=5D_dt-bindings=3A_mmc=3A_?= =?US-ASCII?Q?mtk-sd=3A_Set_clocks_based_on_compatible?= User-Agent: K-9 Mail for Android In-Reply-To: <20221024164353.jzvx4ea442e4vahj@notapiano> References: <20221023091247.70586-1-linux@fw-web.de> <20221023091247.70586-3-linux@fw-web.de> <20221024164353.jzvx4ea442e4vahj@notapiano> Message-ID: <9940F0A3-9834-4614-A838-2E15BEABAC94@fw-web.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mail-ID: 579f50de-c9e1-4760-9af4-fc1bfa646ae7 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,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 Am 24=2E Oktober 2022 18:43:53 MESZ schrieb "N=C3=ADcolas F=2E R=2E A=2E Pr= ado" : >Hi, > >thank you for picking this up=2E > >On Sun, Oct 23, 2022 at 11:12:42AM +0200, Frank Wunderlich wrote: >> From: N=C3=ADcolas F=2E R=2E A=2E Prado >>=20 >> The binding was describing a single clock list for all platforms, but >> that's not really suitable: >>=20 >> Most platforms using at least 2 clocks (source, hclk), some of them >> a third "source_cg"=2E Mt2712 requires an extra 'bus_clk' on some of >> its controllers, while mt8192 requires 8 clocks=2E >>=20 >> Move the clock definitions inside if blocks that match on the >> compatibles=2E >>=20 >> I used Patch from N=C3=ADcolas F=2E R=2E A=2E Prado and modified it to = not using >> "not" statement=2E >>=20 >> Fixes: 59a23395d8aa ("dt-bindings: mmc: Add support for MT8192 SoC") >> Signed-off-by: N=C3=ADcolas F=2E R=2E A=2E Prado >> Signed-off-by: Frank Wunderlich >>=20 >> --- >> v2: >> - add this patch >> v3: >> - add blank lines and change "not" to matchlist >> - reorder entries - make generic first then order alphanumeric >> - rewrite commit description >> - drop soc-specific mt8183 - constraints were also set for it above > >This is wrong, see below=2E You are right,will fix in v4 >> --- >> =2E=2E=2E/devicetree/bindings/mmc/mtk-sd=2Eyaml | 113 ++++++++++= +++----- >> 1 file changed, 83 insertions(+), 30 deletions(-) >>=20 >> diff --git a/Documentation/devicetree/bindings/mmc/mtk-sd=2Eyaml b/Docu= mentation/devicetree/bindings/mmc/mtk-sd=2Eyaml >> index 3cbf0208f1b4=2E=2E31bb6dc329d2 100644 >> --- a/Documentation/devicetree/bindings/mmc/mtk-sd=2Eyaml >> +++ b/Documentation/devicetree/bindings/mmc/mtk-sd=2Eyaml >[=2E=2E] >> =20 >> -if: >> - properties: >> - compatible: >> - contains: >> - const: mediatek,mt8183-mmc >> -then: >> - properties: >> - reg: >> - minItems: 2 > >You can't drop this=2E Nodes with the mt8183 compatible should keep requi= ring two >reg values=2E It's not covered by the branch below=2E > >Thanks, >N=C3=ADcolas regards Frank