1. 12 2月, 2018 8 次提交
    • A
      ARM: dts: imx6ul: remove unnecessary clocks for cpu-freq · 4a7459bc
      Anson Huang 提交于
      Remove unnecessary clocks for cpu-freq driver to
      avoid confusion.
      Signed-off-by: NAnson Huang <Anson.Huang@nxp.com>
      Reviewed-by: NFabio Estevam <fabio.estevam@nxp.com>
      Acked-by: NDong Aisheng <aisheng.dong@nxp.com>
      Signed-off-by: NShawn Guo <shawnguo@kernel.org>
      4a7459bc
    • F
      ARM: dts: imx27-eukrea-mbimxsd27-baseboard: Pass missing unit address · 081e0653
      Fabio Estevam 提交于
      ads7846 is connected to SPI chip select 0, so pass the unit address
      accordingly to fix the following build warning with W=1:
      
      arch/arm/boot/dts/imx27-eukrea-mbimxsd27-baseboard.dtb: Warning (unit_address_vs_reg): Node /soc/aipi@10000000/cspi@1000e000/ads7846 has a reg or ranges property, but no unit name
      Signed-off-by: NFabio Estevam <fabio.estevam@nxp.com>
      Signed-off-by: NShawn Guo <shawnguo@kernel.org>
      081e0653
    • F
      ARM: dts: imx28-cfa10049: Move i2cmux out of bus node · 142ee336
      Fabio Estevam 提交于
      Move i2cmux node from soc node to root node.
      
      i2cmux node does not have any register properties and thus shouldn't be
      placed on the bus.
      
      This fixes the following build warnings with W=1:
      
      arch/arm/boot/dts/imx28-cfa10049.dtb: Warning (simple_bus_reg): Node /apb@80000000/apbx@80040000/i2cmux missing or empty reg/ranges property
      Signed-off-by: NFabio Estevam <fabio.estevam@nxp.com>
      Acked-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
      Signed-off-by: NShawn Guo <shawnguo@kernel.org>
      142ee336
    • F
      ARM: dts: imx28-apx4devkit: Pass unit address and reg to IOMUX node · 50224278
      Fabio Estevam 提交于
      Pass unit address and reg to IOMUX node to fix the following build
      warning with W=1:
      
      arch/arm/boot/dts/imx28-apx4devkit.dtb: Warning (simple_bus_reg): Node /apb@80000000/apbh@80000000/pinctrl@80018000/mmc2-sck-cfg-apx4 missing or empty reg/ranges property
      Signed-off-by: NFabio Estevam <fabio.estevam@nxp.com>
      Signed-off-by: NShawn Guo <shawnguo@kernel.org>
      50224278
    • F
      ARM: dts: imx28-tx28: Pass unit address and reg to IOMUX node · d039e253
      Fabio Estevam 提交于
      Pass unit address and reg to IOMUX node to fix the following build
      warning with W=1:
      
      arch/arm/boot/dts/imx28-tx28.dtb: Warning (simple_bus_reg): Node /apb@80000000/apbh@80000000/pinctrl@80018000/tx28-edt-ft5x06-pins missing or empty reg/ranges property
      arch/arm/boot/dts/imx28-tx28.dtb: Warning (simple_bus_reg): Node /apb@80000000/apbh@80000000/pinctrl@80018000/tx28-flexcan-xcvr-pins missing or empty reg/ranges property
      arch/arm/boot/dts/imx28-tx28.dtb: Warning (simple_bus_reg): Node /apb@80000000/apbh@80000000/pinctrl@80018000/tx28-lcdif-23bit missing or empty reg/ranges property
      arch/arm/boot/dts/imx28-tx28.dtb: Warning (simple_bus_reg): Node /apb@80000000/apbh@80000000/pinctrl@80018000/tx28-lcdif-ctrl missing or empty reg/ranges property
      arch/arm/boot/dts/imx28-tx28.dtb: Warning (simple_bus_reg): Node /apb@80000000/apbh@80000000/pinctrl@80018000/tx28-mac0-gpio-pins missing or empty reg/ranges property
      arch/arm/boot/dts/imx28-tx28.dtb: Warning (simple_bus_reg): Node /apb@80000000/apbh@80000000/pinctrl@80018000/tx28-pca9554-pins missing or empty reg/ranges property
      arch/arm/boot/dts/imx28-tx28.dtb: Warning (simple_bus_reg): Node /apb@80000000/apbh@80000000/pinctrl@80018000/spi-gpiogrp missing or empty reg/ranges property
      arch/arm/boot/dts/imx28-tx28.dtb: Warning (simple_bus_reg): Node /apb@80000000/apbh@80000000/pinctrl@80018000/tx28-tsc2007-pins missing or empty reg/ranges property
      arch/arm/boot/dts/imx28-tx28.dtb: Warning (simple_bus_reg): Node /apb@80000000/apbh@80000000/pinctrl@80018000/tx28-usbphy0-pins missing or empty reg/ranges property
      arch/arm/boot/dts/imx28-tx28.dtb: Warning (simple_bus_reg): Node /apb@80000000/apbh@80000000/pinctrl@80018000/tx28-usbphy1-pins missing or empty reg/ranges property
      Signed-off-by: NFabio Estevam <fabio.estevam@nxp.com>
      Acked-By: NLothar Waßmann <LW@KARO-electronics.de>
      Signed-off-by: NShawn Guo <shawnguo@kernel.org>
      d039e253
    • F
      ARM: dts: imx28: Pass unit address and reg to IOMUX node · 497b90db
      Fabio Estevam 提交于
      Pass unit address and reg to IOMUX node to fix the following build
      warning with W=1:
      
      arch/arm/boot/dts/imx28-apf28.dtb: Warning (simple_bus_reg): Node /apb@80000000/apbh@80000000/pinctrl@80018000/gpmi-status-cfg missing or empty reg/ranges property
      arch/arm/boot/dts/imx28-apf28.dtb: Warning (simple_bus_reg): Node /apb@80000000/apbh@80000000/pinctrl@80018000/mmc0-cd-cfg missing or empty reg/ranges property
      arch/arm/boot/dts/imx28-apf28.dtb: Warning (simple_bus_reg): Node /apb@80000000/apbh@80000000/pinctrl@80018000/mmc0-sck-cfg missing or empty reg/ranges property
      arch/arm/boot/dts/imx28-apf28.dtb: Warning (simple_bus_reg): Node /apb@80000000/apbh@80000000/pinctrl@80018000/mmc1-cd-cfg missing or empty reg/ranges property
      arch/arm/boot/dts/imx28-apf28.dtb: Warning (simple_bus_reg): Node /apb@80000000/apbh@80000000/pinctrl@80018000/mmc1-sck-cfg missing or empty reg/ranges property
      arch/arm/boot/dts/imx28-apf28.dtb: Warning (simple_bus_reg): Node /apb@80000000/apbh@80000000/pinctrl@80018000/mmc2-cd-cfg missing or empty reg/ranges property
      Signed-off-by: NFabio Estevam <fabio.estevam@nxp.com>
      Signed-off-by: NShawn Guo <shawnguo@kernel.org>
      497b90db
    • F
      ARM: dts: imx23: Pass unit address and reg to IOMUX node · 74aeda35
      Fabio Estevam 提交于
      Pass unit address and reg to IOMUX node to fix the following build
      warning with W=1:
      
      arch/arm/boot/dts/imx23-evk.dtb: Warning (simple_bus_reg): Node /apb@80000000/apbh@80000000/pinctrl@80018000/gpmi-pins-fixup missing or empty reg/ranges property
      arch/arm/boot/dts/imx23-evk.dtb: Warning (simple_bus_reg): Node /apb@80000000/apbh@80000000/pinctrl@80018000/mmc0-pins-fixup missing or empty reg/ranges property
      Signed-off-by: NFabio Estevam <fabio.estevam@nxp.com>
      Signed-off-by: NShawn Guo <shawnguo@kernel.org>
      74aeda35
    • R
      ARM: dts: ls1021a: add nodes for on-chip ram · 35090321
      Rasmus Villemoes 提交于
      Although the two nodes constitute one contiguous 128K region, still
      describe them separately:
      
      - That's how they are described in the reference manual: "Each OCRAM
        occupies a 64 KB of address region...", and the names ocram1 and
        ocram2 are also as used in the manual.
      
      - The two areas are treated differently by the boot ROM code: OCRAM2 is
        zero-initialized, while, again quoting the RM, "software must perform
        the zero initialization of OCRAM1."
      Signed-off-by: NRasmus Villemoes <rasmus.villemoes@prevas.dk>
      Signed-off-by: NShawn Guo <shawnguo@kernel.org>
      35090321
  2. 24 1月, 2018 4 次提交
    • S
      ARM: dts: imx6q-b450v3: Add switch port configuration · 658d063d
      Sebastian Reichel 提交于
      This adds support for the Marvell switch and names the network
      ports according to the labels, that can be found next to the
      connectors. The switch is connected to the host system using a
      PCI based network card.
      
      The PCI bus configuration has been written using the following
      information:
      
      root@b450v3# lspci -tv
      -[0000:00]---00.0-[01]----00.0  Intel Corporation I210 Gigabit Network Connection
      root@b450v3# lspci -nn
      00:00.0 PCI bridge [0604]: Synopsys, Inc. Device [16c3:abcd] (rev 01)
      01:00.0 Ethernet controller [0200]: Intel Corporation I210 Gigabit Network Connection [8086:1533] (rev 03)
      Signed-off-by: NSebastian Reichel <sebastian.reichel@collabora.co.uk>
      Reviewed-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      658d063d
    • S
      ARM: dts: imx6q-b650v3: Add switch port configuration · b2ea7f83
      Sebastian Reichel 提交于
      This adds support for the Marvell switch and names the network
      ports according to the labels, that can be found next to the
      connectors. The switch is connected to the host system using a
      PCI based network card.
      
      The PCI bus configuration has been written using the following
      information:
      
      root@b650v3# lspci -tv
      -[0000:00]---00.0-[01]----00.0  Intel Corporation I210 Gigabit Network Connection
      root@b650v3# lspci -nn
      00:00.0 PCI bridge [0604]: Synopsys, Inc. Device [16c3:abcd] (rev 01)
      01:00.0 Ethernet controller [0200]: Intel Corporation I210 Gigabit Network Connection [8086:1533] (rev 03)
      Signed-off-by: NSebastian Reichel <sebastian.reichel@collabora.co.uk>
      Reviewed-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b2ea7f83
    • S
      ARM: dts: imx6q-b850v3: Add switch port configuration · e6b22e41
      Sebastian Reichel 提交于
      This adds support for the Marvell switch and names the network
      ports according to the labels, that can be found next to the
      connectors ("ID", "IX", "ePort 1", "ePort 2"). The switch is
      connected to the host system using a PCI based network card.
      
      The PCI bus configuration has been written using the following
      information:
      
      root@b850v3# lspci -tv
      -[0000:00]---00.0-[01]----00.0-[02-05]--+-01.0-[03]----00.0  Intel Corporation I210 Gigabit Network Connection
                                              +-02.0-[04]----00.0  Intel Corporation I210 Gigabit Network Connection
                                              \-03.0-[05]--
      root@b850v3# lspci -nn
      00:00.0 PCI bridge [0604]: Synopsys, Inc. Device [16c3:abcd] (rev 01)
      01:00.0 PCI bridge [0604]: PLX Technology, Inc. PEX 8605 PCI Express 4-port Gen2 Switch [10b5:8605] (rev ab)
      02:01.0 PCI bridge [0604]: PLX Technology, Inc. PEX 8605 PCI Express 4-port Gen2 Switch [10b5:8605] (rev ab)
      02:02.0 PCI bridge [0604]: PLX Technology, Inc. PEX 8605 PCI Express 4-port Gen2 Switch [10b5:8605] (rev ab)
      02:03.0 PCI bridge [0604]: PLX Technology, Inc. PEX 8605 PCI Express 4-port Gen2 Switch [10b5:8605] (rev ab)
      03:00.0 Ethernet controller [0200]: Intel Corporation I210 Gigabit Network Connection [8086:1533] (rev 03)
      04:00.0 Ethernet controller [0200]: Intel Corporation I210 Gigabit Network Connection [8086:1533] (rev 03)
      Signed-off-by: NSebastian Reichel <sebastian.reichel@collabora.co.uk>
      Reviewed-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e6b22e41
    • S
      ARM: dts: imx6q-bx50v3: Add internal switch · e26dead4
      Sebastian Reichel 提交于
      B850v3, B650v3 and B450v3 all have a GPIO bit banged MDIO bus to
      communicate with a Marvell switch. On all devices the switch is
      connected to a PCI based network card, which needs to be referenced
      by DT, so this also adds the common PCI root node.
      Signed-off-by: NSebastian Reichel <sebastian.reichel@collabora.co.uk>
      Reviewed-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e26dead4
  3. 23 1月, 2018 2 次提交
  4. 21 1月, 2018 1 次提交
    • N
      ARM: 8745/1: get rid of __memzero() · ff5fdafc
      Nicolas Pitre 提交于
      The __memzero assembly code is almost identical to memset's except for
      two orr instructions. The runtime performance of __memset(p, n) and
      memset(p, 0, n) is accordingly almost identical.
      
      However, the memset() macro used to guard against a zero length and to
      call __memzero at compile time when the fill value is a constant zero
      interferes with compiler optimizations.
      
      Arnd found tha the test against a zero length brings up some new
      warnings with gcc v8:
      
        https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82103
      
      And successively rremoving the test against a zero length and the call
      to __memzero optimization produces the following kernel sizes for
      defconfig with gcc 6:
      
          text     data     bss       dec       hex  filename
      12248142  6278960  413588  18940690   1210312  vmlinux.orig
      12244474  6278960  413588  18937022   120f4be  vmlinux.no_zero_test
      12239160  6278960  413588  18931708   120dffc  vmlinux.no_memzero
      
      So it is probably not worth keeping __memzero around given that the
      compiler can do a better job at inlining trivial memset(p,0,n) on its
      own. And the memset code already handles a zero length just fine.
      Suggested-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NNicolas Pitre <nico@linaro.org>
      Acked-by: NArd Biesheuvel <ard.biesheuvel@linaro.org>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NRussell King <rmk+kernel@armlinux.org.uk>
      ff5fdafc
  5. 19 1月, 2018 2 次提交
  6. 17 1月, 2018 2 次提交
  7. 15 1月, 2018 4 次提交
    • D
      ARM: dts: rename oxnas dts files · 9e6c62b0
      Daniel Golle 提交于
      Other platforms' device-tree files start with a platform prefix, such as
      sun7i-a20-*.dts or at91-*.dts.
      This naming scheme turns out to be handy when using multi-platform build
      systems such as OpenWrt.
      Prepend oxnas files with their platform prefix to comply with the naming
      scheme already used for most other platforms.
      Signed-off-by: NDaniel Golle <daniel@makrotopia.org>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      9e6c62b0
    • A
      ARM: dts: s5pv210: add interrupt-parent for ohci · 5c103719
      Arnd Bergmann 提交于
      The ohci-hcd node has an interrupt number but no interrupt-parent,
      leading to a warning with current dtc versions:
      
      arch/arm/boot/dts/s5pv210-aquila.dtb: Warning (interrupts_property): Missing interrupt-parent for /soc/ohci@ec300000
      arch/arm/boot/dts/s5pv210-goni.dtb: Warning (interrupts_property): Missing interrupt-parent for /soc/ohci@ec300000
      arch/arm/boot/dts/s5pv210-smdkc110.dtb: Warning (interrupts_property): Missing interrupt-parent for /soc/ohci@ec300000
      arch/arm/boot/dts/s5pv210-smdkv210.dtb: Warning (interrupts_property): Missing interrupt-parent for /soc/ohci@ec300000
      arch/arm/boot/dts/s5pv210-torbreck.dtb: Warning (interrupts_property): Missing interrupt-parent for /soc/ohci@ec300000
      
      As seen from the related exynos dts files, the ohci and ehci controllers
      always share one interrupt number, and the number is the same here as
      well, so setting the same interrupt-parent is the reasonable solution
      here.
      Reviewed-by: NKrzysztof Kozlowski <krzk@kernel.org>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      5c103719
    • A
      ARM: lpc3250: fix uda1380 gpio numbers · ca32e0c4
      Arnd Bergmann 提交于
      dtc warns about obviously incorrect GPIO numbers for the audio codec
      on both lpc32xx boards:
      
      arch/arm/boot/dts/lpc3250-phy3250.dtb: Warning (gpios_property): reset-gpio property size (12) too small for cell size 3 in /ahb/apb/i2c@400A0000/uda1380@18
      arch/arm/boot/dts/lpc3250-phy3250.dtb: Warning (gpios_property): power-gpio property size (12) too small for cell size 3 in /ahb/apb/i2c@400A0000/uda1380@18
      arch/arm/boot/dts/lpc3250-ea3250.dtb: Warning (gpios_property): reset-gpio property size (12) too small for cell size 3 in /ahb/apb/i2c@400A0000/uda1380@18
      arch/arm/boot/dts/lpc3250-ea3250.dtb: Warning (gpios_property): power-gpio property size (12) too small for cell size 3 in /ahb/apb/i2c@400A0000/uda1380@18
      
      It looks like the nodes are written for a different binding that combines
      the GPIO number into a single number rather than a bank/number pair.
      I found the right numbers on stackexchange.com, so this patch fixes
      the warning and has a reasonable chance of getting things to actually
      work.
      
      Cc: stable@vger.kernel.org
      Link: https://unix.stackexchange.com/questions/59497/alsa-asoc-how-to-correctly-load-devices-drivers/62217#62217Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      ca32e0c4
    • P
      ARM: dts: STi: Add gpio polarity for "hdmi,hpd-gpio" property · 7ac1f59c
      Patrice Chotard 提交于
      The GPIO polarity is missing in the hdmi,hpd-gpio property, this
      fixes the following DT warnings:
      
      arch/arm/boot/dts/stih410-b2120.dtb: Warning (gpios_property): hdmi,hpd-gpio property
      size (8) too small for cell size 2 in /soc/sti-display-subsystem/sti-hdmi@8d04000
      
      arch/arm/boot/dts/stih407-b2120.dtb: Warning (gpios_property): hdmi,hpd-gpio property
      size (8) too small for cell size 2 in /soc/sti-display-subsystem/sti-hdmi@8d04000
      
      arch/arm/boot/dts/stih410-b2260.dtb: Warning (gpios_property): hdmi,hpd-gpio property
      size (8) too small for cell size 2 in /soc/sti-display-subsystem/sti-hdmi@8d04000
      
      [arnd: marked Cc:stable since this warning shows up with the latest dtc
             by default, and is more likely to actually cause problems than the
             other patches from this series]
      
      Cc: stable@vger.kernel.org
      Signed-off-by: NPatrice Chotard <patrice.chotard@st.com>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      7ac1f59c
  8. 13 1月, 2018 4 次提交
    • R
      ARM: dts: dra7: Reduce shut down temperature of non-cpu thermal zones · 64c358b3
      Ravikumar Kattekola 提交于
      On dra7, as per TRM, the HW shutdown (TSHUT) temperature is hardcoded
      to 123C and cannot be modified by SW. This means that when the temperature
      reaches 123C HW asserts TSHUT output which signals a warm reset.
      The reset is held until the temperature goes below the TSHUT low (105C).
      
      While in SW, the thermal driver continuously monitors current temperature
      and takes decisions based on whether it reached an alert or a critical point.
      The intention of setting a SW critical point is to prevent force reset by HW
      and instead do an orderly_poweroff(). But if the SW critical temperature is
      greater than or equal to that of HW then it defeats the purpose. To address
      this and let SW take action before HW does keep the SW critical temperature
      less than HW TSHUT value.
      
      The value for SW critical temperature was chosen as 120C just to ensure
      we give SW sometime before HW catches up.
      
      Document reference
      SPRUI30C – DRA75x, DRA74x Technical Reference Manual - November 2016
      SPRUHZ6H - AM572x Technical Reference Manual - November 2016
      
      Tested on:
      DRA75x PG 2.0 Rev H EVM
      Signed-off-by: NRavikumar Kattekola <rk@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      64c358b3
    • I
      ARM: dts: n900: Add aliases for lcd and tvout displays · cbe92b02
      Ivaylo Dimitrov 提交于
      When both lcd and tv are enabled, the order in which they will be probed is
      unknown, so it might happen (and it happens in reality) that tv is
      configured as display0 and lcd as display1, which results in nothing
      displayed on lcd, as display1 is disabled by default.
      
      Fix that by providing correct aliases for lcd and tv
      Signed-off-by: NIvaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      cbe92b02
    • T
      ARM: dts: Update ti-sysc data for existing users · e14d7e53
      Tony Lindgren 提交于
      Let's update the existing users with features and clock data as
      specified in the binding. This is currently the smartreflex for most
      part, and also few omap4 modules with no child device driver like
      mcasp, abe iss and gfx.
      
      Note that we had few mistakes that did not get noticed as we're still
      probing the SmartReflex driver with legacy platform data and using
      "ti,hwmods" legacy property for ti-sysc driver.
      
      So let's fix the omap4 and dra7 smartreflex registers as there is no
      no revision register.
      
      And on omap4, the mcasp module has a revision register according to
      the TRM.
      
      And for omap34xx we need a different configuration compared to 36xx.
      And the smartreflex on 3517 we've always kept disabled so let's
      remove any references to it.
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      e14d7e53
    • T
      ARM: dts: Fix smartreflex compatible for omap3 shared mpu-iva instance · 7d9bfdac
      Tony Lindgren 提交于
      The smartreflex instance for mpu and iva is shared. Let's fix this as I've
      already gotten confused myself few times wondering where the mpu instance
      is. Note that we are still probing the driver using platform data so this
      change is safe to do.
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      7d9bfdac
  9. 12 1月, 2018 5 次提交
  10. 10 1月, 2018 2 次提交
  11. 09 1月, 2018 1 次提交
  12. 07 1月, 2018 2 次提交
  13. 06 1月, 2018 1 次提交
  14. 05 1月, 2018 2 次提交