1. 29 7月, 2020 10 次提交
  2. 27 7月, 2020 3 次提交
  3. 22 7月, 2020 14 次提交
  4. 17 7月, 2020 13 次提交
    • M
      Merge series "Add support for... · 2b2d441d
      Mark Brown 提交于
      Merge series "Add support for [H]SCIF/TMU/CMT/THS/SDHI/MSIOF/CAN[FD]/I2C/IIC/RWDT on R8A774E1" from Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>:
      
      Hi All,
      
      This patch series enables support for following on RZ/G2H SoC,
      * CPU OPP
      * THS
      * CMT/TMU
      * I2C/IIC
      * MSIOF
      * RWDT
      * SDHI
      * SCIF/HSCIF
      * CAN/CANFD
      
      Cheers,
      Prabhakar
      
      Lad Prabhakar (14):
        dt-bindings: thermal: rcar-gen3-thermal: Add r8a774e1 support
        dt-bindings: timer: renesas,cmt: Document r8a774e1 CMT support
        arm64: dts: renesas: r8a774e1: Add SCIF and HSCIF nodes
        arm64: dts: renesas: r8a774e1: Add SDHI nodes
        dt-bindings: i2c: renesas,i2c: Document r8a774e1 support
        dt-bindings: i2c: renesas,iic: Document r8a774e1 support
        arm64: dts: renesas: r8a774e1: Add I2C and IIC-DVFS support
        dt-bindings: spi: renesas,sh-msiof: Add r8a774e1 support
        arm64: dts: renesas: r8a774e1: Add MSIOF nodes
        dt-bindings: watchdog: renesas,wdt: Document r8a774e1 support
        arm64: dts: renesas: r8a774e1: Add RWDT node
        dt-bindings: can: rcar_can: Document r8a774e1 support
        dt-bindings: can: rcar_canfd: Document r8a774e1 support
        arm64: dts: renesas: r8a774e1: Add CAN[FD] support
      
      Marian-Cristian Rotariu (6):
        arm64: dts: renesas: r8a774e1: Add operating points
        thermal: rcar_gen3_thermal: Add r8a774e1 support
        arm64: dts: renesas: r8a774e1: Add RZ/G2H thermal support
        arm64: dts: renesas: r8a774e1: Add CMT device nodes
        dt-bindings: timer: renesas,tmu: Document r8a774e1 bindings
        arm64: dts: renesas: r8a774e1: Add TMU device nodes
      
       .../devicetree/bindings/i2c/renesas,i2c.txt   |   1 +
       .../devicetree/bindings/i2c/renesas,iic.txt   |   1 +
       .../devicetree/bindings/net/can/rcar_can.txt  |   1 +
       .../bindings/net/can/rcar_canfd.txt           |   1 +
       .../bindings/spi/renesas,sh-msiof.yaml        |   1 +
       .../bindings/thermal/rcar-gen3-thermal.yaml   |   1 +
       .../bindings/timer/renesas,cmt.yaml           |   2 +
       .../devicetree/bindings/timer/renesas,tmu.txt |   1 +
       .../bindings/watchdog/renesas,wdt.yaml        |   1 +
       arch/arm64/boot/dts/renesas/r8a774e1.dtsi     | 713 +++++++++++++++++-
       drivers/thermal/rcar_gen3_thermal.c           |   4 +
       11 files changed, 715 insertions(+), 12 deletions(-)
      
      --
      2.17.1
      2b2d441d
    • L
      spi: spi-amd: Do not define 'struct acpi_device_id' when !CONFIG_ACPI · 85ed0f63
      Lee Jones 提交于
      Since ACPI_PTR() is used to NULLify the value when !CONFIG_ACPI,
      struct 'spi_acpi_match' becomes defined but unused.
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/spi/spi-amd.c:297:36: warning: ‘spi_acpi_match’ defined but not used [-Wunused-const-variable=]
       297 | static const struct acpi_device_id spi_acpi_match[] = {
       | ^~~~~~~~~~~~~~
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      Cc: Sanjay R Mehta <sanju.mehta@amd.com>
      Link: https://lore.kernel.org/r/20200717135424.2442271-15-lee.jones@linaro.orgSigned-off-by: NMark Brown <broonie@kernel.org>
      85ed0f63
    • L
      spi: spi-pxa2xx: Do not define 'struct acpi_device_id' when !CONFIG_ACPI · 9b2d6119
      Lee Jones 提交于
      Since ACPI_PTR() is used to NULLify the value when !CONFIG_ACPI,
      struct 'pxa2xx_spi_acpi_match' becomes defined but unused.
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/spi/spi-pxa2xx.c:1435:36: warning: ‘pxa2xx_spi_acpi_match’ defined but not used [-Wunused-const-variable=]
       1435 | static const struct acpi_device_id pxa2xx_spi_acpi_match[] = {
       | ^~~~~~~~~~~~~~~~~~~~~
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      Cc: Daniel Mack <daniel@zonque.org>
      Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
      Cc: Robert Jarzmik <robert.jarzmik@free.fr>
      Link: https://lore.kernel.org/r/20200717135424.2442271-14-lee.jones@linaro.orgSigned-off-by: NMark Brown <broonie@kernel.org>
      9b2d6119
    • L
      spi: spi-at91-usart: Remove unused OF table 'struct of_device_id' · c894c265
      Lee Jones 提交于
      The only way this driver can be probed by MFD via its parent device.
      
      No other reference to 'microchip,at91sam9g45-usart-spi' exists in the kernel.
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/spi/spi-at91-usart.c:684:34: warning: ‘at91_usart_spi_dt_ids’ defined but not used [-Wunused-const-variable=]
       684 | static const struct of_device_id at91_usart_spi_dt_ids[] = {
       | ^~~~~~~~~~~~~~~~~~~~~
      Suggested-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      Acked-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
      Cc: Radu Pirea <radu_nicolae.pirea@upb.ro>
      Cc: Nicolas Ferre <nicolas.ferre@microchip.com>
      Cc: Ludovic Desroches <ludovic.desroches@microchip.com>
      Link: https://lore.kernel.org/r/20200717135424.2442271-13-lee.jones@linaro.orgSigned-off-by: NMark Brown <broonie@kernel.org>
      c894c265
    • L
      spi: spi-topcliff-pch: Add missing descriptions to 'struct pch_spi_data' · decf5326
      Lee Jones 提交于
      Fixes the following W=1 kernel build warning(s):
      
       drivers/spi/spi-topcliff-pch.c:184: warning: Function parameter or member 'io_base_addr' not described in 'pch_spi_data'
       drivers/spi/spi-topcliff-pch.c:184: warning: Function parameter or member 'pkt_tx_buff' not described in 'pch_spi_data'
       drivers/spi/spi-topcliff-pch.c:184: warning: Function parameter or member 'pkt_rx_buff' not described in 'pch_spi_data'
       drivers/spi/spi-topcliff-pch.c:184: warning: Function parameter or member 'dma' not described in 'pch_spi_data'
       drivers/spi/spi-topcliff-pch.c:184: warning: Function parameter or member 'use_dma' not described in 'pch_spi_data'
       drivers/spi/spi-topcliff-pch.c:184: warning: Function parameter or member 'save_total_len' not described in 'pch_spi_data'
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      Link: https://lore.kernel.org/r/20200717135424.2442271-12-lee.jones@linaro.orgSigned-off-by: NMark Brown <broonie@kernel.org>
      decf5326
    • L
      spi: spi-zynqmp-gqspi: Correct a couple of misspellings in kerneldoc · 4b42b0b4
      Lee Jones 提交于
      Fixes the following W=1 kernel build warning(s):
      
       drivers/spi/spi-zynqmp-gqspi.c:205: warning: Function parameter or member 'slavecs' not described in 'zynqmp_gqspi_selectslave'
       drivers/spi/spi-zynqmp-gqspi.c:205: warning: Function parameter or member 'slavebus' not described in 'zynqmp_gqspi_selectslave'
       drivers/spi/spi-zynqmp-gqspi.c:205: warning: Excess function parameter 'flashcs' description in 'zynqmp_gqspi_selectslave'
       drivers/spi/spi-zynqmp-gqspi.c:205: warning: Excess function parameter 'flashbus' description in 'zynqmp_gqspi_selectslave'
       drivers/spi/spi-zynqmp-gqspi.c:902: warning: Function parameter or member 'dev' not described in 'zynqmp_qspi_suspend'
       drivers/spi/spi-zynqmp-gqspi.c:902: warning: Excess function parameter '_dev' description in 'zynqmp_qspi_suspend'
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      Reviewed-by: NMichal Simek <michal.simek@xilinx.com>
      Link: https://lore.kernel.org/r/20200717135424.2442271-11-lee.jones@linaro.orgSigned-off-by: NMark Brown <broonie@kernel.org>
      4b42b0b4
    • L
      spi: spi-zynq-qspi: Add description for 2 missing attributes/parameters · e867feec
      Lee Jones 提交于
      Fixes the following W=1 kernel build warning(s):
      
       drivers/spi/spi-zynq-qspi.c:143: warning: Function parameter or member 'dev' not described in 'zynq_qspi'
       drivers/spi/spi-zynq-qspi.c:334: warning: Function parameter or member 'spi' not described in 'zynq_qspi_config_op'
       drivers/spi/spi-zynq-qspi.c:334: warning: Excess function parameter 'qspi' description in 'zynq_qspi_config_op'
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      Reviewed-by: NMichal Simek <michal.simek@xilinx.com>
      Cc: Sureshkumar Relli <nagasure@xilinx.com>
      Link: https://lore.kernel.org/r/20200717135424.2442271-10-lee.jones@linaro.orgSigned-off-by: NMark Brown <broonie@kernel.org>
      e867feec
    • L
      spi: spi-pl022: Provide missing struct attribute/function param docs · c7cd1dfb
      Lee Jones 提交于
      Also demote non-worthy kerneldoc headers to standard comment blocks.
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/spi/spi-pl022.c:304: warning: cannot understand function prototype: 'enum ssp_writing '
       drivers/spi/spi-pl022.c:330: warning: Function parameter or member 'loopback' not described in 'vendor_data'
       drivers/spi/spi-pl022.c:398: warning: Function parameter or member 'rx_lev_trig' not described in 'pl022'
       drivers/spi/spi-pl022.c:398: warning: Function parameter or member 'tx_lev_trig' not described in 'pl022'
       drivers/spi/spi-pl022.c:398: warning: Function parameter or member 'dma_running' not described in 'pl022'
       drivers/spi/spi-pl022.c:670: warning: Function parameter or member 'pl022' not described in 'readwriter'
       drivers/spi/spi-pl022.c:1250: warning: Function parameter or member 'irq' not described in 'pl022_interrupt_handler'
       drivers/spi/spi-pl022.c:1250: warning: Function parameter or member 'dev_id' not described in 'pl022_interrupt_handler'
       drivers/spi/spi-pl022.c:1343: warning: Function parameter or member 'pl022' not described in 'set_up_next_transfer'
       drivers/spi/spi-pl022.c:1343: warning: Function parameter or member 'transfer' not described in 'set_up_next_transfer'
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      Acked-by: NLinus Walleij <linus.walleij@linaro.org>
      Cc: Sachin Verma <sachin.verma@st.com>
      Link: https://lore.kernel.org/r/20200717135424.2442271-9-lee.jones@linaro.orgSigned-off-by: NMark Brown <broonie@kernel.org>
      c7cd1dfb
    • L
      spi: spi-s3c64xx: Add missing entries for structs 's3c64xx_spi_dma_data' and 's3c64xx_spi_dma_data' · 6b8d1e47
      Lee Jones 提交于
      Fixes the following W=1 kernel build warning(s):
      
       drivers/spi/spi-s3c64xx.c:150: warning: Function parameter or member 'quirks' not described in 's3c64xx_spi_port_config'
       drivers/spi/spi-s3c64xx.c:150: warning: Function parameter or member 'clk_ioclk' not described in 's3c64xx_spi_port_config'
       drivers/spi/spi-s3c64xx.c:189: warning: Function parameter or member 'pdev' not described in 's3c64xx_spi_driver_data'
       drivers/spi/spi-s3c64xx.c:189: warning: Function parameter or member 'rx_dma' not described in 's3c64xx_spi_driver_data'
       drivers/spi/spi-s3c64xx.c:189: warning: Function parameter or member 'tx_dma' not described in 's3c64xx_spi_driver_data'
       drivers/spi/spi-s3c64xx.c:189: warning: Function parameter or member 'port_conf' not described in 's3c64xx_spi_driver_data'
       drivers/spi/spi-s3c64xx.c:189: warning: Function parameter or member 'port_id' not described in 's3c64xx_spi_driver_data'
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      Cc: Kukjin Kim <kgene@kernel.org>
      Cc: Krzysztof Kozlowski <krzk@kernel.org>
      Cc: Andi Shyti <andi@etezian.org>
      Cc: Jaswinder Singh <jassi.brar@samsung.com>
      Cc: linux-samsung-soc@vger.kernel.org
      Link: https://lore.kernel.org/r/20200717135424.2442271-8-lee.jones@linaro.orgSigned-off-by: NMark Brown <broonie@kernel.org>
      6b8d1e47
    • L
      spi: spi-meson-spicc: Remove set but never used variable 'data' from meson_spicc_reset_fifo() · d9b883ae
      Lee Jones 提交于
      Looks like it hasn't ever been checked.
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/spi/spi-meson-spicc.c: In function ‘meson_spicc_reset_fifo’:
       drivers/spi/spi-meson-spicc.c:365:6: warning: variable ‘data’ set but not used [-Wunused-but-set-variable]
       365 | u32 data;
       | ^~~~
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      Cc: Kevin Hilman <khilman@baylibre.com>
      Cc: Neil Armstrong <narmstrong@baylibre.com>
      Cc: linux-amlogic@lists.infradead.org
      Link: https://lore.kernel.org/r/20200717135424.2442271-7-lee.jones@linaro.orgSigned-off-by: NMark Brown <broonie@kernel.org>
      d9b883ae
    • L
      spi: spi-meson-spifc: Fix misdocumenting of 'dev' in 'struct meson_spifc' · 78a7f0c0
      Lee Jones 提交于
      Fixes the following W=1 kernel build warning(s):
      
       drivers/spi/spi-meson-spifc.c:80: warning: Function parameter or member 'dev' not described in 'meson_spifc'
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      Cc: Kevin Hilman <khilman@baylibre.com>
      Cc: Beniamino Galvani <b.galvani@gmail.com>
      Cc: linux-amlogic@lists.infradead.org
      Link: https://lore.kernel.org/r/20200717135424.2442271-6-lee.jones@linaro.orgSigned-off-by: NMark Brown <broonie@kernel.org>
      78a7f0c0
    • L
      spi: spi-ep93xx: Fix API slippage · dfa51f6d
      Lee Jones 提交于
      ep93xx_spi_read_write() changed is parameters, but the function
      documentation was left unchanged.  Let's realign.
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/spi/spi-ep93xx.c:227: warning: Function parameter or member 'master' not described in 'ep93xx_spi_read_write'
       drivers/spi/spi-ep93xx.c:227: warning: Excess function parameter 'espi' description in 'ep93xx_spi_read_write'
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      Cc: Mika Westerberg <mika.westerberg@iki.fi>
      Link: https://lore.kernel.org/r/20200717135424.2442271-5-lee.jones@linaro.orgSigned-off-by: NMark Brown <broonie@kernel.org>
      dfa51f6d
    • L
      spi: spi-davinci: Fix a few kerneldoc misspellings and API slippages · f6305d27
      Lee Jones 提交于
      Fixes the following W=1 kernel build warning(s):
      
       drivers/spi/spi-davinci.c:249: warning: Function parameter or member 'dspi' not described in 'davinci_spi_get_prescale'
       drivers/spi/spi-davinci.c:249: warning: Function parameter or member 'max_speed_hz' not described in 'davinci_spi_get_prescale'
       drivers/spi/spi-davinci.c:249: warning: Excess function parameter 'maxspeed_hz' description in 'davinci_spi_get_prescale'
       drivers/spi/spi-davinci.c:719: warning: Function parameter or member 'data' not described in 'dummy_thread_fn'
       drivers/spi/spi-davinci.c:719: warning: Excess function parameter 'context_data' description in 'dummy_thread_fn'
       drivers/spi/spi-davinci.c:735: warning: Function parameter or member 'data' not described in 'davinci_spi_irq'
       drivers/spi/spi-davinci.c:735: warning: Excess function parameter 'context_data' description in 'davinci_spi_irq'
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      Link: https://lore.kernel.org/r/20200717135424.2442271-4-lee.jones@linaro.orgSigned-off-by: NMark Brown <broonie@kernel.org>
      f6305d27