23 Oct, 2018

2 commits


08 Jan, 2018

1 commit


05 Sep, 2017

2 commits

  • Both Bay and Cherry Trail devices may be used together with a Crystal Cove
    PMIC. Each platform has its own variant of the PMIC, which both use the
    same ACPI HID, but they are not 100% compatible.

    This commits makes the intel_soc_pmic_core code check the _HRV of the
    ACPI-firmware-node and selects intel_soc_pmic_config_byt_crc resp.
    intel_soc_pmic_config_cht_crc based on this.

    This fixes the Bay Trail specific ACPI OpRegion code causing problems
    on Cherry Trail devices. Specifically this was causing the external
    microsd slot on a Dell Venue 8 5855 (Cherry Trail version) to not work
    and the eMMC to become unreliable and throw lots of errors.

    Fixes: 5165238460 ("mfd: intel_soc_pmic: Core driver")
    Reported-and-tested-by: russianneuromancer
    Signed-off-by: Hans de Goede
    Reviewed-by: Andy Shevchenko
    Signed-off-by: Lee Jones

    Hans de Goede
     
  • Both Bay and Cherry Trail devices may be used together with a Crystal Cove
    PMIC. Each platform has its own variant of the PMIC, which both use the
    same ACPI HID, but they are not 100% compatible.

    Looking at the android x86 kernel sources where most of the Crystal Cove
    code comes from, it talks about "Valley View", "Bay Trail" and / or BYT
    without ever mentioning Cherry Trail, with the exception of the regulator
    driver. The Asus Zenfone-2 kernel code has 2 regulator drivers, one
    for Crystal Cove and one for what it calls Crystal Cove Plus. The
    Crystal Cove Plus regulator driver is the only one to mention Cherry
    Trail and that driver uses different register addresses then the
    normal (Bay Trail) Crystal Cove regulator driver, showing that at
    least the regulator register addresses are different.

    The GPIO code should work on both, and the PWM code is known to work on
    both and is necessary for backlight control on some Cherry Trail devices.

    Testing has shown that the ACPI OpRegion code otoh is causing problems
    on Cherry Trail devices, which is not surprising as it deals with the
    regulators and those have different register addresses on CHT.

    Specifically the ACPI OpRegion code causes the external microsd slot on
    a Dell Venue 8 5855 (Cherry Trail version) to not work and the eMMC to
    become unreliable and throw lots of errors.

    This commit replaces the single mfd_cell array currently used for Crystal
    Cove with 2 separate arrays, one for the Bay Trail variant and one for
    the Cherry Trail variant, note that the Cherry Trail version of the array
    only contains gpio and pwm cells. The PMIC OpRegion cell is deliberately
    not included and drivers for the other cells in the Bay Trail cell array
    were never upstreamed.

    Fixes: 7cf0a66f32 ("mfd: intel_soc_pmic: Crystal Cove support")
    Reported-and-tested-by: russianneuromancer
    Signed-off-by: Hans de Goede
    Reviewed-by: Andy Shevchenko
    Signed-off-by: Lee Jones

    Hans de Goede
     

27 Apr, 2017

2 commits

  • unction devm_regmap_init_i2c() returns an ERR_PTR on errors, and its
    return value should be checked before it is dereferenced. However, in
    function intel_soc_pmic_i2c_probe(), the return value of function
    devm_regmap_init_i2c() is used without validation. This patch fixes it.

    Signed-off-by: Pan Bian
    Signed-off-by: Lee Jones

    Pan Bian
     
  • Since commit 845c877009cf ("i2c / ACPI: Assign IRQ for devices that have
    GpioInt automatically") I2C core assigns interrupt line to I2C slave
    devices with regarding to GpioInt() resources.

    There is no need to repeat this in the driver.

    Signed-off-by: Andy Shevchenko
    Signed-off-by: Lee Jones

    Andy Shevchenko
     

09 May, 2016

1 commit


05 Sep, 2015

1 commit

  • Pull drm updates from Dave Airlie:
    "This is the main pull request for the drm for 4.3. Nouveau is
    probably the biggest amount of changes in here, since it missed 4.2.
    Highlights below, along with the usual bunch of fixes.

    All stuff outside drm should have applicable acks.

    Highlights:

    - new drivers:
    freescale dcu kms driver

    - core:
    more atomic fixes
    disable some dri1 interfaces on kms drivers
    drop fb panic handling, this was just getting more broken, as more locking was required.
    new core fbdev Kconfig support - instead of each driver enable/disabling it
    struct_mutex cleanups

    - panel:
    more new panels
    cleanup Kconfig

    - i915:
    Skylake support enabled by default
    legacy modesetting using atomic infrastructure
    Skylake fixes
    GEN9 workarounds

    - amdgpu:
    Fiji support
    CGS support for amdgpu
    Initial GPU scheduler - off by default
    Lots of bug fixes and optimisations.

    - radeon:
    DP fixes
    misc fixes

    - amdkfd:
    Add Carrizo support for amdkfd using amdgpu.

    - nouveau:
    long pending cleanup to complete driver,
    fully bisectable which makes it larger,
    perfmon work
    more reclocking improvements
    maxwell displayport fixes

    - vmwgfx:
    new DX device support, supports OpenGL 3.3
    screen targets support

    - mgag200:
    G200eW support
    G200e new revision support

    - msm:
    dragonboard 410c support, msm8x94 support, msm8x74v1 support
    yuv format support
    dma plane support
    mdp5 rotation
    initial hdcp

    - sti:
    atomic support

    - exynos:
    lots of cleanups
    atomic modesetting/pageflipping support
    render node support

    - tegra:
    tegra210 support (dc, dsi, dp/hdmi)
    dpms with atomic modesetting support

    - atmel:
    support for 3 more atmel SoCs
    new input formats, PRIME support.

    - dwhdmi:
    preparing to add audio support

    - rockchip:
    yuv plane support"

    * 'drm-next' of git://people.freedesktop.org/~airlied/linux: (1369 commits)
    drm/amdgpu: rename gmc_v8_0_init_compute_vmid
    drm/amdgpu: fix vce3 instance handling
    drm/amdgpu: remove ib test for the second VCE Ring
    drm/amdgpu: properly enable VM fault interrupts
    drm/amdgpu: fix warning in scheduler
    drm/amdgpu: fix buffer placement under memory pressure
    drm/amdgpu/cz: fix cz_dpm_update_low_memory_pstate logic
    drm/amdgpu: fix typo in dce11 watermark setup
    drm/amdgpu: fix typo in dce10 watermark setup
    drm/amdgpu: use top down allocation for non-CPU accessible vram
    drm/amdgpu: be explicit about cpu vram access for driver BOs (v2)
    drm/amdgpu: set MEC doorbell range for Fiji
    drm/amdgpu: implement burst NOP for SDMA
    drm/amdgpu: add insert_nop ring func and default implementation
    drm/amdgpu: add amdgpu_get_sdma_instance helper function
    drm/amdgpu: add AMDGPU_MAX_SDMA_INSTANCES
    drm/amdgpu: add burst_nop flag for sdma
    drm/amdgpu: add count field for the SDMA NOP packet v2
    drm/amdgpu: use PT for VM sync on unmap
    drm/amdgpu: make wait_event uninterruptible in push_job
    ...

    Linus Torvalds
     

11 Aug, 2015

2 commits


21 Jul, 2015

2 commits


04 Mar, 2015

3 commits


17 Feb, 2015

1 commit


26 Sep, 2014

1 commit


09 Jul, 2014

1 commit


17 Jun, 2014

1 commit