16 Aug, 2016

1 commit


13 Aug, 2016

1 commit

  • Adds support for fixed-factor clock providers which have not been
    enabled via of_clk_init().

    This is required by Device trees overlays that introduce clocks
    providers.

    Signed-off-by: Ricardo Ribalda Delgado
    [sboyd@codeaurora.org: Make new private function static, don't
    check clk for NULL when unregistering in driver remove]
    Signed-off-by: Stephen Boyd

    Ricardo Ribalda Delgado
     

02 Jul, 2016

1 commit

  • The only way for a fixed factor clock to change its rate would be to change
    its parent rate.

    Since passing blindly CLK_SET_RATE_PARENT might break a lot of platforms
    that were relying on the fact that the parent rate wouldn't change,
    introduce a compatible-based whitelist that will allow clocks to opt-in
    that flag.

    Signed-off-by: Maxime Ripard
    Acked-by: Rob Herring
    Signed-off-by: Stephen Boyd

    Maxime Ripard
     

20 Apr, 2016

1 commit


30 Jan, 2016

2 commits


25 Aug, 2015

2 commits


11 Jun, 2015

1 commit

  • Currently it is not made explicit why clk_fixed_set_rate() can ignore
    its arguments and unconditionally return success. Add a comment
    to explain this.

    We also mark the clk_ops table const since it should never be
    modified at runtime.

    Suggested-by: Stephen Boyd
    Signed-off-by: Daniel Thompson
    Signed-off-by: Stephen Boyd

    Daniel Thompson
     

15 May, 2015

1 commit


16 Nov, 2013

1 commit

  • Pull trivial tree updates from Jiri Kosina:
    "Usual earth-shaking, news-breaking, rocket science pile from
    trivial.git"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (23 commits)
    doc: usb: Fix typo in Documentation/usb/gadget_configs.txt
    doc: add missing files to timers/00-INDEX
    timekeeping: Fix some trivial typos in comments
    mm: Fix some trivial typos in comments
    irq: Fix some trivial typos in comments
    NUMA: fix typos in Kconfig help text
    mm: update 00-INDEX
    doc: Documentation/DMA-attributes.txt fix typo
    DRM: comment: `halve' -> `half'
    Docs: Kconfig: `devlopers' -> `developers'
    doc: typo on word accounting in kprobes.c in mutliple architectures
    treewide: fix "usefull" typo
    treewide: fix "distingush" typo
    mm/Kconfig: Grammar s/an/a/
    kexec: Typo s/the/then/
    Documentation/kvm: Update cpuid documentation for steal time and pv eoi
    treewide: Fix common typo in "identify"
    __page_to_pfn: Fix typo in comment
    Correct some typos for word frequency
    clk: fixed-factor: Fix a trivial typo
    ...

    Linus Torvalds
     

14 Oct, 2013

1 commit


17 Aug, 2013

1 commit


13 Apr, 2013

1 commit


12 Jan, 2013

1 commit


12 Jul, 2012

1 commit

  • Most platforms end up using a mix of basic clock types and
    some which use clk_hw_foo struct for filling in custom platform
    information when the clocks don't fit into basic types supported.

    In platform code, its useful to know if a clock is using a basic
    type or clk_hw_foo, which helps platforms know if they can
    safely use to_clk_hw_foo to derive the clk_hw_foo pointer from
    clk_hw.

    Mark all basic clocks with a CLK_IS_BASIC flag.

    Signed-off-by: Rajendra Nayak
    Signed-off-by: Mike Turquette

    Rajendra Nayak
     

09 May, 2012

1 commit

  • Having fixed factors/dividers in hardware is a common pattern, so
    add a basic clock type doing this. It basically describes a fixed
    factor clock using a nominator and a denominator.

    Signed-off-by: Sascha Hauer
    Reviewed-by: Viresh Kumar
    Tested-by: Shawn Guo
    [mturquette@linaro.org: constify parent_names in static init macro]
    [mturquette@linaro.org: copy/paste bug from mux in static init macro]
    [mturquette@linaro.org: fix error handling in clk_register_fixed_factor]
    [mturquette@linaro.org: improve division accuracy; thanks to Saravana]
    Signed-off-by: Mike Turquette

    Sascha Hauer