From patchwork Wed Jan 26 17:55:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 12725571 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E16C7C2BA4C for ; Wed, 26 Jan 2022 18:05:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=vcOfBokBF3ia8l9emUbP2BHhHMX3qyFm5fNzw1o83uw=; b=TPkEe/DB4yIo1r fxJ84CpjEGsvPlPKAjpf2O9qW6MiJwU9t9peZeTYt1W5p/oornWJRNx3UZnHWnuoQvv3kOG7WZcf7 ahNWqSvnNlwmyg0brgah0MpqR439uSx8O456qBshdjju5yjpRKBJEI4EIRgViEip+p/qGHrxLeaPT u/wBwSijNE+VtMdzd09Z599ZHTm7Jm8ieamIAQa29/z60hiPRxMP+AwQSY1rq4BBmtaFWqIY1vJci y+hl9KzLpKgB4mxe4OqTrB5IYLTS+U8ceb8Zd4AykztpJ3D6SX9rsErGhQWslDFL0VWhyo7rTvcAN IwmvtwLu0OrEOYJo+GWg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nCmeH-00DDUc-B6; Wed, 26 Jan 2022 18:04:02 +0000 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nCmWo-00DADA-1r for linux-arm-kernel@lists.infradead.org; Wed, 26 Jan 2022 17:56:19 +0000 Received: by mail-wm1-x32d.google.com with SMTP id c192so186870wma.4 for ; Wed, 26 Jan 2022 09:56:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=gFG+KbiJy3wAWlhs/uVFVtW9rYrvfOZjzcLWJqCo1fo=; b=LYyV1sqt3V+CilRqHORvu19Q5iFoifflsAI9EMT7RgETKa7Z2l8g4937mrgt+k82J+ iuHJfVJ5PWsUllglXHXUN0jeG3K5UUVqhgv8QwAFv/BqhG/Y00uaO6cCIWRzNQQnOpLE YwaG2WvSfGL9U6sUki1LSapJvKefEGNnxnE5hBLhQKM+SkVnbnIdF4m7xRz1ENtdTclA ZzLS0cQHqcFChNmw0C7TbO8C/oXQmZb6UZnLRhJhcpzODvIlDKS5aexCinO+6eNmJ036 pe8m9lKtEUDSUWTP6VRllRw20ucUbIMSjaocu5KrFd5RMSH7SinvIfIY+iO3UnC9lQTY Z8BA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=gFG+KbiJy3wAWlhs/uVFVtW9rYrvfOZjzcLWJqCo1fo=; b=0hqG9fzrlctmETRFvPD4lTYCrc/022sIh7CZEccMG0gCoVeIqLuijHdtFtUOORnZe3 k4/5AMjDlFx8D/KnhgGCA7SKUPZsIwzXxmxo98OOBOcE0QRdaKRjS4PSjhdYM0glSXmQ wHSnUebEQaatwmDy+xEZ9l03rDCEdf1MMd/g/Ho9gd2e2v3rsUfTkKm4fhpIMfKQx45f jBRjXmJIXoZHKnA2i12V1vQrECxJUmGXjVD0F88BOcz/2RspzsejnZCrRy2HxuoOGRss Aez+9RwNWH/z9kBjZkR1So4TE+Gi9KeT+tBnvjpKCNpaB1M2WdQQKvWZeeWDJst7cybg yj9g== X-Gm-Message-State: AOAM5307PEQg9LHKBM0NpHPOXqLnHIaAiQlMzrloK20BMY3/dgiJ8M2y VKR09YryykkGlUgVyyQWKmc= X-Google-Smtp-Source: ABdhPJxHqVfmfSGZaYeB37u13ndBi5Z+7BR+fQsrn2XVjPF2K2i0Y0ubrbnTFZVE8oDxx0SY6LVa1Q== X-Received: by 2002:a1c:27c7:: with SMTP id n190mr8431580wmn.99.1643219775988; Wed, 26 Jan 2022 09:56:15 -0800 (PST) Received: from debby ([2a01:e0a:a6d:a8d0:7ff4:8f61:5574:9f95]) by smtp.gmail.com with ESMTPSA id 6sm21098983wry.69.2022.01.26.09.56.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jan 2022 09:56:15 -0800 (PST) From: Romain Perier To: Michael Turquette , Stephen Boyd , linux-clk@vger.kernel.org, Arnd Bergmann , Daniel Palmer , Romain Perier , Rob Herring Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 3/8] ARM: mstar: Add cpupll to base dtsi Date: Wed, 26 Jan 2022 18:55:59 +0100 Message-Id: <20220126175604.17919-4-romain.perier@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220126175604.17919-1-romain.perier@gmail.com> References: <20220126175604.17919-1-romain.perier@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220126_095618_143955_2CE87EEB X-CRM114-Status: GOOD ( 11.74 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Daniel Palmer All MStar/SigmaStar ARMv7 SoCs have the CPU PLL at the same place so add it to the base dtsi. Signed-off-by: Daniel Palmer Reviewed-by: Romain Perier --- arch/arm/boot/dts/mstar-v7.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/mstar-v7.dtsi b/arch/arm/boot/dts/mstar-v7.dtsi index 89ebfe4f29da..2249faaa3aa7 100644 --- a/arch/arm/boot/dts/mstar-v7.dtsi +++ b/arch/arm/boot/dts/mstar-v7.dtsi @@ -155,6 +155,13 @@ mpll: mpll@206000 { clocks = <&xtal>; }; + cpupll: cpupll@206400 { + compatible = "mstar,msc313-cpupll"; + reg = <0x206400 0x200>; + #clock-cells = <0>; + clocks = <&mpll MSTAR_MSC313_MPLL_DIV2>; + }; + gpio: gpio@207800 { #gpio-cells = <2>; reg = <0x207800 0x200>;