Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1815494rdb; Thu, 7 Dec 2023 09:24:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IErXn/LiByrj4uo95zbK5l1t4eFSCQAASAsjhFXxxSazPqRX7NuaPcODrru5HBT5B8R3E/2 X-Received: by 2002:a17:90b:4b52:b0:286:a068:59c3 with SMTP id mi18-20020a17090b4b5200b00286a06859c3mr2554146pjb.48.1701969893994; Thu, 07 Dec 2023 09:24:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701969893; cv=none; d=google.com; s=arc-20160816; b=R9Yjda8Jjlau0hU+aXe1sbgcFf+ajvFNO5GNXMCvBd/QWbUoXqtiyBBfOF9/TIxm72 0tK1CD658TZ4yeOrr9cnn5ID+E3Bs46nQZVaVobpEbao+KDhaYihhWYsuR1r6xnekcva LgVkJeh70mrrZy9u1f8j+Mb9LD7YzshrbqnJ+/YQ7PkoGKcYF7F3o6iybsb7ravSu+Sv 3rLq3RhjxQNuS8gPmcLMFunmYRI7HauwDJ9kvU2huZMYfW2bwrDk4lnjNsaEpyshtL+Y VQfw32px4reNs1JB2NneOzyEu5K+5pbABPvg/h1ZEfypc6vxxq3hnd09HYky3GVBSJo/ jxHw== 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=xCN86JzuyxYQUTWadW6UZP/CazZ5yOz4g3wliWdYt3U=; fh=qZ7NtIXmkqmicqkA4oJHvvRM3jYvcmDnvZnDwcbeKPg=; b=C0XBer1m75wKra5Cpkf7xr8Y87242HrqwdS3G0FLNa3pXv6VV1EeJ18sGxE4NGua5X bp7MyE5Wi5/sZ2TOZFXNFXuRQ3bSBqvjsowN7/NBmkr5e68SmiUTghB477+O5ONDIYbe aL3rgdQ8aWJENAKpYVefW8GqMOXAz34gk19lUM8+kj4zIKGkBIz7eFULrSmFvtjoQ24A iIOcrsUfFpH4M2E+dFPTT5wQGh4Ms+8hxnSP3EsBGFgjonpkCX1tFRjO3Aev6Y7+mqBG 7LZkon7s4hWdel9kUr1CjKkKR1YA6zHzjSjNmi6cID0ik272v6muI2Yvjp5M6d9q8jE2 B9HA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FYv0ynVV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id j13-20020a17090a840d00b00286d8cf5b5dsi1392332pjn.149.2023.12.07.09.24.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 09:24:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FYv0ynVV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id C22DF802FD33; Thu, 7 Dec 2023 09:24:52 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443347AbjLGRY0 (ORCPT + 99 others); Thu, 7 Dec 2023 12:24:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1443377AbjLGRYY (ORCPT ); Thu, 7 Dec 2023 12:24:24 -0500 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73FD5210D for ; Thu, 7 Dec 2023 09:23:09 -0800 (PST) Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-a1e2ded3d9fso149709866b.0 for ; Thu, 07 Dec 2023 09:23:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701969785; x=1702574585; 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=xCN86JzuyxYQUTWadW6UZP/CazZ5yOz4g3wliWdYt3U=; b=FYv0ynVV5iqfAitzMQocL2iIki+prZTdNTdv7NlkssHhzdTGBJJK3aeD+NKJ0J3eLV bzEW+FR4ZoBfDDc6ir0O5PWgwVfJnmTpG4DZoZDAwfa8xFSgZgLZDBOqGkT8wr38vby0 Doz+d4X2rgi1fmuQcbtCtPQ1Y1bJ8IGyf9D6DOS5qJYKKgwZ/peX0NVk9e+P+y6sys3Q VfjqiyoRIXyuPMGizwV/dcMiQZCJ87R4OUZ0iyQoPVXYLGTOpxjsLS8bxrm8Ux9OgVKd VxucBEK6abD3LDOY7N1SsIDepyenvch5XUOdS5baIm5r4oVgKy6Hj+wSAtBxuL5/cP5W AFRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701969785; x=1702574585; 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=xCN86JzuyxYQUTWadW6UZP/CazZ5yOz4g3wliWdYt3U=; b=UhT1/7sDKNnFNqxAXIz0JZDD+wLCFo5D/TjPXykJURPYfNpo9L8WL58eYFoR0Y2YRE A2fVm5ASWh+v3a7O7BwcbOCV+OQzlTwGr+qVxop+IF6cRe3s/p8OpLQXBcYvWTdq9rL+ EFaiNVu0gxuLMWmKftdAKaNtm/PC8OAgIKMJh7elub3Uh0AEkYXXcfPu6O70tSo9vCAN 6TgOGhHOTzZjdWWzsXTfg2vVljqfvZ+E6LysnpJ1VwY8pUkIicroTIZzAPuEiPOjmRlf jJ2OtHRvxMtCGLs9pXNb9zIz1Hqjjn64H0FlCRa5FHiPTi4fJRL60m7g+VcBjuj5AcWr +Dlg== X-Gm-Message-State: AOJu0YwxSLkNJjvrGp8bv+n6yy8fW8b+O9YJK8qdrxHWd1IPXC5hZ662 77UXkXl/GKbwmh0kDpeF61No2g== X-Received: by 2002:a17:907:350d:b0:a19:a19b:788c with SMTP id zz13-20020a170907350d00b00a19a19b788cmr1647561ejb.79.1701969784982; Thu, 07 Dec 2023 09:23:04 -0800 (PST) Received: from [192.168.1.20] ([178.197.218.27]) by smtp.gmail.com with ESMTPSA id q3-20020a1709066b0300b00a1c7f8fe581sm1074082ejr.221.2023.12.07.09.23.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 07 Dec 2023 09:23:04 -0800 (PST) Message-ID: <5ec5ee0f-c490-418e-9d37-fdcb67325843@linaro.org> Date: Thu, 7 Dec 2023 18:23:02 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 2/4] dt-bindings: clock: mediatek: add clock controllers of MT7988 Content-Language: en-US To: Daniel Golle 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 References: <23bc89d407e7797e97b703fa939b43bfe79296ce.1701823757.git.daniel@makrotopia.org> <3e72bff6-9f4d-4cd4-845e-b065f1233ec6@collabora.com> <64ee48fc-4f77-48cc-b235-c9fb2b10afc4@linaro.org> 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+NWWd7dUG5ND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xq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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 lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Thu, 07 Dec 2023 09:24:53 -0800 (PST) On 07/12/2023 18:17, Daniel Golle wrote: > 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. You need to answer this :) > > 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? It would be enough to have: system-controller: properties: compatible: foo-bar # TODO: Convert to DT schema additionalProperties: true (so no ref, but comaptible present) Best regards, Krzysztof