lkml.org 
[lkml]   [2013]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v3 1/8] ARM: dts: Declare clocks as fixed on bcm11351
    Date
    Declare clocks that are enabled and configured by bootloaders as fixed
    rate clocks in the DTS such that device drivers may use standard clock
    function calls.

    Signed-off-by: Tim Kryger <tim.kryger@linaro.org>
    Reviewed-by: Markus Mayer <markus.mayer@linaro.org>
    Reviewed-by: Matt Porter <matt.porter@linaro.org>
    ---
    arch/arm/boot/dts/bcm11351.dtsi | 97 +++++++++++++++++++++++++++++++++++++++++
    1 file changed, 97 insertions(+)

    diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi
    index b0c0610..eca6fbc 100644
    --- a/arch/arm/boot/dts/bcm11351.dtsi
    +++ b/arch/arm/boot/dts/bcm11351.dtsi
    @@ -142,4 +142,101 @@
    status = "disabled";
    };

    + clocks {
    + bsc1_clk: bsc1 {
    + compatible = "fixed-clock";
    + clock-frequency = <13000000>;
    + #clock-cells = <0>;
    + };
    +
    + bsc2_clk: bsc2 {
    + compatible = "fixed-clock";
    + clock-frequency = <13000000>;
    + #clock-cells = <0>;
    + };
    +
    + bsc3_clk: bsc3 {
    + compatible = "fixed-clock";
    + clock-frequency = <13000000>;
    + #clock-cells = <0>;
    + };
    +
    + pmu_bsc_clk: pmu_bsc {
    + compatible = "fixed-clock";
    + clock-frequency = <13000000>;
    + #clock-cells = <0>;
    + };
    +
    + hub_timer_clk: hub_timer {
    + compatible = "fixed-clock";
    + clock-frequency = <32768>;
    + #clock-cells = <0>;
    + };
    +
    + pwm_clk: pwm {
    + compatible = "fixed-clock";
    + clock-frequency = <26000000>;
    + #clock-cells = <0>;
    + };
    +
    + sdio1_clk: sdio1 {
    + compatible = "fixed-clock";
    + clock-frequency = <48000000>;
    + #clock-cells = <0>;
    + };
    +
    + sdio2_clk: sdio2 {
    + compatible = "fixed-clock";
    + clock-frequency = <48000000>;
    + #clock-cells = <0>;
    + };
    +
    + sdio3_clk: sdio3 {
    + compatible = "fixed-clock";
    + clock-frequency = <48000000>;
    + #clock-cells = <0>;
    + };
    +
    + sdio4_clk: sdio4 {
    + compatible = "fixed-clock";
    + clock-frequency = <48000000>;
    + #clock-cells = <0>;
    + };
    +
    + tmon_1m_clk: tmon_1m {
    + compatible = "fixed-clock";
    + clock-frequency = <1000000>;
    + #clock-cells = <0>;
    + };
    +
    + uartb_clk: uartb {
    + compatible = "fixed-clock";
    + clock-frequency = <13000000>;
    + #clock-cells = <0>;
    + };
    +
    + uartb2_clk: uartb2 {
    + compatible = "fixed-clock";
    + clock-frequency = <13000000>;
    + #clock-cells = <0>;
    + };
    +
    + uartb3_clk: uartb3 {
    + compatible = "fixed-clock";
    + clock-frequency = <13000000>;
    + #clock-cells = <0>;
    + };
    +
    + uartb4_clk: uartb4 {
    + compatible = "fixed-clock";
    + clock-frequency = <13000000>;
    + #clock-cells = <0>;
    + };
    +
    + usb_otg_ahb_clk: usb_otg_ahb {
    + compatible = "fixed-clock";
    + clock-frequency = <52000000>;
    + #clock-cells = <0>;
    + };
    + };
    };
    --
    1.8.0.1



    \
     
     \ /
      Last update: 2013-11-14 22:21    [W:0.038 / U:0.944 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site