From patchwork Wed Jul 17 19:50:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 11048207 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 593D4138B for ; Wed, 17 Jul 2019 19:53:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 48EB72857D for ; Wed, 17 Jul 2019 19:53:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3D6B228685; Wed, 17 Jul 2019 19:53:29 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E0CAD286B5 for ; Wed, 17 Jul 2019 19:53:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=AwnYS5wQ7vVq3D/R+FKcr9mNdKYtMOHrBiA0t0GUZzc=; b=hYP6Co0AdWGG8uJgNvotz4lhUb b34yE71mwll6L5XT1PFwNef8DgdzI2tl0O9wrfBE63bMS8aBCwVMMqU0yFFP5EcdXyPxiDRw7pmo6 FSPr+mGze8JIxS/tQWHa0ts+1qQOSoQoIB8Ka9ka/ZBzPYv29TH1iz4J69Ki9FTASoh5VYJapdSlX AR8XgpE3Ma3bs62S8IHwQRlj/3smOK+ZjPPBttyAc/byX9H7ZeP3wOIGbQXvgXlclrmODdb07clhA bNd9HA+glyJPl6lNHneHHq0QgvmtVveFjmq7Px5m5nYITGoKGTuNezJJvrBqA/CsNFW7X0tUMBQaB R1P1lQ/w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hnpzP-0004ds-Jz; Wed, 17 Jul 2019 19:53:23 +0000 Received: from mout.gmx.net ([212.227.17.22]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hnpx3-0002tK-R0; Wed, 17 Jul 2019 19:51:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1563393043; bh=1E1WYZ9UNXig/XjZbrNwH2B/Uz0L71XIHibc51jpswM=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=ay8CZ/2quxkRrjGfJkjdNVC6PtL5emHaXbpeaZJT6EPxrNRQcH6rM1j0RBBFEkmN3 kVYo3L/IKNMxv2rITpsbrQgYoZUrUBAVzCCjNV/+ea0BNnomNqLYYntELQP2hYb44x u2VOFWGL2MBHVTWdfOKk+RthHCF4LF0yPOjPSN28= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([37.4.249.103]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LhB9P-1iGnNk1k4F-00oYFU; Wed, 17 Jul 2019 21:50:43 +0200 From: Stefan Wahren To: Eric Anholt , Florian Fainelli , Ray Jui , Scott Branden , Nicolas Saenz Julienne , Rob Herring , Mark Rutland , Linus Walleij , Michael Turquette , Stephen Boyd , Ulf Hansson , Adrian Hunter , Mark Brown Subject: [PATCH RFC 06/18] dt-bindings: bcm2835-cprman: Add bcm2838 support Date: Wed, 17 Jul 2019 21:50:14 +0200 Message-Id: <1563393026-17118-7-git-send-email-wahrenst@gmx.net> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1563393026-17118-1-git-send-email-wahrenst@gmx.net> References: <1563393026-17118-1-git-send-email-wahrenst@gmx.net> X-Provags-ID: V03:K1:otG1bhmBIpT4ePgWexdXOh6jWbIk6hLbeRBVV7g/EvQ0SPzgNmm pB2ELjR445W2htcYtD7+pIRijISaun31bKLNZRZlY/G4h+QQupCDKBxhF9XRwAb8NLKFrdX acgvhavysceFMzQDmcg5pNJki2PO1G1PrUyA467p8O+7fZRmqe5Rxk1JWSxut+SGeoa6z0T 65kVq9Fs5CQubt5W/u8/A== X-UI-Out-Filterresults: notjunk:1;V03:K0:phn0F9BrgZY=:TFY2ntK3hwWEUmvEUuK8yL JYIYMoBB6jorvtcS6K8kh1Up38KTe5lxMQsaSveZX4E9gY8m+/5EO/ttJsZwgIDZojvVvKFdw 0sZnRnAKqfCpKwS0rytmEBr3jU87yNG6jx8P1/uiSxhQvgHw+Be55k9ylt0DpJT8vZoN22aoK cpIVXxQEWEwOpWW+Egb7jMF63m/waXl8pTVVUV5EJZyOAKROCSJTUArLUslRYIUVKpHnFtwr7 ehNpDyB29trql1tLd/cAXgjtKMCMvq33A15MyR7U0k0pVwc3lBkrokfp20RPmNNbdFVUnO4JT AQO4YwrY3Avrs2njcymQr8JWfxsQsLWCs3wQJST6nBYOCrYp/K9KpEk5bU1PlNsF963w4x1Me HwRHHwanOJGWSUNUN268mOvx841H5Px9CO/npuDsSKQsuu4OguwcBLkU/b9rX8dgDPUfu8MQu aKl8ONUNXhWKsArOT0pvohKMssqFOBSuuDNPsUBujTkT72oM/KN9BpFiKeL8/EwQCTpPlEoh8 7qiZbj6PVGImV60VKgb9Ys/eV5qKM7ZKsN1hLOvV+ZBrT1GJ0yxoGuLwFRZPJFRykE72a/zXR BgAyYJUxf5gQsftL9enXkBz2KGbal02dJO5l5f1Ye1YgKOLgEcxgeHiPyTdDhcm9gTW0O+Ngu ehbW+fdZGuzIEnpz50A2vIdFlp+UK4Kx4EIwHl1j9ETKM4drVYpM+OEpaPZqO483XVTXqIe8n Az/maY7h7EWdiqkBpZV3AQF2/pKnmJOq9Nv8lJC0pD1OOKqwj/1Rs0cFSAfkfx1OXcCdcg9Ar gWVaaHdIxiFzySnKGVmgjJ9SGVNuksNZb+0QrA6aQJh2HJkKoNMNOgogemPxumBRtOfCy39xE VMRTUUBEujaLjuFFUNcQgjbl8yXO4XzxykMueMvkTLO0B+Fl+GAHoM2hykTo1b/4OzsJAIueT 5gVguBWXqrG1Kr7nmQ3pIuIMNEYDexv8C/GNawW25BgQNwnxYpXKBdAvzjzpbq26rtTmhPbUP 610ubaBOVX0KqGJfhpi/irWSYDLllV4NSKIOwmzAXJ2m6e5IqJ4P/7v0MdWI5SnBYe1ilMq9U yCF/bHgVNxeHwg= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190717_125058_164260_502C4E99 X-CRM114-Status: GOOD ( 12.79 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Stefan Wahren MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The new BCM2838 supports an additional clock for the emmc2 block. So we need an additional compatible. Signed-off-by: Stefan Wahren --- 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..e395795 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,bcm2835-cprman" + "brcm,bcm2838-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..d73acd8 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 BCM2838_CLOCK_EMMC2 51