Received: by 2002:a05:7412:8d11:b0:fa:4934:9f with SMTP id bj17csp512696rdb; Mon, 15 Jan 2024 04:57:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IFWv3gFffFIhTi6Es6CpZZiBVHIz/pMORy3VMwE75qqPNZPVWheKCxVZSQ5rIm/R/GIGeBz X-Received: by 2002:aa7:d3d1:0:b0:558:cf66:9748 with SMTP id o17-20020aa7d3d1000000b00558cf669748mr2658999edr.38.1705323456879; Mon, 15 Jan 2024 04:57:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705323456; cv=none; d=google.com; s=arc-20160816; b=dR3GnIc03HtEEJYedbP8cmGTbJ0YMEVincQ1XsF0lJFm1nnWLgAQa+u/U20W9egFp3 +apRCIdCe2nN6wFfRfpxflOqA6BuZKMWqjoBqUf/ot2A9uuKJ9a+RD8y7Nwt6nB8IMkP wsoWOktNtjbM3zh3OqrWR4NZvLdmem8b2+gktQ7Rmg+8e7RBCYwJWNyNgHEcZfxwUgog 7YeEjYKk7oakJQKs82ToTcBspgFS/5Bb6Z1QlfO+/vDZjZAsxl2Bp2imZ1qXqKVMK4Hq /GT8fFzfvn00+v+9vgGqs+/MgxDP4972CbN4PZJivTm4yu24AGuYvoC1iXKSDgNZVvME cXog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=iVzF8C/6HG6CFkGeWOtmqNfxcQ/XO75kr+E1fd0CXSc=; fh=7WQZH35tuVURmOuV+0UsoNruDPkGFVXGtFmIMBYbu20=; b=DIDq+emnjUNYKcojQCGzPGsyBUILWuqZ8MiFhGdpKq3S2NbLyy6kXQJ/kxJSDhGnia T/oygcTZSCV6XmGlhvYYDEiwwSaQVaNHbN707ef1wX5coaY3gRUtj6aYOALepxAU8BXb vax41pCtHU6loGVCh99U0bFR4Q8tAdWTq9uog8V1bg33pjnZ4BU8opQdyHskyZOhyORH 4X8IFm8d26qCIlBu0v1xil5IRs7Dz/FWUWiOH5AmAAgE3fglP5NnZEnCea91nwsabDDF CqALGjqEjjhNUFvm5KptxRj9FK3JssIFLTZCFSqX2EZHM9R3IDJN75V/XLIvjgNUJ6UO Lypw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gt6mzu67; spf=pass (google.com: domain of linux-kernel+bounces-25979-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25979-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id x30-20020a50d61e000000b0055949897ce0si859676edi.282.2024.01.15.04.57.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 04:57:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-25979-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gt6mzu67; spf=pass (google.com: domain of linux-kernel+bounces-25979-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25979-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 5E0F01F2160A for ; Mon, 15 Jan 2024 12:57:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 431B11643A; Mon, 15 Jan 2024 12:57:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="gt6mzu67" Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B564F168A8 for ; Mon, 15 Jan 2024 12:57:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f47.google.com with SMTP id 4fb4d7f45d1cf-5592d72ede0so1134792a12.3 for ; Mon, 15 Jan 2024 04:57:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705323444; x=1705928244; 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=iVzF8C/6HG6CFkGeWOtmqNfxcQ/XO75kr+E1fd0CXSc=; b=gt6mzu67rCZZUTAPSzi2aNE5wShn89/0ybp535Td9M+h6lxIqRHBU+5Wgq97mn8A4+ gZN2Y85SD67cmeG6pbCiAh6i1bFhbeOQIhhvsX4LDwVny03y7xUnzbu3lTM7EXYUoDqn BWQuw8tCs0YY6o+gln82mpsn6Bt8cHWODxgm1P/09F68TAYaqNoHS4UC2RCaRYCAnCZF vRWExHVfuLi4PMafVpOT20yInoKaFgGt+lUXmD3Sr8ar/uFIiSxNT6s9IZAB9EnuBj5S Sb+rfF/Qzazm6XHs488M+CfMqhrbBFnVEs5fecMCe7r+61fLPA4DElBTUn5zhphzWXSx 1Eig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705323444; x=1705928244; 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=iVzF8C/6HG6CFkGeWOtmqNfxcQ/XO75kr+E1fd0CXSc=; b=ML/dgj53mTeAQYXEQV0519rwizOfqwpJysaCuRsi44apJsTAkGfn3ZYg3fPZ6bkGn9 Jf3h3gJJGrhBIBfTHtALPNq+YfzJAPU4gU1o+dHvH4zTXEhDRTalZLNFFzggAlUo255/ W/LbQXfDaKHzfKI/qkZWfHVver1ONgZ4VysBl77ZRjE5iaPhd89RhqRi7YdUcpVGb3AO g4+4CnO5L4hw71mvPp2ZuYQ2vsm3aBjaExsdecKha11ohEZGmtApUCwte/Sv7eSKkysg e1GZu7vWi1ksj9ogpNTrN7mKD85jls1J/DWPJoRYYiEziiFO4QxBpWmvdlbX1I6eXnX3 fVHA== X-Gm-Message-State: AOJu0Yz86tU7VdGjWW+CjLAh3yIwugchO0BGUZc7f8b5wbABbP6DkcaJ /dO0BKMUkJP+pv3WznHH7wARmVKAkRY93Q== X-Received: by 2002:a05:6402:948:b0:558:30df:b183 with SMTP id h8-20020a056402094800b0055830dfb183mr2439321edz.22.1705323444057; Mon, 15 Jan 2024 04:57:24 -0800 (PST) Received: from [192.168.1.20] ([178.197.215.66]) by smtp.gmail.com with ESMTPSA id q8-20020a056402040800b0055703db2c9fsm5468958edv.1.2024.01.15.04.57.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 15 Jan 2024 04:57:23 -0800 (PST) Message-ID: <7b0a4e42-6d34-491a-9ec2-0df61dbe2b19@linaro.org> Date: Mon, 15 Jan 2024 13:57:21 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH RFC 2/3] dt-bindings: clock: Document T-Head TH1520 AP clock controller Content-Language: en-US To: Drew Fustini , Jisheng Zhang , Guo Ren , Fu Wei , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Yangtao Li Cc: linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, Emil Renner Berthing , Han Gao , Xi Ruoyao , Robert Nelson , Jason Kridner References: <20240110-clk-th1520-v1-0-8b0682567984@tenstorrent.com> <20240110-clk-th1520-v1-2-8b0682567984@tenstorrent.com> 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 TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09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GxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240110-clk-th1520-v1-2-8b0682567984@tenstorrent.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 10/01/2024 17:35, Drew Fustini wrote: > From: Yangtao Li > > Document devicetree bindings for the T-HEAD TH1520 AP sub-system > clock controller. > > Signed-off-by: Yangtao Li > [add link to reference manual] > [fixed dt_binding_check warnings] > [revised commit description] > Signed-off-by: Drew Fustini > --- > .../bindings/clock/thead,th1520-clk-ap.yaml | 65 ++++++++++++++++++++++ > MAINTAINERS | 1 + > 2 files changed, 66 insertions(+) > > diff --git a/Documentation/devicetree/bindings/clock/thead,th1520-clk-ap.yaml b/Documentation/devicetree/bindings/clock/thead,th1520-clk-ap.yaml > new file mode 100644 > index 000000000000..53e7802a4ad7 > --- /dev/null > +++ b/Documentation/devicetree/bindings/clock/thead,th1520-clk-ap.yaml If this is for the header, then two patches should be squashed and you should use the same name for the header. > @@ -0,0 +1,65 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/clock/thead,th1520-clk-ap.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: T-HEAD TH1520 AP sub-system clock controller > + > +description: | > + The T-HEAD TH1520 AP sub-system clock controller configures the > + CPU, DPU, GMAC and TEE PLLs. > + > + SoC reference manual > + https://openbeagle.org/beaglev-ahead/beaglev-ahead/-/blob/main/docs/TH1520%20System%20User%20Manual.pdf > + > +maintainers: > + - Jisheng Zhang > + - Wei Fu > + - Yangtao Li > + > +properties: > + compatible: > + const: thead,th1520-clk-ap > + > + reg: > + maxItems: 1 > + > + clocks: > + items: > + - description: main oscillator (24MHz) > + > + clock-names: > + items: > + - const: osc > + > + "#clock-cells": > + const: 1 > + description: > + See for valid indices. > + > +required: > + - compatible > + - reg > + - clocks > + - clock-names > + - "#clock-cells" > + > +additionalProperties: false > + > +examples: > + - | > + #include > + soc { > + Drop redundant blank line. > + #address-cells = <2>; > + #size-cells = <2>; > + > + clk: clock-controller@ffef010000 { Drop unused label. Best regards, Krzysztof