Message ID | 1433448707-18104-1-git-send-email-eric@anholt.net |
---|---|
State | Accepted, archived |
Commit | fd26f8830979de48eb3f1c253eb9d2ee2e468eb6 |
Headers | show |
On 06/04/2015 02:11 PM, Eric Anholt wrote: > This gives us a function for making mailbox property channel requests > of the firmware, which is most notable in that it will let us get and > set clock rates. Acked-by: Stephen Warren <swarren@wwwdotorg.org> -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Thu, 04 Jun 2015, Stephen Warren wrote: > On 06/04/2015 02:11 PM, Eric Anholt wrote: > > This gives us a function for making mailbox property channel requests > > of the firmware, which is most notable in that it will let us get and > > set clock rates. > > Acked-by: Stephen Warren <swarren@wwwdotorg.org> Does anyone know how drivers/firmware/ is managed? I don't seem to be able to find a maintainer/supporter listed in MAINTAINERS. -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Thu, 04 Jun 2015, Eric Anholt wrote: > This driver will provide support for calls into the firmware that will > be used by other drivers like cpufreq and vc4. > > Acked-by: Stephen Warren <swarren@wwwdotorg.org> > Signed-off-by: Eric Anholt <eric@anholt.net> > --- > > v2: Improve commit message, point to mailbox.txt for how mboxes work. > v3: Use Lee's suggestion for mailbox phandle docs, fix spelling of > "raspberry". > v4: Change the compatible string to "raspberrypi,bcm2835-firmware" > (requested by Lee, agreed by Stephen) > v5: Add missing s-o-b, fix spelling. > > .../bindings/arm/bcm/raspberrypi,bcm2835-firmware.txt | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > create mode 100644 Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.txt Applied for v4.2, thanks. > diff --git a/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.txt b/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.txt > new file mode 100644 > index 0000000..6824b31 > --- /dev/null > +++ b/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.txt > @@ -0,0 +1,14 @@ > +Raspberry Pi VideoCore firmware driver > + > +Required properties: > + > +- compatible: Should be "raspberrypi,bcm2835-firmware" > +- mboxes: Phandle to the firmware device's Mailbox. > + (See: ../mailbox/mailbox.txt for more information) > + > +Example: > + > +firmware { > + compatible = "raspberrypi,bcm2835-firmware"; > + mboxes = <&mailbox>; > +}; -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Thu, 04 Jun 2015, Eric Anholt wrote: > Signed-off-by: Eric Anholt <eric@anholt.net> > Acked-by: Lee Jones <lee@kernel.org> (previous version with pm-domains) > Acked-by: Stephen Warren <swarren@wwwdotorg.org> > --- > > v2: Drop pm-domains stuff since I've dropped it from the firmware > driver for now, until we get drivers/base fixed. > > v3: Rename the compatible to "raspberrypi,bcm2835-firmware" > > arch/arm/boot/dts/bcm2835-rpi.dtsi | 7 +++++++ > 1 file changed, 7 insertions(+) Applied for v4.2, thanks. > diff --git a/arch/arm/boot/dts/bcm2835-rpi.dtsi b/arch/arm/boot/dts/bcm2835-rpi.dtsi > index 46780bb..ab5474e 100644 > --- a/arch/arm/boot/dts/bcm2835-rpi.dtsi > +++ b/arch/arm/boot/dts/bcm2835-rpi.dtsi > @@ -14,6 +14,13 @@ > linux,default-trigger = "heartbeat"; > }; > }; > + > + soc { > + firmware: firmware { > + compatible = "raspberrypi,bcm2835-firmware"; > + mboxes = <&mailbox>; > + }; > + }; > }; > > &gpio { -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 06/05/2015 01:21 PM, Lee Jones wrote: > On Thu, 04 Jun 2015, Stephen Warren wrote: > >> On 06/04/2015 02:11 PM, Eric Anholt wrote: >>> This gives us a function for making mailbox property channel requests >>> of the firmware, which is most notable in that it will let us get and >>> set clock rates. >> >> Acked-by: Stephen Warren <swarren@wwwdotorg.org> > > Does anyone know how drivers/firmware/ is managed? I don't seem to be > able to find a maintainer/supporter listed in MAINTAINERS. git log implies lots of different committers. I'd suggest send it through arm-soc with the rest of the series. -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.txt b/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.txt new file mode 100644 index 0000000..6824b31 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.txt @@ -0,0 +1,14 @@ +Raspberry Pi VideoCore firmware driver + +Required properties: + +- compatible: Should be "raspberrypi,bcm2835-firmware" +- mboxes: Phandle to the firmware device's Mailbox. + (See: ../mailbox/mailbox.txt for more information) + +Example: + +firmware { + compatible = "raspberrypi,bcm2835-firmware"; + mboxes = <&mailbox>; +};