Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6459394rdb; Tue, 2 Jan 2024 02:39:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IHP0hSQGBy6Q7rukGxn/JmbxDCI98Gl4VW+uYwt87AAitNX82EhbRPVqFC4hO9pe81kQ5Bh X-Received: by 2002:a17:903:64d:b0:1d3:f112:2c03 with SMTP id kh13-20020a170903064d00b001d3f1122c03mr17101587plb.53.1704191951577; Tue, 02 Jan 2024 02:39:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704191951; cv=none; d=google.com; s=arc-20160816; b=AHzHM0P65nGSZSFhuX9nUASRdKeTvYvret1r4LYj3tOLFqL9LORPAq13gxOfT1WwFS mtON68figJr23RpZyoDa7ZB9OOjOMDmQqpErJZ/6th8aEFy5O4dElydD+haVwohWaYKt JxOrRoEQFmolYe6V0LJkFeHkIEz0Pmh6/GRBiZL/vim01fSRsWCR4IPjZ3OCThz7g1qU tqv7/wzDbapITZ3uwuXW+gjrCt87xvqj/9iuMifF/tBhJQlttdGEE4+Bar2anh2JPy04 vG/eW2E11tZxFbZTLmrQ4sxTEvX3+bC/khsjspMppJEgn1fBfVmboysX9rjLrBOgeEB/ uBNA== 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=6I/ZeMGGOiFDUJYSRFCMtUApKW3uRQm4MZAuRqFbg8Y=; fh=buUdGrwq/0xBlJ4pk3NhSe6fm8vVNgajjQq14ZJl0hE=; b=Wy4FwxUUkdqGvuzctl91qLRQjHjo0h0M2IrswFCRla+8Qo9fd6F+ot8yr65CvRF6Yw AIUtGJ0ZS1W2aeWOXpkFxt4pz3rForSEdWcw0HsiCNQ4QeoFnHUKAh3t04rdJZcmJpJh rTWALgkAqWCDO7woT1cTW9ZxlcQOKw3WsDButoH8MRQjhPGgUmtjyBG8MVkNEApgI0BS HZIZKRzWrzy0xpbsVxu2ngzaOeahBzoUzrgLHWbDDwTkcPFEMZddyt3thH2Zq408cfdh r8iHRgGp2Oc3O6Mk9zWirINAgXpovvR4Kw7slbL+8HEm41uO3NmKFcuGriXsodlQ0H7Y XlhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Wnk585Hk; spf=pass (google.com: domain of linux-kernel+bounces-14257-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14257-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id k6-20020a170902c40600b001d4cbf7d640si81226plk.258.2024.01.02.02.39.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 02:39:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14257-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Wnk585Hk; spf=pass (google.com: domain of linux-kernel+bounces-14257-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14257-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 38FC4283066 for ; Tue, 2 Jan 2024 10:39:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1B4D9DDC7; Tue, 2 Jan 2024 10:38:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Wnk585Hk" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) (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 AD627D515 for ; Tue, 2 Jan 2024 10:38:47 +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-wr1-f45.google.com with SMTP id ffacd0b85a97d-3366e78d872so8993663f8f.3 for ; Tue, 02 Jan 2024 02:38:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704191926; x=1704796726; 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=6I/ZeMGGOiFDUJYSRFCMtUApKW3uRQm4MZAuRqFbg8Y=; b=Wnk585HkUWWDh7ed7ct259xTJu7owl9KJe/5AX/AtroMaCCkAb53mAypDaeuZrm6H+ N4aHIpDCWq1Ewk56bJ6QqE37m+nQRmDAKLbrKLaQpSrKqSVIWKidibE812iYGdrph1P+ FbnR+Y2u6DGGXnk7m4wusALyKavAxK5vaqD9h+g7DAI912SHVw76Pvl7wttRX28YNzJu 2pLXm8Xlg2Mhle/snu6prhYIl6iEegtOE1jJ7sk0WSjdm8LNqs4N1hq7eOWn0X4Lc0YI LzlRsgGb7nNzhbLpP3rmLlATs5f39sY/4XBEnyDQEfyYre95ATwt2ViJjPhlDmvjiOYB 7GAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704191926; x=1704796726; 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=6I/ZeMGGOiFDUJYSRFCMtUApKW3uRQm4MZAuRqFbg8Y=; b=Kd2AQnl8bw+dsREI/zP4p0m+SRXQDwI9MxlZV/jaYaskOTbaXyJQcEK7EfF4vaEkzb avT6WSQ14oVK5OEbVRJWBDakqLoJfkmUVbcT+54syZj758BbHwlOUkuRq9EsjVULMa7p DaOB1oQVlrO007TBbX77yPEoxQoLoPztp/UXcUSc38T/N+eAzJJvaYnzKE8/uynATzhg ko4IXsrtrgwlr0JwH0Hd/068in7QzUGzT+9lx+GxHPRko0LMi3lol+RUTgJUs72H7IrL jfY4tH6xEVs5BDwz7t/5txQ6eVlLrQpbMtNTp07hXSGRIb//c9eMDDJS9i+DkU3JgBhJ qFSg== X-Gm-Message-State: AOJu0YzmptxZeETNOmA5yTSHCoGtH8mPK6pBOBFMJkReJqd9zyf5VfC/ 1cOImpKEqYvZCjYToV6FsrIWyysZDRIh6A== X-Received: by 2002:a05:600c:1ca6:b0:40d:5b15:8df0 with SMTP id k38-20020a05600c1ca600b0040d5b158df0mr2918349wms.208.1704191925879; Tue, 02 Jan 2024 02:38:45 -0800 (PST) Received: from [192.168.1.20] ([178.197.218.27]) by smtp.gmail.com with ESMTPSA id m2-20020adfe0c2000000b00337464bf723sm1851055wri.18.2024.01.02.02.38.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 02 Jan 2024 02:38:45 -0800 (PST) Message-ID: Date: Tue, 2 Jan 2024 11:38:42 +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 1/3] dt-bindings: clock: qcom,hfpll: Convert to YAML Content-Language: en-US To: Luca Weiss , ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20231231-hfpll-yaml-v1-0-359d44a4e194@z3ntu.xyz> <20231231-hfpll-yaml-v1-1-359d44a4e194@z3ntu.xyz> 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 TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTRLc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AZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20231231-hfpll-yaml-v1-1-359d44a4e194@z3ntu.xyz> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 31/12/2023 15:48, Luca Weiss wrote: > Convert the .txt documentation to .yaml. > > Take the liberty to change the compatibles for ipq8064, apq8064, msm8974 > and msm8960 to follow the updated naming schema. These compatibles are > not used upstream yet. > > + > +properties: > + compatible: > + items: > + - enum: > + - qcom,apq8064-hfpll > + - qcom,ipq8064-hfpll > + - qcom,msm8960-hfpll > + - qcom,msm8974-hfpll > + - qcom,msm8976-hfpll-a53 > + - qcom,msm8976-hfpll-a72 > + - qcom,msm8976-hfpll-cci > + - qcom,qcs404-hfpll > + - const: qcom,hfpll > + > + reg: > + items: > + - description: Base address and size of the register region HPLL registers > + - description: Optional base address and size of the alias register region Alias register region > + minItems: 1 > + > + '#clock-cells': > + const: 0 > + > + clocks: > + items: > + - description: board XO clock > + > + clock-names: > + items: > + - const: xo > + > + clock-output-names: > + description: > + Name of the PLL. Typically hfpllX where X is a CPU number starting at 0. > + Otherwise hfpll_Y where Y is more specific such as "l2". > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - '#clock-cells' > + - clocks > + - clock-names > + - clock-output-names > + > +additionalProperties: false > + > +examples: > + # Example 1 - HFPLL for L2 cache > + - | > + clock-controller@f9016000 { > + compatible = "qcom,ipq8064-hfpll", "qcom,hfpll"; > + reg = <0xf9016000 0x30>; > + clocks = <&xo_board>; > + clock-names = "xo"; > + clock-output-names = "hfpll_l2"; > + #clock-cells = <0>; > + }; > + # Example 2 - HFPLL for CPU0 Just keep one example, they are the same. And then drop the comment. Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof