From patchwork Wed Feb 15 17:31:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H. Nikolaus Schaller" X-Patchwork-Id: 57646 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp322626wrn; Wed, 15 Feb 2023 09:34:39 -0800 (PST) X-Google-Smtp-Source: AK7set8zUxQNikLmvZWXADMswbZjrqP1poozYZXC+d3m5Zf2EVnsYeQFsjOS3xWXCyg/WWz08VZo X-Received: by 2002:a05:6a20:a3a1:b0:b9:5fda:cd71 with SMTP id w33-20020a056a20a3a100b000b95fdacd71mr2088094pzk.6.1676482479153; Wed, 15 Feb 2023 09:34:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1676482479; cv=pass; d=google.com; s=arc-20160816; b=rQ6rNq+kNsc3gj1PNO2y+06Pvpv7zbBcIGGnZEff8No0PNXU+aTsBC48GbMmBXRv5C hlK79QXMp/ERzvJlJk5FuEiXxlf/LiLeyfYwiBs1bCYDjAWRuEcUb+BM2Z0kR1yowQ3u oEt7HmFlxLpBwOU36jPWO0f7B86/18YQV25SHPZROWs+xksu18jXxCSoqEdW1M7lPbR0 0w8ftHdSak4uzbsF50TNk5z53ruw0mAlxxj4gRN0Of65T97Gr2pcAHJJJrODfVTjqA28 H8M+4zvmQE/Z2qM1ehUuLraPUZLOEi8vJN5qcMo/ICVyOwOKsjJt9lBYi3f032rt7v3g Y7uw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=POPnc3DgxELJpdHFCNQYcK/7farU8e90UR7vp24J0Pg=; b=OQ3VYlYWhgpE+WBT7g0mpdrrvAw2XpzMRvtTF+xQEVP9nnScNBqG5xRbe0T66WvSuU H9+owvzLXexc3QLmzu/VHwF50zjEQilTRZhE2J5vDshx3UOX396taMNfXtAzb1ZlyykU w/dt8HOQL0cC1BCO+jbLPZO1GayJolRtZ3GagoyVRDjsdCxbta5ynVpf1GU3dVDceKHl YfV9vLA6TPjukHGBZG+Gmyqnndnn1rIAfzSYRxQxKtUhT40uyEqrU1/7PusoRK9O8pas RLZDbKx36K1ISxzSshjqAgu21oUdSgLHE3tKKZVaCI+mnkGFAmZRM90YCG4/qRpyNrL7 VY1A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@goldelico.com header.s=strato-dkim-0002 header.b=tFwpzl5l; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f2-20020a637542000000b004fb6f10cd3asi14375123pgn.871.2023.02.15.09.34.11; Wed, 15 Feb 2023 09:34:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@goldelico.com header.s=strato-dkim-0002 header.b=tFwpzl5l; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229986AbjBORcW (ORCPT + 99 others); Wed, 15 Feb 2023 12:32:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229593AbjBORcV (ORCPT ); Wed, 15 Feb 2023 12:32:21 -0500 Received: from mo4-p02-ob.smtp.rzone.de (mo4-p02-ob.smtp.rzone.de [81.169.146.168]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93F9B2A6C5; Wed, 15 Feb 2023 09:32:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676482320; cv=none; d=strato.com; s=strato-dkim-0002; b=HQvqT92bUalYDEXcdWaXhiyY/rvg7K6sYAq3GVh1o6qml7ccm1TDu4Fkgts0OKwncU iNcLQpB83UwJj7eMv4smMaZPsipNrCyaQVxvPKAr4l3JtpbcnrELKVIegvvGpXf36+yz 2DWVq0EblirVEPw5LNMm/2O8ts7IfttqQBUKtY2dsZqIxBAhJOoe5SyeD3Iy8vtMN4ji 4nwDBCDgBBezsvOiRXrlDiN5unaVC4bNvZJvU2I3HTwa4itX2CAiVJqIB01Jh6t6+pHu Vun2RCCOwEtRp2AdJ7xtlfAiZKEPVfbI9u0ZA0VLIWqAU5TKisiZQ8tn0unMY6ZIz0xj D4WQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1676482320; s=strato-dkim-0002; d=strato.com; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=POPnc3DgxELJpdHFCNQYcK/7farU8e90UR7vp24J0Pg=; b=TAmr9DJ/o8yHciZS3o5KhVX84JFKJaPtcukPskoj7HXZdZETNrZeDBtNzTQGmtQtOb KH84QspR2JVoQkgdd9w3FL4pSQHrKmDjU9rWKAs5gALevIo7Ze7giJYrlHaWU3hzVMnR Z7mkmuAL5mRvjRhG3vWC0uf7MTH/SwjT4fiujRhTY0AB0oL21uPiB/XclnRYw+Zz+w/4 yDIxiNQ9c0NuFZbbPZBLt6GHI2vDvRL+GGgMbClB4SDeJywIE2oyeYzg0MjpTw8C2+UJ cZJ5t9B06+AkUjSDQ46VkXuSFjiKrGnFNKpGUNoqH6HS5p5wHdzOp5pTqZUZz5DL+O8h hJIA== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo02 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1676482320; s=strato-dkim-0002; d=goldelico.com; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=POPnc3DgxELJpdHFCNQYcK/7farU8e90UR7vp24J0Pg=; b=tFwpzl5lxKyU4IxiJvVMotxkgk3/0CIATG7/ooLO/fwa0cAleNrsK6cS8xrNIehBa7 egEYhBlVTMdy7u8twWdXBwvtnSSSZoTCFSSF4K0+bGIiib6FUykjs0ElCe32aM9c7Ugm rKptTEv6qpb0byvfBTADkx4qOfma2p70+vI9nWLoVEI1Xx9UGo81KdVx6H2yu9YqbNqv 9E2TINqxDnZmyYk7TVFz5OODD1qg+UhI2f8SZPJqGEbuw7eirrY4WGeDFElzXj4LN1C+ W80+0M7vf90rlD45xFD32BZ3AwpjjQofr30xMlzccCAz2DH+Twoe5V2ZMRlcTdJwlL3u pv8A== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMhflhwDubTJ9o1iTDUhfN4hi3qVZrWLJ" Received: from iMac.fritz.box by smtp.strato.de (RZmta 49.3.0 DYNA|AUTH) with ESMTPSA id 326d57z1FHW0ZCP (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Wed, 15 Feb 2023 18:32:00 +0100 (CET) From: "H. Nikolaus Schaller" To: Paul Cercueil , Rob Herring , Krzysztof Kozlowski , Thomas Bogendoerfer , Arnd Bergmann , Srinivas Kandagatla , =?utf-8?b?UmFmYcWC?= =?utf-8?b?IE1pxYJlY2tp?= , Andrew Morton , Kees Cook , Matthias Brugger Cc: riccardo Mottola , paul@boddie.org.uk, linux-mips@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, letux-kernel@openphoenux.org, kernel@pyra-handheld.com, "H. Nikolaus Schaller" Subject: [RFC 1/3] MIPS: DTS: jz4780: add #clock-cells to rtc_dev Date: Wed, 15 Feb 2023 18:31:56 +0100 Message-Id: <77bcc96a2b81e42b32d48a041d7fac31e7240e56.1676482318.git.hns@goldelico.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: References: MIME-Version: 1.0 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757919292384838196?= X-GMAIL-MSGID: =?utf-8?q?1757919292384838196?= This makes the driver present the clk32k signal if requested. It is needed to clock the PMU of the BCM4330 WiFi and Bluetooth module of the CI20 board. Signed-off-by: H. Nikolaus Schaller Reviewed-by: Paul Cercueil --- arch/mips/boot/dts/ingenic/jz4780.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/mips/boot/dts/ingenic/jz4780.dtsi b/arch/mips/boot/dts/ingenic/jz4780.dtsi index c182a656d63bc..18affff85ce38 100644 --- a/arch/mips/boot/dts/ingenic/jz4780.dtsi +++ b/arch/mips/boot/dts/ingenic/jz4780.dtsi @@ -155,6 +155,8 @@ rtc_dev: rtc@10003000 { clocks = <&cgu JZ4780_CLK_RTCLK>; clock-names = "rtc"; + + #clock-cells = <0>; }; pinctrl: pin-controller@10010000 {