30 May, 2018

1 commit

  • [ Upstream commit 3cd2c313f1d618f92d1294addc6c685c17065761 ]

    On the CP110 components which are present on the Armada 7K/8K SoC we need
    to explicitly enable the clock for the registers. However it is not
    needed for the AP8xx component, that's why this clock is optional.

    With this patch both clock have now a name, but in order to be backward
    compatible, the name of the first clock is not used. It allows to still
    use this clock with a device tree using the old binding.

    Reviewed-by: Rob Herring
    Signed-off-by: Vinod Koul
    Signed-off-by: Sasha Levin
    Signed-off-by: Greg Kroah-Hartman

    Gregory CLEMENT
     

08 Apr, 2018

1 commit

  • commit f597fbce38d230af95384f4a04e0a13a1d0ad45d upstream.

    The Nuvoton UART is almost compatible with the 8250 driver when probed
    via the 8250_of driver, however it requires some extra configuration
    at startup.

    Reviewed-by: Rob Herring
    Signed-off-by: Joel Stanley
    Cc: stable
    Signed-off-by: Greg Kroah-Hartman

    Joel Stanley
     

24 Mar, 2018

1 commit

  • [ Upstream commit c1b9d4c75cd549e08bd0596d7f9dcc20f7f6e8fa ]

    The vendor name was "toppoly" but other panels and the vendor list
    have defined it as "tpo". So let's fix it in driver and bindings.

    We keep the old definition in parallel to stay compatible with
    potential older DTB setup.

    Signed-off-by: H. Nikolaus Schaller
    Signed-off-by: Tomi Valkeinen
    Signed-off-by: Sasha Levin
    Signed-off-by: Greg Kroah-Hartman

    H. Nikolaus Schaller
     

19 Mar, 2018

1 commit


15 Mar, 2018

1 commit

  • commit aece34cd576c7625181b0488a8129c1e165355f7 upstream.

    Document a binding for the MIPS Cluster Power Controller (CPC) that
    allows the device tree to specify where the CPC registers are located.

    Signed-off-by: Paul Burton
    Signed-off-by: Aleksandar Markovic
    Reviewed-by: Rob Herring
    Cc: linux-mips@linux-mips.org
    Cc: devicetree@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/18512/
    Signed-off-by: James Hogan
    Signed-off-by: Greg Kroah-Hartman

    Paul Burton
     

22 Feb, 2018

1 commit

  • commit cdd10409914184c7eee5ae3e11beb890c9c16c61 upstream.

    The "dmas" cells for the designware DMA controller need to have only 3
    properties apart from the phandle: request line, src master and
    destination master. But the commit 6e8887f60f60 updated it incorrectly
    while moving from platform code to DT. Fix it.

    Cc: stable@vger.kernel.org # v3.10+
    Fixes: 6e8887f60f60 ("ARM: SPEAr13xx: Pass generic DW DMAC platform data from DT")
    Reported-by: Arnd Bergmann
    Signed-off-by: Viresh Kumar
    Signed-off-by: Olof Johansson
    Signed-off-by: Greg Kroah-Hartman

    Viresh Kumar
     

14 Dec, 2017

1 commit

  • [ Upstream commit f42ae7b0540937e00fe005812997f126aaac4bc2 ]

    The USB hub port-number range for USB 2.0 is 1-255 and not 1-31 which
    reflects an arbitrary limit set by the current Linux implementation.

    Note that for USB 3.1 hubs the valid range is 1-15.

    Increase the documented valid range in the binding to 255, which is the
    maximum allowed by the specifications.

    Signed-off-by: Johan Hovold
    Signed-off-by: Rob Herring
    Signed-off-by: Sasha Levin
    Signed-off-by: Greg Kroah-Hartman

    Johan Hovold
     

10 Dec, 2017

1 commit

  • [ Upstream commit e20824e944c3bf4352fcd8d9f446c41b53901e7b ]

    While the new family-specific compatible values introduced by commit
    6f54cc1adcc8957f ("devicetree: bindings: R-Car Gen2 CMT0 and CMT1
    bindings") use the recommended order ",-", the
    new SoC-specific compatible values still use the old and deprecated
    order ",-".

    Switch the SoC-specific compatible values to the recommended order while
    there are no upstream users of these compatible values yet.

    Fixes: 7f03a0ecfdc786c1 ("devicetree: bindings: r8a73a4 and R-Car Gen2 CMT bindings")
    Fixes: 63d9e8ca0dd4bfa4 ("devicetree: bindings: Deprecate property, update example")
    Signed-off-by: Geert Uytterhoeven
    Acked-by: Rob Herring
    Reviewed-by: Laurent Pinchart
    Signed-off-by: Daniel Lezcano
    Signed-off-by: Sasha Levin
    Signed-off-by: Greg Kroah-Hartman

    Geert Uytterhoeven
     

05 Dec, 2017

1 commit

  • commit 68615eb01f82256c19e41967bfb3eef902f77033 upstream.

    With a nxp,se97 chip on an atmel sama5d31 board, the I2C adapter driver
    is not always capable of avoiding the 25-35 ms timeout as specified by
    the SMBUS protocol. This may cause silent corruption of the last bit of
    any transfer, e.g. a one is read instead of a zero if the sensor chip
    times out. This also affects the eeprom half of the nxp-se97 chip, where
    this silent corruption was originally noticed. Other I2C adapters probably
    suffer similar issues, e.g. bit-banging comes to mind as risky...

    The SMBUS register in the nxp chip is not a standard Jedec register, but
    it is not special to the nxp chips either, at least the atmel chips
    have the same mechanism. Therefore, do not special case this on the
    manufacturer, it is opt-in via the device property anyway.

    Signed-off-by: Peter Rosin
    Acked-by: Rob Herring
    Signed-off-by: Guenter Roeck
    Signed-off-by: Greg Kroah-Hartman

    Peter Rosin
     

23 Oct, 2017

1 commit

  • Pull staging and IIO fixes from Greg KH:
    "Here are a small number of patches to resolve some reported IIO and a
    staging driver problem. Nothing major here, full details are in the
    shortlog below.

    All have been in linux-next with no reported issues"

    * tag 'staging-4.14-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging:
    staging: bcm2835-audio: Fix memory corruption
    iio: adc: at91-sama5d2_adc: fix probe error on missing trigger property
    iio: adc: dln2-adc: fix build error
    iio: dummy: events: Add missing break
    staging: iio: ade7759: fix signed extension bug on shift of a u8
    iio: pressure: zpa2326: Remove always-true check which confuses gcc
    iio: proximity: as3935: noise detection + threshold changes

    Linus Torvalds
     

16 Oct, 2017

1 commit


15 Oct, 2017

1 commit

  • …/jic23/iio into staging-linus

    Jonathan writes:

    Second set of IIO fixes for the 4.14 cycle.

    * ade7759
    - Fix a signed extension bug.
    * as3935
    - The default noise and watch dog settings were such that the device
    was unusuable in most applications. Add device tree parameters to
    allow it to be configured to something that will actually work.
    * at91-sama5d2 adc
    - Fix handling of legacy device trees that don't provide the new
    trigger edge property.
    * dln2-adc
    - Fix a missing Kconfig dependency on IIO_TRIGGERED_BUFFER.
    * dummy driver
    - Add a missing break so that writing in_voltage0_thresh_rising_en
    doesn't always result in an error.
    * zpa2326
    - Drop a test for an always true condition so that gcc won't spit out
    and unused variable warning.

    Greg Kroah-Hartman
     

13 Oct, 2017

1 commit


08 Oct, 2017

1 commit

  • Pull MMC fixes from Ulf Hansson:
    "MMC core:

    - Fix driver strength selection when selecting hs400es

    - Delete bounce buffer handling:

    This change fixes a problem related to how bounce buffers are being
    allocated. However, instead of trying to fix that, let's just
    remove the mmc bounce buffer code altogether, as it has practically
    no use.

    MMC host:

    - meson-gx: A couple of fixes related to clock/phase/tuning

    - sdhci-xenon: Fix clock resource by adding an optional bus clock"

    * tag 'mmc-v4.14-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc:
    mmc: sdhci-xenon: Fix clock resource by adding an optional bus clock
    mmc: meson-gx: include tx phase in the tuning process
    mmc: meson-gx: fix rx phase reset
    mmc: meson-gx: make sure the clock is rounded down
    mmc: Delete bounce buffer handling
    mmc: core: add driver strength selection when selecting hs400es

    Linus Torvalds
     

05 Oct, 2017

2 commits

  • Pull networking fixes from David Miller:

    1) Check iwlwifi 9000 reorder buffer out-of-space condition properly,
    from Sara Sharon.

    2) Fix RCU splat in qualcomm rmnet driver, from Subash Abhinov
    Kasiviswanathan.

    3) Fix session and tunnel release races in l2tp, from Guillaume Nault
    and Sabrina Dubroca.

    4) Fix endian bug in sctp_diag_dump(), from Dan Carpenter.

    5) Several mlx5 driver fixes from the Mellanox folks (max flow counters
    cap check, invalid memory access in IPoIB support, etc.)

    6) tun_get_user() should bail if skb->len is zero, from Alexander
    Potapenko.

    7) Fix RCU lookups in inetpeer, from Eric Dumazet.

    8) Fix locking in packet_do_bund().

    9) Handle cb->start() error properly in netlink dump code, from Jason
    A. Donenfeld.

    10) Handle multicast properly in UDP socket early demux code. From Paolo
    Abeni.

    11) Several erspan bug fixes in ip_gre, from Xin Long.

    12) Fix use-after-free in socket filter code, in order to handle the
    fact that listener lock is no longer taken during the three-way TCP
    handshake. From Eric Dumazet.

    13) Fix infoleak in RTM_GETSTATS, from Nikolay Aleksandrov.

    14) Fix tail call generation in x86-64 BPF JIT, from Alexei Starovoitov.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (77 commits)
    net: 8021q: skip packets if the vlan is down
    bpf: fix bpf_tail_call() x64 JIT
    net: stmmac: dwmac-rk: Add RK3128 GMAC support
    rndis_host: support Novatel Verizon USB730L
    net: rtnetlink: fix info leak in RTM_GETSTATS call
    socket, bpf: fix possible use after free
    mlxsw: spectrum_router: Track RIF of IPIP next hops
    mlxsw: spectrum_router: Move VRF refcounting
    net: hns3: Fix an error handling path in 'hclge_rss_init_hw()'
    net: mvpp2: Fix clock resource by adding an optional bus clock
    r8152: add Linksys USB3GIGV1 id
    l2tp: fix l2tp_eth module loading
    ip_gre: erspan device should keep dst
    ip_gre: set tunnel hlen properly in erspan_tunnel_init
    ip_gre: check packet length and mtu correctly in erspan_xmit
    ip_gre: get key from session_id correctly in erspan_rcv
    tipc: use only positive error codes in messages
    ppp: fix __percpu annotation
    udp: perform source validation for mcast early demux
    IPv4: early demux can return an error code
    ...

    Linus Torvalds
     
  • Pull ARM SoC fixes from Olof Johansson:
    "Our first batch of fixes this release cycle, unfortunately a bit
    noisier than usual. Two major groups stand out:

    - Some pinctril dts/dtsi changes for stm32 due to a new driver being
    merged during the merge window, and this aligns the DT contents
    between the old format and the new. This could arguably be moved to
    the next merge window but it also seemed relatively harmless to
    include now.

    - Amlogic/meson had driver changes merged that required devicetree
    changes to avoid functional/performance regressions. I've already
    asked them to be more careful about this going forward, and making
    sure drivers are compatible with older DTs when they make these
    kind of changes. The platform is actively being upstreamed so
    there's a few things in flight, we've seen this happen before and
    sometimes it's hard to catch in time.

    Besides that there is the usual mix of minor fixes"

    * tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (33 commits)
    ARM: dts: stm32: use right pinctrl compatible for stm32f469
    ARM: dts: stm32: Fix STMPE1600 binding on stm32429i-eval board
    ARM: defconfig: update Gemini defconfig
    ARM: defconfig: FRAMEBUFFER_CONSOLE can no longer be =m
    arm64: dts: rockchip: add the grf clk for dw-mipi-dsi on rk3399
    reset: Restrict RESET_HSDK to ARC_SOC_HSDK or COMPILE_TEST
    ARM: dts: da850-evm: add serial and ethernet aliases
    ARM: dts: am43xx-epos-evm: Remove extra CPSW EMAC entry
    ARM: dts: am33xx: Add spi alias to match SOC schematics
    ARM: OMAP2+: hsmmc: fix logic to call either omap_hsmmc_init or omap_hsmmc_late_init but not both
    ARM: dts: dra7: Set a default parent to mcasp3_ahclkx_mux
    ARM: OMAP2+: dra7xx: Set OPT_CLKS_IN_RESET flag for gpio1
    ARM: dts: nokia n900: drop unneeded/undocumented parts of the dts
    arm64: dts: rockchip: Correct MIPI DPHY PLL clock on rk3399
    arm64: dt marvell: Fix AP806 system controller size
    MAINTAINERS: add Macchiatobin maintainers entry
    ARC: reset: remove the misleading v1 suffix all over
    ARC: reset: add missing DT binding documentation for HSDKv1 reset driver
    ARC: reset: Only build on archs that have IOMEM
    ARM: at91: Replace uses of virt_to_phys with __pa_symbol
    ...

    Linus Torvalds
     

04 Oct, 2017

4 commits

  • On Armada 7K/8K we need to explicitly enable the bus clock. The bus clock
    is optional because not all the SoCs need them but at least for Armada
    7K/8K it is actually mandatory.

    The binding documentation is updating accordingly.

    Without this patch the kernel hand during boot if the mvpp2.2 network
    driver was not present in the kernel. Indeed the clock needed by the
    xenon controller was set by the network driver.

    Fixes: 3a3748dba881 ("mmc: sdhci-xenon: Add Marvell Xenon SDHC core
    functionality)"
    CC: Stable
    Tested-by: Zhoujie Wu
    Signed-off-by: Gregory CLEMENT
    Signed-off-by: Ulf Hansson

    Gregory CLEMENT
     
  • Reset controller fixes for v4.14

    - Remove misleading HSDK v1 suffix, as there is no v2 planned
    - Add missing DT binding documentation for HSDK reset driver
    - Fix HSDK reset driver dependencies

    * tag 'reset-fixes-for-4.14' of git://git.pengutronix.de/git/pza/linux:
    reset: Restrict RESET_HSDK to ARC_SOC_HSDK or COMPILE_TEST
    ARC: reset: remove the misleading v1 suffix all over
    ARC: reset: add missing DT binding documentation for HSDKv1 reset driver
    ARC: reset: Only build on archs that have IOMEM

    Signed-off-by: Olof Johansson

    Olof Johansson
     
  • Add constants and callback functions for the dwmac on rk3128 soc.
    As can be seen, the base structure is the same, only registers
    and the bits in them moved slightly.

    Signed-off-by: David Wu
    Signed-off-by: David S. Miller

    David Wu
     
  • Pull tty/serial fixes from Greg KH:
    "Here are a small number (5) of patches for some reported TTY and
    serial issues. Nothing major, a documentation update, timing fix,
    error handling fix, name reporting fix, and a timeout issue resolved.

    All of these have been in linux-next for a while with no reported
    issues"

    * tag 'tty-4.14-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty:
    serial: sccnxp: Fix error handling in sccnxp_probe()
    tty: serial: lpuart: avoid report NULL interrupt
    serial: bcm63xx: fix timing issue.
    mxser: fix timeout calculation for low rates
    serial: sh-sci: document R8A77970 bindings

    Linus Torvalds
     

02 Oct, 2017

1 commit


30 Sep, 2017

1 commit

  • …j.anaszewski/linux-leds

    Pull LED fixes from Jacek Anaszewski:
    "Four fixes for the as3645a LED flash controller and one update to
    MAINTAINERS"

    * tag 'led_fixes-4.14-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds:
    MAINTAINERS: Add entry for MediaTek PMIC LED driver
    as3645a: Unregister indicator LED on device unbind
    as3645a: Use integer numbers for parsing LEDs
    dt: bindings: as3645a: Use LED number to refer to LEDs
    as3645a: Use ams,input-max-microamp as documented in DT bindings

    Linus Torvalds
     

26 Sep, 2017

1 commit

  • Most applications are too noisy to allow the default noise and
    watchdog settings, and thus need to be configurable via DT
    properties.

    Also default settings to POR defaults on a reset, and register
    distuber interrupts as noise since it prevents proper usage.

    Cc: devicetree@vger.kernel.org
    Signed-off-by: Matt Ranostay
    Acked-by: Rob Herring
    Signed-off-by: Jonathan Cameron

    Matt Ranostay
     

25 Sep, 2017

2 commits

  • Pull DeviceTree fixes from Rob Herring:

    - fix build for !OF providing empty of_find_device_by_node

    - fix Abracon vendor prefix

    - sync dtx_diff include paths (again)

    - a stm32h7 clock binding doc fix

    * tag 'devicetree-fixes-for-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
    dt-bindings: clk: stm32h7: fix clock-cell size
    scripts/dtc: dtx_diff - 2nd update of include dts paths to match build
    dt-bindings: fix vendor prefix for Abracon
    of: provide inline helper for of_find_device_by_node

    Linus Torvalds
     
  • Pull TPM updates from James Morris:
    "Here are the TPM updates from Jarkko for v4.14, which I've placed in
    their own branch (next-tpm). I ended up cherry-picking them as other
    changes had been made in Jarkko's branch after he sent me his original
    pull request.

    I plan on maintaining a separate branch for TPM (and other security
    subsystems) from now on.

    From Jarkko: 'Not much this time except a few fixes'"

    * 'next-tpm' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security:
    tpm: ibmvtpm: simplify crq initialization and document crq format
    tpm: replace msleep() with usleep_range() in TPM 1.2/2.0 generic drivers
    Documentation: tpm: add powered-while-suspended binding documentation
    tpm: tpm_crb: constify acpi_device_id.
    tpm: vtpm: constify vio_device_id

    Linus Torvalds
     

24 Sep, 2017

2 commits

  • Add a new powered-while-suspended property to control the behavior of the
    TPM suspend/resume.

    Signed-off-by: Enric Balletbo i Serra
    Signed-off-by: Sonny Rao
    Reviewed-by: Jason Gunthorpe
    Reviewed-by: Jarkko Sakkinen
    Acked-by: Rob Herring
    Signed-off-by: Jarkko Sakkinen
    Signed-off-by: James Morris

    Enric Balletbo i Serra
     
  • Use integers (reg property) to tell the number of the LED to the driver
    instead of the node name. While both of these approaches are currently
    used by the LED bindings, using integers will require less driver changes
    for ACPI support. Additionally, it will make possible LED naming using
    chip and LED node names, effectively making the label property most useful
    for human-readable names only.

    Signed-off-by: Sakari Ailus
    Acked-by: Rob Herring
    Signed-off-by: Jacek Anaszewski

    Sakari Ailus
     

22 Sep, 2017

1 commit


20 Sep, 2017

1 commit

  • Commit 446810f2dd41 ("of: add vendor prefix for Abracon Corporation")
    claimed that "abcn" was used as the vendor prefix while in fact "abracon"
    was used in the subsequent commits. It is also the only prefix used in the
    tree.

    Signed-off-by: Alexandre Belloni
    [robh: fix alphabetical order]
    Signed-off-by: Rob Herring

    Alexandre Belloni
     

19 Sep, 2017

1 commit


18 Sep, 2017

2 commits


17 Sep, 2017

1 commit

  • Pull more input updates from Dmitry Torokhov:
    "A second round of updates for the input subsystem:

    - a new driver for PWM-controlled vibrators

    - ucb1400 touchscreen driver had completely busted suspend/resume
    handling

    - we now handle "home" button found on some devices with Goodix
    touchscreens

    - assorted other fixups"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: i8042 - add Gigabyte P57 to the keyboard reset table
    Input: xpad - validate USB endpoint type during probe
    Input: ucb1400_ts - fix suspend and resume handling
    Input: edt-ft5x06 - fix access to non-existing register
    Input: elantech - make arrays debounce_packet static, reduces object code size
    Input: surface3_spi - make const array header static, reduces object code size
    Input: goodix - add support for capacitive home button
    Input: add a driver for PWM controllable vibrators
    Input: adi - make array seq static, reduces object code size

    Linus Torvalds
     

16 Sep, 2017

2 commits

  • Pull MIPS updates from Ralf Baechle:
    "This is the main pull request for 4.14 for MIPS; below a summary of
    the non-merge commits:

    CM:
    - Rename mips_cm_base to mips_gcr_base
    - Specify register size when generating accessors
    - Use BIT/GENMASK for register fields, order & drop shifts
    - Add cluster & block args to mips_cm_lock_other()

    CPC:
    - Use common CPS accessor generation macros
    - Use BIT/GENMASK for register fields, order & drop shifts
    - Introduce register modify (set/clear/change) accessors
    - Use change_*, set_* & clear_* where appropriate
    - Add CM/CPC 3.5 register definitions
    - Use GlobalNumber macros rather than magic numbers
    - Have asm/mips-cps.h include CM & CPC headers
    - Cluster support for topology functions
    - Detect CPUs in secondary clusters

    CPS:
    - Read GIC_VL_IDENT directly, not via irqchip driver

    DMA:
    - Consolidate coherent and non-coherent dma_alloc code
    - Don't use dma_cache_sync to implement fd_cacheflush

    FPU emulation / FP assist code:
    - Another series of 14 commits fixing corner cases such as NaN
    propgagation and other special input values.
    - Zero bits 32-63 of the result for a CLASS.D instruction.
    - Enhanced statics via debugfs
    - Do not use bools for arithmetic. GCC 7.1 moans about this.
    - Correct user fault_addr type

    Generic MIPS:
    - Enhancement of stack backtraces
    - Cleanup from non-existing options
    - Handle non word sized instructions when examining frame
    - Fix detection and decoding of ADDIUSP instruction
    - Fix decoding of SWSP16 instruction
    - Refactor handling of stack pointer in get_frame_info
    - Remove unreachable code from force_fcr31_sig()
    - Convert to using %pOF instead of full_name
    - Remove the R6000 support.
    - Move FP code from *_switch.S to *_fpu.S
    - Remove unused ST_OFF from r2300_switch.S
    - Allow platform to specify multiple its.S files
    - Add #includes to various files to ensure code builds reliable and
    without warning..
    - Remove __invalidate_kernel_vmap_range
    - Remove plat_timer_setup
    - Declare various variables & functions static
    - Abstract CPU core & VP(E) ID access through accessor functions
    - Store core & VP IDs in GlobalNumber-style variable
    - Unify checks for sibling CPUs
    - Add CPU cluster number accessors
    - Prevent direct use of generic_defconfig
    - Make CONFIG_MIPS_MT_SMP default y
    - Add __ioread64_copy
    - Remove unnecessary inclusions of linux/irqchip/mips-gic.h

    GIC:
    - Introduce asm/mips-gic.h with accessor functions
    - Use new GIC accessor functions in mips-gic-timer
    - Remove counter access functions from irq-mips-gic.c
    - Remove gic_read_local_vp_id() from irq-mips-gic.c
    - Simplify shared interrupt pending/mask reads in irq-mips-gic.c
    - Simplify gic_local_irq_domain_map() in irq-mips-gic.c
    - Drop gic_(re)set_mask() functions in irq-mips-gic.c
    - Remove gic_set_polarity(), gic_set_trigger(), gic_set_dual_edge(),
    gic_map_to_pin() and gic_map_to_vpe() from irq-mips-gic.c.
    - Convert remaining shared reg access, local int mask access and
    remaining local reg access to new accessors
    - Move GIC_LOCAL_INT_* to asm/mips-gic.h
    - Remove GIC_CPU_INT* macros from irq-mips-gic.c
    - Move various definitions to the driver
    - Remove gic_get_usm_range()
    - Remove __gic_irq_dispatch() forward declaration
    - Remove gic_init()
    - Use mips_gic_present() in place of gic_present and remove
    gic_present
    - Move gic_get_c0_*_int() to asm/mips-gic.h
    - Remove linux/irqchip/mips-gic.h
    - Inline __gic_init()
    - Inline gic_basic_init()
    - Make pcpu_masks a per-cpu variable
    - Use pcpu_masks to avoid reading GIC_SH_MASK*
    - Clean up mti, reserved-cpu-vectors handling
    - Use cpumask_first_and() in gic_set_affinity()
    - Let the core set struct irq_common_data affinity

    microMIPS:
    - Fix microMIPS stack unwinding on big endian systems

    MIPS-GIC:
    - SYNC after enabling GIC region

    NUMA:
    - Remove the unused parent_node() macro

    R6:
    - Constify r2_decoder_tables
    - Add accessor & bit definitions for GlobalNumber

    SMP:
    - Constify smp ops
    - Allow boot_secondary SMP op to return errors

    VDSO:
    - Drop gic_get_usm_range() usage
    - Avoid use of linux/irqchip/mips-gic.h

    Platform changes:

    Alchemy:
    - Add devboard machine type to cpuinfo
    - update cpu feature overrides
    - Threaded carddetect irqs for devboards

    AR7:
    - allow NULL clock for clk_get_rate

    BCM63xx:
    - Fix ENETDMA_6345_MAXBURST_REG offset
    - Allow NULL clock for clk_get_rate

    CI20:
    - Enable GPIO and RTC drivers in defconfig
    - Add ethernet and fixed-regulator nodes to DTS

    Generic platform:
    - Move Boston and NI 169445 FIT image source to their own files
    - Include asm/bootinfo.h for plat_fdt_relocated()
    - Include asm/time.h for get_c0_*_int()
    - Include asm/bootinfo.h for plat_fdt_relocated()
    - Include asm/time.h for get_c0_*_int()
    - Allow filtering enabled boards by requirements
    - Don't explicitly disable CONFIG_USB_SUPPORT
    - Bump default NR_CPUS to 16

    JZ4700:
    - Probe the jz4740-rtc driver from devicetree

    Lantiq:
    - Drop check of boot select from the spi-falcon driver.
    - Drop check of boot select from the lantiq-flash MTD driver.
    - Access boot cause register in the watchdog driver through regmap
    - Add device tree binding documentation for the watchdog driver
    - Add docs for the RCU DT bindings.
    - Convert the fpi bus driver to a platform_driver
    - Remove ltq_reset_cause() and ltq_boot_select(
    - Switch to a proper reset driver
    - Switch to a new drivers/soc GPHY driver
    - Add an USB PHY driver for the Lantiq SoCs using the RCU module
    - Use of_platform_default_populate instead of __dt_register_buses
    - Enable MFD_SYSCON to be able to use it for the RCU MFD
    - Replace ltq_boot_select() with dummy implementation.

    Loongson 2F:
    - Allow NULL clock for clk_get_rate

    Malta:
    - Use new GIC accessor functions

    NI 169445:
    - Add support for NI 169445 board.
    - Only include in 32r2el kernels

    Octeon:
    - Add support for watchdog of 78XX SOCs.
    - Add support for watchdog of CN68XX SOCs.
    - Expose support for mips32r1, mips32r2 and mips64r1
    - Enable more drivers in config file
    - Add support for accessing the boot vector.
    - Remove old boot vector code from watchdog driver
    - Define watchdog registers for 70xx, 73xx, 78xx, F75xx.
    - Make CSR functions node aware.
    - Allow access to CIU3 IRQ domains.
    - Misc cleanups in the watchdog driver

    Omega2+:
    - New board, add support and defconfig

    Pistachio:
    - Enable Root FS on NFS in defconfig

    Ralink:
    - Add Mediatek MT7628A SoC
    - Allow NULL clock for clk_get_rate
    - Explicitly request exclusive reset control in the pci-mt7620 PCI driver.

    SEAD3:
    - Only include in 32 bit kernels by default

    VoCore:
    - Add VoCore as a vendor t0 dt-bindings
    - Add defconfig file"

    * '4.14-features' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: (167 commits)
    MIPS: Refactor handling of stack pointer in get_frame_info
    MIPS: Stacktrace: Fix microMIPS stack unwinding on big endian systems
    MIPS: microMIPS: Fix decoding of swsp16 instruction
    MIPS: microMIPS: Fix decoding of addiusp instruction
    MIPS: microMIPS: Fix detection of addiusp instruction
    MIPS: Handle non word sized instructions when examining frame
    MIPS: ralink: allow NULL clock for clk_get_rate
    MIPS: Loongson 2F: allow NULL clock for clk_get_rate
    MIPS: BCM63XX: allow NULL clock for clk_get_rate
    MIPS: AR7: allow NULL clock for clk_get_rate
    MIPS: BCM63XX: fix ENETDMA_6345_MAXBURST_REG offset
    mips: Save all registers when saving the frame
    MIPS: Add DWARF unwinding to assembly
    MIPS: Make SAVE_SOME more standard
    MIPS: Fix issues in backtraces
    MIPS: jz4780: DTS: Probe the jz4740-rtc driver from devicetree
    MIPS: Ci20: Enable RTC driver
    watchdog: octeon-wdt: Add support for 78XX SOCs.
    watchdog: octeon-wdt: Add support for cn68XX SOCs.
    watchdog: octeon-wdt: File cleaning.
    ...

    Linus Torvalds
     
  • Pull more i2c updates from Wolfram Sang:
    "I2C has two more new drivers: Altera FPGA and STM32F7"

    * 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
    i2c: i2c-stm32f7: add driver
    i2c: i2c-stm32f4: use generic definition of speed enum
    dt-bindings: i2c-stm32: Document the STM32F7 I2C bindings
    i2c: altera: Add Altera I2C Controller driver
    dt-bindings: i2c: Add Altera I2C Controller

    Linus Torvalds
     

15 Sep, 2017

1 commit

  • Pull watchdog updates from Wim Van Sebroeck:

    - add support for the watchdog on Meson8 and Meson8m2

    - add support for MediaTek MT7623 and MT7622 SoC

    - add support for the r8a77995 wdt

    - explicitly request exclusive reset control for asm9260_wdt,
    zx2967_wdt, rt2880_wdt and mt7621_wdt

    - improvements to asm9260_wdt, aspeed_wdt, renesas_wdt and cadence_wdt

    - add support for reading freq via CCF + suspend/resume support for
    of_xilinx_wdt

    - constify watchdog_ops and various device-id structures

    - revert of commit 1fccb73011ea ("iTCO_wdt: all versions count down
    twice") (Bug 196509)

    * git://www.linux-watchdog.org/linux-watchdog: (40 commits)
    watchdog: mei_wdt: constify mei_cl_device_id
    watchdog: sp805: constify amba_id
    watchdog: ziirave: constify i2c_device_id
    watchdog: sc1200: constify pnp_device_id
    dt-bindings: watchdog: renesas-wdt: Add support for the r8a77995 wdt
    watchdog: renesas_wdt: update copyright dates
    watchdog: renesas_wdt: make 'clk' a variable local to probe()
    watchdog: renesas_wdt: consistently use RuntimePM for clock management
    watchdog: aspeed: Support configuration of external signal properties
    dt-bindings: watchdog: aspeed: External reset signal properties
    drivers/watchdog: Add optional ASPEED device tree properties
    drivers/watchdog: ASPEED reference dev tree properties for config
    watchdog: da9063_wdt: Simplify by removing unneeded struct...
    watchdog: bcm7038: Check the return value from clk_prepare_enable()
    watchdog: qcom: Check for platform_get_resource() failure
    watchdog: of_xilinx_wdt: Add suspend/resume support
    watchdog: of_xilinx_wdt: Add support for reading freq via CCF
    dt-bindings: watchdog: mediatek: add support for MediaTek MT7623 and MT7622 SoC
    watchdog: max77620_wdt: constify platform_device_id
    watchdog: pcwd_usb: constify usb_device_id
    ...

    Linus Torvalds
     

14 Sep, 2017

4 commits

  • This patch adds the documentation of device tree bindings for STM32F7 I2C

    Signed-off-by: M'boumba Cedric Madianga
    Signed-off-by: Pierre-Yves MORDRET
    Acked-by: Rob Herring
    Signed-off-by: Wolfram Sang

    Pierre-Yves MORDRET
     
  • Add the documentation to support the Altera synthesizable
    logic I2C Controller in FPGA.

    Signed-off-by: Thor Thayer
    Acked-by: Rob Herring
    Signed-off-by: Wolfram Sang

    Thor Thayer
     
  • Pull clk updates from Stephen Boyd:
    "The diff is dominated by the Allwinner A10/A20 SoCs getting converted
    to the sunxi-ng framework. Otherwise, the heavy hitters are various
    drivers for SoCs like AT91, Amlogic, Renesas, and Rockchip. There are
    some other new clk drivers in here too but overall this is just a
    bunch of clk drivers for various different pieces of hardware and a
    collection of non-critical fixes for clk drivers.

    New Drivers:
    - Allwinner R40 SoCs
    - Renesas R-Car Gen3 USB 2.0 clock selector PHY
    - Atmel AT91 audio PLL
    - Uniphier PXs3 SoCs
    - ARC HSDK Board PLLs
    - AXS10X Board PLLs
    - STMicroelectronics STM32H743 SoCs

    Removed Drivers:
    - Non-compiling mb86s7x support

    Updates:
    - Allwinner A10/A20 SoCs converted to sunxi-ng framework
    - Allwinner H3 CPU clk fixes
    - Renesas R-Car D3 SoC
    - Renesas V2H and M3-W modules
    - Samsung Exynos5420/5422/5800 audio fixes
    - Rockchip fractional clk approximation fixes
    - Rockchip rk3126 SoC support within the rk3128 driver
    - Amlogic gxbb CEC32 and sd_emmc clks
    - Amlogic meson8b reset controller support
    - IDT VersaClock 5P49V5925/5P49V6901 support
    - Qualcomm MSM8996 SMMU clks
    - Various 'const' applications for struct clk_ops
    - si5351 PLL reset bugfix
    - Uniphier audio on LD11/LD20 and ethernet support on LD11/LD20/Pro4/PXs2
    - Assorted Tegra clk driver fixes"

    * tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux: (120 commits)
    clk: si5351: fix PLL reset
    ASoC: atmel-classd: remove aclk clock
    ASoC: atmel-classd: remove aclk clock from DT binding
    clk: at91: clk-generated: make gclk determine audio_pll rate
    clk: at91: clk-generated: create function to find best_diff
    clk: at91: add audio pll clock drivers
    dt-bindings: clk: at91: add audio plls to the compatible list
    clk: at91: clk-generated: remove useless divisor loop
    clk: mb86s7x: Drop non-building driver
    clk: ti: check for null return in strrchr to avoid null dereferencing
    clk: Don't write error code into divider register
    clk: uniphier: add video input subsystem clock
    clk: uniphier: add audio system clock
    clk: stm32h7: Add stm32h743 clock driver
    clk: gate: expose clk_gate_ops::is_enabled
    clk: nxp: clk-lpc32xx: rename clk_gate_is_enabled()
    clk: uniphier: add PXs3 clock data
    clk: hi6220: change watchdog clock source
    clk: Kconfig: Name RK805 in Kconfig for COMMON_CLK_RK808
    clk: cs2000: Add cs2000_set_saved_rate
    ...

    Linus Torvalds
     
  • Pull RTC updates from Alexandre Belloni:
    "Subsystem:
    - remove .open() and .release() RTC ops
    - constify i2c_device_id

    New driver:
    - Realtek RTD1295
    - Android emulator (goldfish) RTC

    Drivers:
    - ds1307: Beginning of a huge cleanup
    - s35390a: handle invalid RTC time
    - sun6i: external oscillator gate support"

    * tag 'rtc-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: (40 commits)
    rtc: ds1307: use octal permissions
    rtc: ds1307: fix braces
    rtc: ds1307: fix alignments and blank lines
    rtc: ds1307: use BIT
    rtc: ds1307: use u32
    rtc: ds1307: use sizeof
    rtc: ds1307: remove regs member
    rtc: Add Realtek RTD1295
    dt-bindings: rtc: Add Realtek RTD1295
    rtc: sun6i: Add support for the external oscillator gate
    rtc: goldfish: Add RTC driver for Android emulator
    dt-bindings: Add device tree binding for Goldfish RTC driver
    rtc: ds1307: add basic support for ds1341 chip
    rtc: ds1307: remove member nvram_offset from struct ds1307
    rtc: ds1307: factor out offset to struct chip_desc
    rtc: ds1307: factor out rtc_ops to struct chip_desc
    rtc: ds1307: factor out irq_handler to struct chip_desc
    rtc: ds1307: improve irq setup
    rtc: ds1307: constify struct chip_desc variables
    rtc: ds1307: improve trickle charger initialization
    ...

    Linus Torvalds