From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756314AbcJaEaV (ORCPT ); Mon, 31 Oct 2016 00:30:21 -0400 Received: from mail-oi0-f65.google.com ([209.85.218.65]:34070 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754151AbcJaEaT (ORCPT ); Mon, 31 Oct 2016 00:30:19 -0400 Date: Sun, 30 Oct 2016 23:30:16 -0500 From: Rob Herring To: Bartosz Golaszewski Cc: Kevin Hilman , Michael Turquette , Sekhar Nori , Frank Rowand , Mark Rutland , Peter Ujfalusi , Russell King , LKML , arm-soc , linux-drm , linux-devicetree , Jyri Sarha , Tomi Valkeinen , David Airlie , Laurent Pinchart Subject: Re: [PATCH 2/2] ARM: bus: da8xx-mstpri: new driver Message-ID: <20161031043015.74ppaship5nqfaqt@rob-hp-laptop> References: <1477503355-2600-1-git-send-email-bgolaszewski@baylibre.com> <1477503355-2600-3-git-send-email-bgolaszewski@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1477503355-2600-3-git-send-email-bgolaszewski@baylibre.com> User-Agent: Mutt/1.6.2-neo (2016-08-21) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 26, 2016 at 07:35:55PM +0200, Bartosz Golaszewski wrote: > Create the driver for the da8xx master peripheral priority > configuration and implement support for writing to the three > Master Priority registers on da850 SoCs. > > Signed-off-by: Bartosz Golaszewski > --- > .../devicetree/bindings/bus/ti,da850-mstpri.txt | 20 ++ > drivers/bus/Kconfig | 9 + > drivers/bus/Makefile | 2 + > drivers/bus/da8xx-mstpri.c | 266 +++++++++++++++++++++ > 4 files changed, 297 insertions(+) > create mode 100644 Documentation/devicetree/bindings/bus/ti,da850-mstpri.txt > create mode 100644 drivers/bus/da8xx-mstpri.c > > diff --git a/Documentation/devicetree/bindings/bus/ti,da850-mstpri.txt b/Documentation/devicetree/bindings/bus/ti,da850-mstpri.txt > new file mode 100644 > index 0000000..225af09 > --- /dev/null > +++ b/Documentation/devicetree/bindings/bus/ti,da850-mstpri.txt > @@ -0,0 +1,20 @@ > +* Device tree bindings for Texas Instruments da8xx master peripheral > + priority driver > + > +DA8XX SoCs feature a set of registers allowing to change the priority of all > +peripherals classified as masters. > + > +Documentation: > +OMAP-L138 (DA850) - http://www.ti.com/lit/ug/spruh82c/spruh82c.pdf > + > +Required properties: > + > +- compatible: "ti,da850-mstpri", "syscon" - for da850 based boards Drop syscon. Doesn't look like it is needed and the example doesn't match. > +- reg: offset and length of the mstpri registers > + > +Example for da850-lcdk is shown below. > + > +mstpri { > + compatible = "ti,da850-mstpri"; > + reg = <0x14110 0x0c>; > +}; From mboxrd@z Thu Jan 1 00:00:00 1970 From: robh@kernel.org (Rob Herring) Date: Sun, 30 Oct 2016 23:30:16 -0500 Subject: [PATCH 2/2] ARM: bus: da8xx-mstpri: new driver In-Reply-To: <1477503355-2600-3-git-send-email-bgolaszewski@baylibre.com> References: <1477503355-2600-1-git-send-email-bgolaszewski@baylibre.com> <1477503355-2600-3-git-send-email-bgolaszewski@baylibre.com> Message-ID: <20161031043015.74ppaship5nqfaqt@rob-hp-laptop> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Oct 26, 2016 at 07:35:55PM +0200, Bartosz Golaszewski wrote: > Create the driver for the da8xx master peripheral priority > configuration and implement support for writing to the three > Master Priority registers on da850 SoCs. > > Signed-off-by: Bartosz Golaszewski > --- > .../devicetree/bindings/bus/ti,da850-mstpri.txt | 20 ++ > drivers/bus/Kconfig | 9 + > drivers/bus/Makefile | 2 + > drivers/bus/da8xx-mstpri.c | 266 +++++++++++++++++++++ > 4 files changed, 297 insertions(+) > create mode 100644 Documentation/devicetree/bindings/bus/ti,da850-mstpri.txt > create mode 100644 drivers/bus/da8xx-mstpri.c > > diff --git a/Documentation/devicetree/bindings/bus/ti,da850-mstpri.txt b/Documentation/devicetree/bindings/bus/ti,da850-mstpri.txt > new file mode 100644 > index 0000000..225af09 > --- /dev/null > +++ b/Documentation/devicetree/bindings/bus/ti,da850-mstpri.txt > @@ -0,0 +1,20 @@ > +* Device tree bindings for Texas Instruments da8xx master peripheral > + priority driver > + > +DA8XX SoCs feature a set of registers allowing to change the priority of all > +peripherals classified as masters. > + > +Documentation: > +OMAP-L138 (DA850) - http://www.ti.com/lit/ug/spruh82c/spruh82c.pdf > + > +Required properties: > + > +- compatible: "ti,da850-mstpri", "syscon" - for da850 based boards Drop syscon. Doesn't look like it is needed and the example doesn't match. > +- reg: offset and length of the mstpri registers > + > +Example for da850-lcdk is shown below. > + > +mstpri { > + compatible = "ti,da850-mstpri"; > + reg = <0x14110 0x0c>; > +};