1. 15 8月, 2018 4 次提交
    • S
      Merge branches 'clk-imx-critical', 'clk-tegra-bpmp', 'clk-tegra-124',... · 13905463
      Stephen Boyd 提交于
      Merge branches 'clk-imx-critical', 'clk-tegra-bpmp', 'clk-tegra-124', 'clk-tegra-critical' and 'clk-tegra-emc-oob' into clk-next
      
      * clk-imx-critical:
        :  - Convert to CLK_IS_CRITICAL for i.MX51/53 driver
        clk: imx51-imx53: Include sizes.h to silence compile errors
        clk: imx51-imx53: Annotate critical clocks as CLK_IS_CRITICAL
      
      * clk-tegra-bpmp:
        :  - Fix Tegra BPMP driver oops when some xlating a NULL clk
        clk: tegra: bpmp: Don't crash when a clock fails to register
      
      * clk-tegra-124:
        :  - Proper default configuration for vic03 and vde clks on Tegra124
        clk: tegra: Make vde a child of pll_c3
        clk: tegra: Make vic03 a child of pll_c3
      
      * clk-tegra-critical:
        :  - Mark Tegra memory controller clks as critical
        clk: tegra: Mark Memory Controller clock as critical
      
      * clk-tegra-emc-oob:
        :  - Fix array bounds clamp in Tegra's emc determine_rate() op
        clk: tegra: emc: Avoid out-of-bounds bug
      13905463
    • S
      Merge branches 'clk-ingenic-fixes', 'clk-max9485', 'clk-pxa-32k-pll',... · ea4f7872
      Stephen Boyd 提交于
      Merge branches 'clk-ingenic-fixes', 'clk-max9485', 'clk-pxa-32k-pll', 'clk-aspeed' and 'clk-imx6sll-gpio' into clk-next
      
      * clk-ingenic-fixes:
        :  - Ingenic i2s bit update and allow UDC clk to gate
        clk: ingenic: Add missing flag for UDC clock
        clk: ingenic: Fix incorrect data for the i2s clock
      
      * clk-max9485:
        :  - Maxim 9485 Programmable Clock Generator
        clk: Add driver for MAX9485
        dts: clk: add devicetree bindings for MAX9485
      
      * clk-pxa-32k-pll:
        :  - Expose 32 kHz PLL on PXA SoCs
        clk: pxa: export 32kHz PLL
      
      * clk-aspeed:
        :  - Fix name of aspeed SDC clk define to have only one 'CLK'
        clk: aspeed: Fix SDCLK name
      
      * clk-imx6sll-gpio:
        :  - imx6sll GPIO clk gate support
        clk: imx6sll: add GPIO LPCGs
      ea4f7872
    • S
      Merge branches 'clk-imx6-video-parent', 'clk-qcom-sdm845-criticals',... · b183c688
      Stephen Boyd 提交于
      Merge branches 'clk-imx6-video-parent', 'clk-qcom-sdm845-criticals', 'clk-renesas', 'clk-stratix10-fixes' and 'clk-atmel-i2s' into clk-next
      
      * clk-imx6-video-parent:
        :  - Fix i.MX6QDL video clk parent
        clk: imx6: fix video_27m parent for IMX6QDL_CLK_CKO1_SEL
      
      * clk-qcom-sdm845-criticals:
        :  - critical clk markings for qcom SDM845
        clk: qcom: Enable clocks which needs to be always on for SDM845
      
      * clk-renesas:
        clk: renesas: Renesas R9A06G032 clock driver
        dt-bindings: clock: renesas,r9a06g032-sysctrl: documentation
        dt-bindings: clock: Add the r9a06g032-sysctrl.h file
        clk: renesas: r8a7795: Add CCREE clock
        clk: renesas: r8a7795: Add CR clock
      
      * clk-stratix10-fixes:
        :  - Fix Stratix10 mpu_free_clk and sdmmc_free_clk parents
        clk: socfpga: stratix10: fix the sdmmc_free_clk mux
        clk: socfpga: stratix10: fix the parents of mpu_free_clk
      
      * clk-atmel-i2s:
        :  - Atmel at91 I2S audio clk support
        clk: at91: add I2S clock mux driver
        dt-bindings: clk: at91: add an I2S mux clock
      b183c688
    • S
      Merge branches 'clk-qcom-set-rate-gate', 'clk-core-set-rate-gate',... · 5ef7748b
      Stephen Boyd 提交于
      Merge branches 'clk-qcom-set-rate-gate', 'clk-core-set-rate-gate', 'clk-core-duty-cycle', 'clk-si-prepare' and 'clk-imx-gpio-gates' into clk-next
      
      * clk-qcom-set-rate-gate:
        clk: qcom: drop CLK_SET_RATE_GATE from sdc clocks
      
      * clk-core-set-rate-gate:
        clk: fix CLK_SET_RATE_GATE with clock rate protection
      
      * clk-core-duty-cycle:
        clk: add duty cycle support
      
      * clk-si-prepare:
        :  - SI544/SI514 clk on/off support
        clk-si514, clk-si544: Implement prepare/unprepare/is_prepared operations
      
      * clk-imx-gpio-gates:
        :  - i.MX6UL GPIO clock gates in CCM CCGR
        clk: imx6ul: remove clks_init_on array
        clk: imx6ul: add GPIO clock gates
        dt-bindings: clock: imx6ul: Do not change the clock definition order
      5ef7748b
  2. 09 7月, 2018 5 次提交
  3. 07 7月, 2018 14 次提交
  4. 04 7月, 2018 1 次提交
  5. 30 6月, 2018 5 次提交
  6. 25 6月, 2018 2 次提交
  7. 22 6月, 2018 1 次提交
  8. 20 6月, 2018 3 次提交
    • J
      clk: add duty cycle support · 9fba738a
      Jerome Brunet 提交于
      Add the possibility to apply and query the clock signal duty cycle ratio.
      
      This is useful when the duty cycle of the clock signal depends on some
      other parameters controlled by the clock framework.
      
      For example, the duty cycle of a divider may depends on the raw divider
      setting (ratio = N / div) , which is controlled by the CCF. In such case,
      going through the pwm framework to control the duty cycle ratio of this
      clock would be a burden.
      
      A clock provider is not required to implement the operation to set and get
      the duty cycle. If it does not implement .get_duty_cycle(), the ratio is
      assumed to be 50%.
      
      This change also adds a new flag, CLK_DUTY_CYCLE_PARENT. This flag should
      be used to indicate that a clock, such as gates and muxes, may inherit
      the duty cycle ratio of its parent clock. If a clock does not provide a
      get_duty_cycle() callback and has CLK_DUTY_CYCLE_PARENT, then the call
      will be directly forwarded to its parent clock, if any. For
      set_duty_cycle(), the clock should also have CLK_SET_RATE_PARENT for the
      call to be forwarded
      Signed-off-by: NJerome Brunet <jbrunet@baylibre.com>
      Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
      Link: lkml.kernel.org/r/20180619144141.8506-1-jbrunet@baylibre.com
      9fba738a
    • J
      clk: fix CLK_SET_RATE_GATE with clock rate protection · 9461f7b3
      Jerome Brunet 提交于
      CLK_SET_RATE_GATE should prevent any operation which may result in a rate
      change or glitch while the clock is prepared/enabled.
      
      IOW, the following sequence is not allowed anymore with CLK_SET_RATE_GATE:
      * clk_get()
      * clk_prepare_enable()
      * clk_get_rate()
      * clk_set_rate()
      
      At the moment this is enforced on the leaf clock of the operation, not
      along the tree. This problematic because, if a PLL has the CLK_RATE_GATE,
      it won't be enforced if the clk_set_rate() is called on its child clocks.
      
      Using clock rate protection, we can now enforce CLK_SET_RATE_GATE along the
      clock tree
      Acked-by: NLinus Walleij <linus.walleij@linaro.org>
      Tested-by: NQuentin Schulz <quentin.schulz@free-electrons.com>
      Tested-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
      Signed-off-by: NJerome Brunet <jbrunet@baylibre.com>
      Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
      Link: lkml.kernel.org/r/20180619134051.16726-3-jbrunet@baylibre.com
      9461f7b3
    • J
      clk: qcom: drop CLK_SET_RATE_GATE from sdc clocks · 04cdd5af
      Jerome Brunet 提交于
      the mmci driver (drivers/mmc/host/mmci.c) does the following sequence:
      * clk_prepare_enable()
      * clk_set_rate()
      
      on SDCx_clk which is a children of SDCx_src. SDCx_src has
      CLK_SET_RATE_GATE so this sequence should not be allowed but this was not
      enforced. IOW, the flag is ignored. Dropping the flag won't change
      anything to the current behaviour of the platform.
      
      CLK_SET_RATE_GATE is being fixed and enforced now. If the flag was kept,
      the mmci driver would receive -EBUSY when calling clk_set_rate()
      Signed-off-by: NJerome Brunet <jbrunet@baylibre.com>
      Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
      Link: lkml.kernel.org/r/20180619134051.16726-2-jbrunet@baylibre.com
      04cdd5af
  9. 19 6月, 2018 2 次提交
  10. 17 6月, 2018 3 次提交
    • L
      Linux 4.18-rc1 · ce397d21
      Linus Torvalds 提交于
      ce397d21
    • L
      Merge tag 'for-linus-20180616' of git://git.kernel.dk/linux-block · 265c5596
      Linus Torvalds 提交于
      Pull block fixes from Jens Axboe:
       "A collection of fixes that should go into -rc1. This contains:
      
         - bsg_open vs bsg_unregister race fix (Anatoliy)
      
         - NVMe pull request from Christoph, with fixes for regressions in
           this window, FC connect/reconnect path code unification, and a
           trace point addition.
      
         - timeout fix (Christoph)
      
         - remove a few unused functions (Christoph)
      
         - blk-mq tag_set reinit fix (Roman)"
      
      * tag 'for-linus-20180616' of git://git.kernel.dk/linux-block:
        bsg: fix race of bsg_open and bsg_unregister
        block: remov blk_queue_invalidate_tags
        nvme-fabrics: fix and refine state checks in __nvmf_check_ready
        nvme-fabrics: handle the admin-only case properly in nvmf_check_ready
        nvme-fabrics: refactor queue ready check
        blk-mq: remove blk_mq_tagset_iter
        nvme: remove nvme_reinit_tagset
        nvme-fc: fix nulling of queue data on reconnect
        nvme-fc: remove reinit_request routine
        blk-mq: don't time out requests again that are in the timeout handler
        nvme-fc: change controllers first connect to use reconnect path
        nvme: don't rely on the changed namespace list log
        nvmet: free smart-log buffer after use
        nvme-rdma: fix error flow during mapping request data
        nvme: add bio remapping tracepoint
        nvme: fix NULL pointer dereference in nvme_init_subsystem
        blk-mq: reinit q->tag_set_list entry only after grace period
      265c5596
    • L
      Merge tag 'docs-broken-links' of git://linuxtv.org/mchehab/experimental · 5e7b9212
      Linus Torvalds 提交于
      Pull documentation fixes from Mauro Carvalho Chehab:
       "This solves a series of broken links for files under Documentation,
        and improves a script meant to detect such broken links (see
        scripts/documentation-file-ref-check).
      
        The changes on this series are:
      
         - can.rst: fix a footnote reference;
      
         - crypto_engine.rst: Fix two parsing warnings;
      
         - Fix a lot of broken references to Documentation/*;
      
         - improve the scripts/documentation-file-ref-check script, in order
           to help detecting/fixing broken references, preventing
           false-positives.
      
        After this patch series, only 33 broken references to doc files are
        detected by scripts/documentation-file-ref-check"
      
      * tag 'docs-broken-links' of git://linuxtv.org/mchehab/experimental: (26 commits)
        fix a series of Documentation/ broken file name references
        Documentation: rstFlatTable.py: fix a broken reference
        ABI: sysfs-devices-system-cpu: remove a broken reference
        devicetree: fix a series of wrong file references
        devicetree: fix name of pinctrl-bindings.txt
        devicetree: fix some bindings file names
        MAINTAINERS: fix location of DT npcm files
        MAINTAINERS: fix location of some display DT bindings
        kernel-parameters.txt: fix pointers to sound parameters
        bindings: nvmem/zii: Fix location of nvmem.txt
        docs: Fix more broken references
        scripts/documentation-file-ref-check: check tools/*/Documentation
        scripts/documentation-file-ref-check: get rid of false-positives
        scripts/documentation-file-ref-check: hint: dash or underline
        scripts/documentation-file-ref-check: add a fix logic for DT
        scripts/documentation-file-ref-check: accept more wildcards at filenames
        scripts/documentation-file-ref-check: fix help message
        media: max2175: fix location of driver's companion documentation
        media: v4l: fix broken video4linux docs locations
        media: dvb: point to the location of the old README.dvb-usb file
        ...
      5e7b9212