Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1811261rdb; Thu, 7 Dec 2023 09:18:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IFMu5L/cEo/M/ngJLAfwur1/fMgQGP/7JIR3CLRr9usl65viHfcJPrsYbSl1l1U+Lm/jFT0 X-Received: by 2002:a05:6a20:26a8:b0:18f:97c:925b with SMTP id h40-20020a056a2026a800b0018f097c925bmr1800409pze.64.1701969502220; Thu, 07 Dec 2023 09:18:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701969502; cv=none; d=google.com; s=arc-20160816; b=NYLYEsD/zP3TmGsdTIF5rkLVVrb/+8saqG4iOhaG3eKqdhK0W9lCq5yOvQe1WGb4TV 7F2MlNDZNPEualuR4XkyJWEug8p16wZ2nEmoGHbKJeKV1Hy4Vr2SNqG1URG0d6Y4hYBn a5D3yIzn6miDT8yGYMjg4ohaeOvfwi/+Mh9jeoL/btNll0/XTo89XOA6+qFqwNXEhkeo MjEf3XjITLv4Egz8YAUr+VxFg3gtDQwguT+3msyt+BU5pZ6CN1hXOkIjdvOWz0BTqjyE SrjrsiuhkxQ8bHspuWRBZC0lo6fOxx5X3XFyaVc5+n2A3cgGqoAzrjt62BSk+EdokD8v PYXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=b08pO5iV3owD24Z3a4ks7uR3dPZmKbYxKElx68MW96I=; fh=jIo8yN++Pe+Clq70TaDbHTP8e0lk1iPGPjNID70dPgw=; b=dLmdPAYgWN2LmViHwFg65UH9SFOCvKbPZtDfwYNZpuU53cDiZbhdqjxKygc5wEul71 k/dlr6fsPaObRFdWneu3V9hU8UZp2DCSI6weh14EeW9FocAWvWs7V9Sx/tTBeb5TOOUK 7umzTDMjnPO50fyENvFo1MVqW3YIju0Dm9FtM1wr9fRxctozTcpaMxDaqinwAk2CI5Ec bYrQpzBZxBny6QtjC+tlgGfpOKlcRqPO/8S73EQSpdaYUBiujbqYAY3MEAmsDr9/niVd vBra7sckTweFCie2aV2hV90QN5pNna2sOaNME6NvqGrg89EPh0ORlEokypRwsE2/+S9x YlNQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id a1-20020a654181000000b005b92b048254si28284pgq.201.2023.12.07.09.18.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 09:18:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id C28A18135BF0; Thu, 7 Dec 2023 09:18:14 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233069AbjLGRR4 (ORCPT + 99 others); Thu, 7 Dec 2023 12:17:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233088AbjLGRRy (ORCPT ); Thu, 7 Dec 2023 12:17:54 -0500 Received: from pidgin.makrotopia.org (pidgin.makrotopia.org [185.142.180.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 669661716; Thu, 7 Dec 2023 09:18:00 -0800 (PST) Received: from local by pidgin.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.96.2) (envelope-from ) id 1rBI0L-00045r-2T; Thu, 07 Dec 2023 17:17:42 +0000 Date: Thu, 7 Dec 2023 17:17:38 +0000 From: Daniel Golle To: Krzysztof Kozlowski Cc: AngeloGioacchino Del Regno , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd , Matthias Brugger , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Sabrina Dubroca , Jianhui Zhao , Chen-Yu Tsai , "Garmin.Chang" , Sam Shih , Frank Wunderlich , Dan Carpenter , James Liao , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, netdev@vger.kernel.org Subject: Re: [PATCH v3 2/4] dt-bindings: clock: mediatek: add clock controllers of MT7988 Message-ID: References: <23bc89d407e7797e97b703fa939b43bfe79296ce.1701823757.git.daniel@makrotopia.org> <3e72bff6-9f4d-4cd4-845e-b065f1233ec6@collabora.com> <64ee48fc-4f77-48cc-b235-c9fb2b10afc4@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <64ee48fc-4f77-48cc-b235-c9fb2b10afc4@linaro.org> X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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]); Thu, 07 Dec 2023 09:18:14 -0800 (PST) On Thu, Dec 07, 2023 at 06:03:44PM +0100, Krzysztof Kozlowski wrote: > On 06/12/2023 13:45, Daniel Golle wrote: > >>> +properties: > >>> + compatible: > >>> + items: > >>> + - const: mediatek,mt7988-ethwarp > >>> + - const: syscon > >>> + - const: simple-mfd > >> > >> No, this is not a mfd, I say. > >> > >> Prove me wrong! :-) > > > > https://github.com/dangowrt/linux/blob/mt7988-for-next/arch/arm64/boot/dts/mediatek/mt7988a.dtsi#L564 > > > > The 'simple-mfd' compatible is required to have the Linux > > kernel probe drivers for sub-nodes -- several drivers will act on > > the different aspects of the circuit exposed at this memory range. > > From what I understand, this is the definition of a MFD. > > We know what is MFD, so no need to teach us. We expect you to look at > this. You do not have subnodes, so MFD is pointless. Showing DTSI means > nothing except that you did not test your bindings. Sorry, I simply wasn't aware that this is what I'm being asked for. Is the device a MFD? - Yes it is. In this case the child node would be a 'ti,syscon-reset' which doesn't have YAML bindings. Should I include it as object without $ref or do I need to convert ti,syscon-reset.txt to yaml first, and then reference it as child node in the MFD?