[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5a551943-141a-4842-a4d0-b66b32cf3e70@rock-chips.com>
Date: Wed, 22 Oct 2025 11:21:43 +0800
From: zhangqing <zhangqing@...k-chips.com>
To: Heiko Stuebner <heiko@...ech.de>, mturquette@...libre.com,
sboyd@...nel.org, sugar.zhang@...k-chips.com, robh@...nel.org,
krzysztof.kozlowski+dt@...aro.org, conor+dt@...nel.org
Cc: devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-clk@...r.kernel.org, linux-rockchip@...ts.infradead.org,
linux-kernel@...r.kernel.org, huangtao@...k-chips.com,
finley.xiao@...k-chips.com, Conor Dooley <conor.dooley@...rochip.com>
Subject: Re: [PATCH v4 2/7] dt-bindings: clock, reset: Add support for rv1126b
Hi, Heiko:
在 2025/10/21 16:38, Heiko Stuebner 写道:
> Hi Elaine,
>
> Am Dienstag, 21. Oktober 2025, 08:52:27 Mitteleuropäische Sommerzeit schrieb Elaine Zhang:
>> Add clock and reset ID defines for rv1126b.
>> Also add documentation for the rv1126b CRU core.
>>
>> Signed-off-by: Elaine Zhang <zhangqing@...k-chips.com>
>> Acked-by: Conor Dooley <conor.dooley@...rochip.com>
>> ---
>> .../bindings/clock/rockchip,rv1126b-cru.yaml | 52 +++
>> .../dt-bindings/clock/rockchip,rv1126b-cru.h | 392 +++++++++++++++++
>> .../dt-bindings/reset/rockchip,rv1126b-cru.h | 405 ++++++++++++++++++
>> 3 files changed, 849 insertions(+)
>> create mode 100644 Documentation/devicetree/bindings/clock/rockchip,rv1126b-cru.yaml
>> create mode 100644 include/dt-bindings/clock/rockchip,rv1126b-cru.h
>> create mode 100644 include/dt-bindings/reset/rockchip,rv1126b-cru.h
>>
>> diff --git a/Documentation/devicetree/bindings/clock/rockchip,rv1126b-cru.yaml b/Documentation/devicetree/bindings/clock/rockchip,rv1126b-cru.yaml
>> new file mode 100644
>> index 000000000000..04b0a5c51e4e
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/clock/rockchip,rv1126b-cru.yaml
>> @@ -0,0 +1,52 @@
>> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
>> +%YAML 1.2
>> +---
>> +$id: http://devicetree.org/schemas/clock/rockchip,rv1126b-cru.yaml#
>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>> +
>> +title: Rockchip RV1126B Clock and Reset Unit
>> +
>> +maintainers:
>> + - Elaine Zhang <zhangqing@...k-chips.com>
>> + - Heiko Stuebner <heiko@...ech.de>
>> +
>> +description:
>> + The rv1126b clock controller generates the clock and also implements a
>> + reset controller for SoC peripherals.
>> +
>> +properties:
>> + compatible:
>> + enum:
>> + - rockchip,rv1126b-cru
>> +
>> + reg:
>> + maxItems: 1
>> +
>> + "#clock-cells":
>> + const: 1
>> +
>> + "#reset-cells":
>> + const: 1
>> +
>> + clocks:
>> + maxItems: 1
>> +
>> + clock-names:
>> + const: xin24m
> I think we're missing the optional
>
> rockchip,grf:
> $ref: /schemas/types.yaml#/definitions/phandle
> description:
> Phandle to the syscon managing the "general register files" (GRF),
> if missing pll rates are not changeable, due to the missing pll
> lock status.
>
>
> because RV1126B_GRF_SOC_STATUS0 contains the PLL lock status.
The pll lock truly uses bit10 of the PLL_CON1 register of CRU and does
not use grf. Does that mean there is no need to increase rockchip,grf?
>
>
> Heiko
>
>
>
>
--
张晴
瑞芯微电子股份有限公司
Rockchip Electronics Co.,Ltd
地址:福建省福州市铜盘路软件大道89号软件园A区21号楼
Add:No.21 Building, A District, No.89 Software Boulevard Fuzhou, Fujian 350003, P.R.China
Tel:+86-0591-83991906-8601
邮编:350003
E-mail:elaine.zhang@...k-chips.com
****************************************************************************
保密提示:本邮件及其附件含有机密信息,仅发送给本邮件所指特定收件人。若非该特定收件人,请勿复制、使用或披露本邮件的任何内容。若误收本邮件,请从系统中永久性删除本邮件及所有附件,并以回复邮件或其他方式即刻告知发件人。福州瑞芯微电子有限公司拥有本邮件信息的著作权及解释权,禁止任何未经授权许可的侵权行为。
IMPORTANT NOTICE: This email is from Fuzhou Rockchip Electronics Co., Ltd .The contents of this email and any attachments may contain information that is privileged, confidential and/or exempt from disclosure under applicable law and relevant NDA. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information is STRICTLY PROHIBITED. Please immediately contact the sender as soon as possible and destroy the material in its entirety in any format. Thank you.
****************************************************************************
Powered by blists - more mailing lists