From patchwork Sun Aug 18 16:23:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 11099671 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 360C318EC for ; Sun, 18 Aug 2019 16:24:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 251F5286B3 for ; Sun, 18 Aug 2019 16:24:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 18FE5286B8; Sun, 18 Aug 2019 16:24:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BCC4C286D0 for ; Sun, 18 Aug 2019 16:24:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726097AbfHRQYX (ORCPT ); Sun, 18 Aug 2019 12:24:23 -0400 Received: from mout.gmx.net ([212.227.15.19]:44627 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726270AbfHRQYX (ORCPT ); Sun, 18 Aug 2019 12:24:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1566145452; bh=UFpVfFUO4Wlq/HWE/2I9HA5xmIrtUaebTGvddy1P0q8=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=Y8k0y5+eI+7SjTRo+iO37aYwPmSlfwXlL1VtQOhwZf6FuSKqH2uciByxECOCbUVS6 +2iUaYAro4pqs6aantmc1UTe8OlyNDtr8XcsI2c3AhneKtdaR4o0qB2foMAqflf/hW 1+8WsmUrQ3560u2HhPPOv1FqdAPr2hfrM56JRn/o= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([37.4.249.106]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MEWkb-1i1FW10jlZ-00Fixn; Sun, 18 Aug 2019 18:24:12 +0200 From: Stefan Wahren To: Eric Anholt , Florian Fainelli , Ray Jui , Scott Branden , Rob Herring , Mark Rutland , Michael Turquette , Stephen Boyd Cc: linux-clk@vger.kernel.org, Stefan Wahren Subject: [PATCH 1/4] dt-bindings: bcm2835-cprman: Add bcm2711 support Date: Sun, 18 Aug 2019 18:23:41 +0200 Message-Id: <1566145424-3186-2-git-send-email-wahrenst@gmx.net> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1566145424-3186-1-git-send-email-wahrenst@gmx.net> References: <1566145424-3186-1-git-send-email-wahrenst@gmx.net> X-Provags-ID: V03:K1:gnkiswwseTiTeANk59dd9ZoAA9yGcxHHPjQPV7dmNUTqLgCPnA/ QjEzwwdun1wm7VT6Ep6sk+5uw0Pg1HnX4FSpK8bHOIP1X2PbOa8bpi4zUdMeXlGGe271Qhi rk8I9F34lhmw6LQV7clwqk9tpA9bHYoT2cX7GQqseWWK0HKRz7FdGkRvzv6P2OTMMnpGpWD r1/IzZi8AvkeHaEgVWiOw== X-UI-Out-Filterresults: notjunk:1;V03:K0:UijD47CAtM8=:C7qltEQQx2JJ4xyKn6Iuyi ieYvc7wo7Cwf7D07w/SEkVvM8VxI18JQiBnjpgHXPr7KL9/+jf/6m/QqP16PSq0PVV2myVKrI yO4pAGF77wkoh5yZNUDiJyXqndRYv1OloGnowOXe1KPeo810Y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precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The new BCM2711 supports an additional clock for the emmc2 block. So we need an additional compatible. Signed-off-by: Stefan Wahren Acked-by: Eric Anholt Reviewed-by: Eric Anholt --- Documentation/devicetree/bindings/clock/brcm,bcm2835-cprman.txt | 4 +++- include/dt-bindings/clock/bcm2835.h | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) -- 2.7.4 diff --git a/Documentation/devicetree/bindings/clock/brcm,bcm2835-cprman.txt b/Documentation/devicetree/bindings/clock/brcm,bcm2835-cprman.txt index dd906db..9e0b03a 100644 --- a/Documentation/devicetree/bindings/clock/brcm,bcm2835-cprman.txt +++ b/Documentation/devicetree/bindings/clock/brcm,bcm2835-cprman.txt @@ -12,7 +12,9 @@ clock generators, but a few (like the ARM or HDMI) will source from the PLL dividers directly. Required properties: -- compatible: Should be "brcm,bcm2835-cprman" +- compatible: should be one of the following, + "brcm,bcm2711-cprman" + "brcm,bcm2835-cprman" - #clock-cells: Should be <1>. The permitted clock-specifier values can be found in include/dt-bindings/clock/bcm2835.h - reg: Specifies base physical address and size of the registers diff --git a/include/dt-bindings/clock/bcm2835.h b/include/dt-bindings/clock/bcm2835.h index 2cec01f..b60c0343 100644 --- a/include/dt-bindings/clock/bcm2835.h +++ b/include/dt-bindings/clock/bcm2835.h @@ -58,3 +58,5 @@ #define BCM2835_CLOCK_DSI1E 48 #define BCM2835_CLOCK_DSI0P 49 #define BCM2835_CLOCK_DSI1P 50 + +#define BCM2711_CLOCK_EMMC2 51