Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp1232688pxa; Fri, 28 Aug 2020 07:22:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzr9HPSvBfvquV0p5RkjCWroNpUV7Y+Ac/NW8uyFsLB8APdHgHT1VJ/5iXH/GktkA2Y3Trd X-Received: by 2002:a17:906:71c7:: with SMTP id i7mr2003170ejk.245.1598624529270; Fri, 28 Aug 2020 07:22:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598624529; cv=none; d=google.com; s=arc-20160816; b=cUQ/LS/9XXQnLcUPITSbjWAzmjWUtrgSxesfsfTZiBXg2k7BKJRL7bk4fm/fDrLQK3 TGtDylYggTMwnD9x6lV7VA4xNdysEAeVcAWujFrbqMhuaDFuwRZZBEkjfxAjwA5X8U/e zPlJsUOT63VBhP3g59j7VBPv1aCkFb0kMZGBQ/My1Og8TfJFtVCbIgGN77XbjhyItSiC 6Yn169RQWxWuXs+FPsp3tksdkD/RgfbjAOtwmGiIfoZV1P7xxJxOAVSMWNl2XuuKiXJz I7+JNDHNGJ+4ys/u96vWHSg1x0g6pbUXWDRkQHkJnJpr84KoW5qLvr9ZG0rv8Ul/MDJ8 /4Aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=l74wrf2pSTkC0DhdWA3mvhET10X/P6sqD2IyPkGFMLE=; b=opfuEajS7Sxu8eDcj9yinkg0p8ouF1/ADMLgNUJP5VJFjiCYu/jcWXQu3p2qYT5m8C ngyn/ulSuPp5bP4MyfF0fASygqjvylucSG6jBOteAgGVg9fu6dkhpWt82K2oBQqs7egR YJTE/xYo7Ob3OtMqnIyiTvYGv0CTskGKe/X8c8XijCiqo7nOwJ+ROtdejRdpBBAHjvmA C4apTnuaxG+RPRAmTHgQjx0H2uStXTq7MjKIuGAACg4zKOM8eeAk2EX6bDEy/1qCgyI8 isCV9bqCq4HAmAJX2IyOVZj7KvRW45FpHKqiqd/Tu1JD/wXERLjaqJBjLrXtdHYv2VQ0 /YiA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a9si709301ejv.217.2020.08.28.07.21.46; Fri, 28 Aug 2020 07:22:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727931AbgH1OUq (ORCPT + 99 others); Fri, 28 Aug 2020 10:20:46 -0400 Received: from foss.arm.com ([217.140.110.172]:50424 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727780AbgH1OUj (ORCPT ); Fri, 28 Aug 2020 10:20:39 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 3D6EF13A1; Fri, 28 Aug 2020 07:20:38 -0700 (PDT) Received: from donnerap.arm.com (donnerap.cambridge.arm.com [10.1.195.35]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 097F33F71F; Fri, 28 Aug 2020 07:20:36 -0700 (PDT) From: Andre Przywara To: Rob Herring , devicetree@vger.kernel.org Cc: Thomas Gleixner , Daniel Lezcano , Haojian Zhuang , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Chanho Min Subject: [PATCH v2 6/6] arm64: dts: lg: Fix SP804 users Date: Fri, 28 Aug 2020 15:20:18 +0100 Message-Id: <20200828142018.43298-7-andre.przywara@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200828142018.43298-1-andre.przywara@arm.com> References: <20200828142018.43298-1-andre.przywara@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Even though the SP804 binding allows to specify only one clock, the primecell driver requires a named clock to activate the bus clock. Specify the one clock three times and provide some clock-names, to make the DT match the SP804 and primecell binding. Also add the missing arm,primecell compatible string. Signed-off-by: Andre Przywara --- arch/arm64/boot/dts/lg/lg1312.dtsi | 6 +++--- arch/arm64/boot/dts/lg/lg1313.dtsi | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/lg/lg1312.dtsi b/arch/arm64/boot/dts/lg/lg1312.dtsi index 64f3b135068d..e2a1564597c8 100644 --- a/arch/arm64/boot/dts/lg/lg1312.dtsi +++ b/arch/arm64/boot/dts/lg/lg1312.dtsi @@ -131,11 +131,11 @@ ranges; timers: timer@fd100000 { - compatible = "arm,sp804"; + compatible = "arm,sp804", "arm,primecell"; reg = <0x0 0xfd100000 0x1000>; interrupts = ; - clocks = <&clk_bus>; - clock-names = "apb_pclk"; + clocks = <&clk_bus>, <&clk_bus>, <&clk_bus>; + clock-names = "timer0clk", "timer1clk", "apb_pclk"; }; wdog: watchdog@fd200000 { compatible = "arm,sp805", "arm,primecell"; diff --git a/arch/arm64/boot/dts/lg/lg1313.dtsi b/arch/arm64/boot/dts/lg/lg1313.dtsi index ac23592ab011..a54d14d7ae6f 100644 --- a/arch/arm64/boot/dts/lg/lg1313.dtsi +++ b/arch/arm64/boot/dts/lg/lg1313.dtsi @@ -131,11 +131,11 @@ ranges; timers: timer@fd100000 { - compatible = "arm,sp804"; + compatible = "arm,sp804", "arm,primecell"; reg = <0x0 0xfd100000 0x1000>; interrupts = ; - clocks = <&clk_bus>; - clock-names = "apb_pclk"; + clocks = <&clk_bus>, <&clk_bus>, <&clk_bus>; + clock-names = "timer0clk", "timer1clk", "apb_pclk"; }; wdog: watchdog@fd200000 { compatible = "arm,sp805", "arm,primecell"; -- 2.17.1