Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp2946322rdb; Tue, 26 Dec 2023 10:07:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IGCCN7VK/q2aFzPxVqiHrW9VUZ+sEEmZETVY+EPvXJSBsF0ZrivEEYZh629l1CUBRqoVAeG X-Received: by 2002:a05:6808:d47:b0:3bb:8612:f65d with SMTP id w7-20020a0568080d4700b003bb8612f65dmr6811151oik.32.1703614053241; Tue, 26 Dec 2023 10:07:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703614053; cv=none; d=google.com; s=arc-20160816; b=0xcfIuXiQYV0s0KuVtooxy0xzORQNA8FpLb5BEse/KjzJi2zw+nCT6WOsafFEn1ufp /ft8T0yL73Jd2RAEiqYfi+uh9vpL5UoiQjVoS9TSiPoxA6W8xbBeyVnSZ1gn7Qj3D8LL 4HOLkB0S1tqSswl48KYE93EkAcigKXxfAics1yVrhUQxQ0aqVW6ULdDG/0/clWwVr78v 5mEcEOY/QDB5qriMmmtzU/fJT+olF0x+A3m2wx191o15VpM+58uRcarrZhdyMehH020w wm0h1r/XTmEzoU9Q3Z0enMnrS1muOM+z1sFpDxlL+VDsk6p+B/JwXWP5Q7zWxV+2aUre a8FA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=xPNsMK/s4OTo7V67GiJCawbHwE3mn0OYhqS2bmZF3nY=; fh=sdjpufCdqqdu93F7ajmExE7NoMb0Upz3M9Tw99ixi6Q=; b=cGw/i+9ofvRupjkIdeXL5UrMLuxdUPpHFwvH0RYWY89Q+NZhaTdeoTjjUo3QHK4Fbo I4JMsB+14KAag+bZglX3MMCRQSxSGTvJhCnLpMK6bL4qwi+QOGA7ER0xUMCwgnbXwupG q+5xCVT+owmLlylwfgLG9yTIEGV64ou9iVXkZHAeOcinvhCkdwbVpenCicbwfaT2Dcu6 B5Aeu+3Ltnt2Q8P4+ex9whzMXh9TcyRZ0NcLdXcfKf2RRoNOWn1qNBIRznn3tM+kJsXG wJOn9OJ6RXbl0Z27u7mZqKVZRVf5Lm2dAgg40o6xEzpwFg9maF/GPoCezWxHXuNM3mig PucQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=R41ZkslO; spf=pass (google.com: domain of linux-kernel+bounces-11605-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11605-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=sifive.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id j14-20020a67e30e000000b004670adbd706si380512vsf.244.2023.12.26.10.07.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 10:07:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11605-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=R41ZkslO; spf=pass (google.com: domain of linux-kernel+bounces-11605-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11605-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=sifive.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id A266D1C21063 for ; Tue, 26 Dec 2023 18:07:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DF2205100D; Tue, 26 Dec 2023 18:07:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sifive.com header.i=@sifive.com header.b="R41ZkslO" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-io1-f47.google.com (mail-io1-f47.google.com [209.85.166.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 AE86250255 for ; Tue, 26 Dec 2023 18:07:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=sifive.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sifive.com Received: by mail-io1-f47.google.com with SMTP id ca18e2360f4ac-7ba8e33dd0cso196925539f.0 for ; Tue, 26 Dec 2023 10:07:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; t=1703614044; x=1704218844; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=xPNsMK/s4OTo7V67GiJCawbHwE3mn0OYhqS2bmZF3nY=; b=R41ZkslO/mQqVXbKZIXPZZxuRBN+ZcKbn3NCHWXVyNCLucv3hsQY0TAJodZHTLyLyX iSHsHkoJZCvFPqc91jEmcCgClxDzqN+z4JrQEbYFl39u4jndZFh25+Uqi5ISKL5BAZVU 9ELzAs+Yh7FFmIlVEMFmmULFHqje0Iyl3A03JsB/AitlGgVegLkgJ/fCR/7HG0W7duK6 hPGy0vmgNsZpHJtFdNWUb4/X2mor2pOHKhY9GAbvhyp6ru9j3XYrG7k321d8bO4BH5kk c/v8doVQFR7RptaVAsjTzGJlbRTKiUr4FCd1OQ+tW9f1h49rIfbrcbejcntaTl+k0lCk DGDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703614044; x=1704218844; h=content-transfer-encoding:in-reply-to: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=xPNsMK/s4OTo7V67GiJCawbHwE3mn0OYhqS2bmZF3nY=; b=TYfI5oi1xlgWYZS9cZJFmki2655x6QLXdlZpPYX34lTKEbSbGMWrtLyYMg/2K29y/L zWGKk2e61Ht5xeC12tcG8srHYsv3xtPeizYciG7Ly8NdZxS97dDWzgmdOgdzz+SlkwzF 8+TVZlN3BBP982HOpfLgdqXEuSxXrj7rymFiM+nGHzO6yPSX2VbSvSCnyHj01ip/PHEh +2WXCtxPJaar99k1nFVsjs4yAe2qWZozesowEIYm4V1931xFidjoHY3f7EDlkMYVl/NR lcg1R0BvxBN4Cop4Ne99Z4m49JSbBi3ACCIr46Wc/n65/vBPlXUm018SDGAjG1pr7zc2 EN9A== X-Gm-Message-State: AOJu0YxHI6ymoe8aOHxneBP3MXotfzcLZLJqeMMS3LiwhH+GL3HINdko uX4VU7PMxoGqMofUFhy/plyL/wB+pKHadw== X-Received: by 2002:a5e:8a0c:0:b0:7ba:dbd9:51f3 with SMTP id d12-20020a5e8a0c000000b007badbd951f3mr3207772iok.3.1703614043898; Tue, 26 Dec 2023 10:07:23 -0800 (PST) Received: from ?IPV6:2601:b051:12ac:a800:99cc:6547:8f68:3193? ([2601:b051:12ac:a800:99cc:6547:8f68:3193]) by smtp.gmail.com with ESMTPSA id g9-20020a6b6b09000000b007ba84cb7860sm3159341ioc.4.2023.12.26.10.07.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 26 Dec 2023 10:07:23 -0800 (PST) Message-ID: <74649469-2b47-486e-b8d1-c89b705fe8c1@sifive.com> Date: Tue, 26 Dec 2023 12:07:21 -0600 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: [RFC 07/16] dt-bindings: clock: Add StarFive JH8100 North-West clock and reset generator Content-Language: en-US To: Sia Jee Heng Cc: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, leyfoon.tan@starfivetech.com, kernel@esmil.dk, conor@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, mturquette@baylibre.com, sboyd@kernel.org, p.zabel@pengutronix.de, emil.renner.berthing@canonical.com, hal.feng@starfivetech.com, xingyu.wu@starfivetech.com References: <20231226053848.25089-1-jeeheng.sia@starfivetech.com> <20231226053848.25089-8-jeeheng.sia@starfivetech.com> From: Samuel Holland In-Reply-To: <20231226053848.25089-8-jeeheng.sia@starfivetech.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2023-12-25 11:38 PM, Sia Jee Heng wrote: > Add bindings for the North-West clock and reset generator (NWCRG) on > JH8100 SoC. > > Signed-off-by: Sia Jee Heng > Reviewed-by: Ley Foon Tan > --- > .../bindings/clock/starfive,jh8100-nwcrg.yaml | 119 ++++++++++++++++++ > .../dt-bindings/clock/starfive,jh8100-crg.h | 43 +++++++ > .../dt-bindings/reset/starfive,jh8100-crg.h | 14 +++ > 3 files changed, 176 insertions(+) > create mode 100644 Documentation/devicetree/bindings/clock/starfive,jh8100-nwcrg.yaml > > diff --git a/Documentation/devicetree/bindings/clock/starfive,jh8100-nwcrg.yaml b/Documentation/devicetree/bindings/clock/starfive,jh8100-nwcrg.yaml > new file mode 100644 > index 000000000000..be0f94e64e6a > --- /dev/null > +++ b/Documentation/devicetree/bindings/clock/starfive,jh8100-nwcrg.yaml > @@ -0,0 +1,119 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/clock/starfive,jh8100-nwcrg.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: StarFive JH8100 North-West Clock and Reset Generator > + > +maintainers: > + - Sia Jee Heng > + > +properties: > + compatible: > + const: starfive,jh8100-nwcrg > + > + reg: > + maxItems: 1 > + > + clocks: > + items: > + - description: Main Oscillator (24 MHz) > + - description: APB_BUS clock from SYSCRG > + - description: APB_BUS_PER4 clock from SYSCRG > + - description: SPI_CORE_100 clock from SYSCRG > + - description: ISP_2X clock from SYSCRG > + - description: ISP_AXI clock from SYSCRG > + - description: VOUT_ROOT0 clock from SYSCRG > + - description: VOUT_ROOT1 clock from SYSCRG > + - description: VOUT_SCAN_ATS clock from SYSCRG > + - description: VOUT_DC_CORE clock from SYSCRG > + - description: VOUT_AXI clock from SYSCRG > + - description: AXI_400 clock from SYSCRG > + - description: AHB0 clock from SYSCRG > + - description: PERH_ROOT_PREOSC from SYSCRG > + - description: External DVP clock > + - description: External ISP DPHY TAP TCK clock > + - description: External golbal clock Typo: global > + - description: External VOUT MIPI DPHY TAP TCK > + - description: External VOUT eDP TAP TCK > + - description: External SPI In2 clock > + - description: PLL5 > [...]