Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp663810lqo; Wed, 8 May 2024 10:50:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWyDDB2PpSHikmVXEIz5Ks+ZILBSldxkV+masABUT3KdvBR/8aRx9xc/BzPi8yKaidHKTW4Kmn0tBBT7k+SAhuUZCLPQeb5LkpQS1zFNw== X-Google-Smtp-Source: AGHT+IGwqSRPWaYwAZBBmRj34mrypYzXKYLTQ7j9x0sfC5hx2dZ9kI9AX1nmCDGpEnWxvhTp6wTE X-Received: by 2002:a50:8e16:0:b0:56e:2a7a:27e4 with SMTP id 4fb4d7f45d1cf-5731da9c90emr2464000a12.39.1715190626184; Wed, 08 May 2024 10:50:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715190626; cv=pass; d=google.com; s=arc-20160816; b=NM9wjwOxMTDWJIV3ldvLScFbOeqf8wpawl0snRSEl3JXJJt9BDYYyCL4icczbsyFJ1 eX9D+PVE5DDdeFAZL0UBi6unScJHsC3GAXPKbovGmU/peea+jwsp9j5GZeD3tFh0Lj55 ceKeeIEPx1u/WQNRFyG9B2vj1nBvVY00x6cIleBTXTCSXxTl7I4YjZ/OY/SPfw9gvcv1 nX2DbbocO3npjjFBaUUduyp6t3i++YCAfQbh4jIwqudjLymCgBjpXDrnfWpqlOIuqZF7 SEpvkZKhUzYkTUlChTIscmGT4bcsYjsv5V4ysIo+cJ4bi/FpNVnBxPh1PTfBr5dhQQuC JoiA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=sTmwL7yiuym6cWHCHUJmAk4jG8iq/q2526cUGyPiWeU=; fh=xs+8UV8AwGGlwXndxF/HGzQGb6NB1UYO8n18jp83VbM=; b=RSUo9XwUBVepsKMBSTAIY2BWUpG4XPajMnH7hgf6N0lmfGfOSSgJkjeFbawqXNhZo8 XWn/SINrvWwwhYjknp6SogvGGPdjVBprjLfd5Wvu8y4XVImL64fgpti8M7AbIUJKtyIE VYD+WktmtL1as7+InEoWSTUZU6OBju2pxye2f6OTdnzHjuyxyN1+q1SCvZbOKnlpVoVk 4uwsn26kJCVq1t+wei6ZhIrAq4QU3FKiku3Ew0fQGec1cDqX9eZqHDLIvUikfGnYnByE sTBkgzwd9ytjuWp0f8WXU0mWt2L0VMj/VgaR9k3rMx40MhzfIVfzJP422oMORXtesNW3 jUZA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rla7ceu3; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-173669-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173669-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id k12-20020a05640212cc00b00572a9f1cbc2si7147257edx.180.2024.05.08.10.50.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 10:50:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-173669-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=@kernel.org header.s=k20201202 header.b=rla7ceu3; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-173669-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173669-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 E29941F213D2 for ; Wed, 8 May 2024 17:50:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A22E012CD9A; Wed, 8 May 2024 17:50:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="rla7ceu3" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9401B12B148; Wed, 8 May 2024 17:50:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715190615; cv=none; b=lOCKcBo9Wf3JYKNZvbk2EKv/tk03luV5GdU3PhLQu8oOkFU5qCOw05CY3ReKSe7gTOEWIEFPs+E82q63xBjeIB973B3KS1zJ9VDOmMix8ROyPQ5d1NzZwrlFLWNqsyRPcRxzV0FtWHIRcnZLhDk4xWCPp5pfaS3YjGuRsXzSifE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715190615; c=relaxed/simple; bh=O7Iu+gfiqdTrJ5Xezid8yKZhJ+FRommTaNGfEwrOI4c=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=QV5W+fdL+xkh0ohjfYecZFknJcuIObVK5CJVhd+ltiPfoYUb6ldCv4rOi3bOX/kdX856nzMVifYYNaxLpvzh3kImnlLp8Cs+dwFlyAMIpxPDrewWrQnlbexPrL1HvevWqSFIt+H+pmo3HZkg3CyD5xQGZWu7pcr0XbDvAGakq5A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=rla7ceu3; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id AD2F2C113CC; Wed, 8 May 2024 17:50:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715190614; bh=O7Iu+gfiqdTrJ5Xezid8yKZhJ+FRommTaNGfEwrOI4c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rla7ceu3BrmVcpFdRGNn0AW4gfXOO8LADVNVvrR3LyWGxP8tus/4nJsxlUDdrt7GV z+pEWZlWgrStd0c13TYNY7Srhyrf4OaxBvpZr1Rj21qyBbR2TSVAUhgRSBOaLLJnUX MmxCRGMZqAWDDLykIjLGUyqfUOpatzkat2PuyGDOX4V9+phJ8EmDkvsgNmzTQSRw9l vy4o+oEQPZMKyhXbzTX5jGkDqxdhnO5jgmlWlo3lOxL5HOz3+z48mvMjW2z9UXC7UZ 44PXuLMukcEAPC/Y1Nr6SrhOaw39O4rHg/E2ZA/NE7rBCwy3grmUF/HvHNiFNyuMqV HcIrvNEhdhuoQ== Date: Wed, 8 May 2024 12:50:13 -0500 From: Rob Herring To: Jan Dakinevich Cc: Conor Dooley , devicetree@vger.kernel.org, Jerome Brunet , Kevin Hilman , Krzysztof Kozlowski , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Martin Blumenstingl , Michael Turquette , Neil Armstrong , Stephen Boyd Subject: Re: [APPROACH 2 1/2] arm64: dts: amlogic: list all slave clocks for audio clock controller Message-ID: <20240508175013.GA2244257-robh@kernel.org> References: <20240508144259.191843-1-jan.dakinevich@salutedevices.com> <20240508144259.191843-3-jan.dakinevich@salutedevices.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240508144259.191843-3-jan.dakinevich@salutedevices.com> On Wed, May 08, 2024 at 05:42:58PM +0300, Jan Dakinevich wrote: > Signed-off-by: Jan Dakinevich > --- > arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 27 ++++++++++++++++++++-- > arch/arm64/boot/dts/amlogic/meson-g12.dtsi | 26 +++++++++++++++++++-- > arch/arm64/boot/dts/amlogic/meson-sm1.dtsi | 26 +++++++++++++++++++-- > 3 files changed, 73 insertions(+), 6 deletions(-) > > diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi > index 6d12b760b90f..28f4ec5f39b0 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi > +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi > @@ -1342,7 +1342,9 @@ clkc_audio: clock-controller@0 { > <&clkc CLKID_HIFI_PLL>, > <&clkc CLKID_FCLK_DIV3>, > <&clkc CLKID_FCLK_DIV4>, > - <&clkc CLKID_GP0_PLL>; > + <&clkc CLKID_GP0_PLL>, > + <0>, <0>, <0>, <0>, <0>, <0>, <0>, <0>, <0>, <0>, > + <0>, <0>, <0>, <0>, <0>, <0>, <0>, <0>, <0>, <0>; All 3 cases are just unused clocks on the end. I suppose that's not always the case. You could just set 'minItems' in the binding to avoid needing to pad the end and the dts changes. Rob