29 Jul, 2020

1 commit

  • Using pdev->id as the nvmem's config ID (which, by default, is
    NVMEM_DEVID_NONE) prevents multiple instances of this driver from
    probing because of the following error:

    sysfs: cannot create duplicate filename '/bus/nvmem/devices/spmi_sdam'

    Use NVMEM_DEVID_AUTO as the NVMEM config ID to fix the issue.

    Signed-off-by: Guru Das Srinagesh
    Signed-off-by: Srinivas Kandagatla
    Link: https://lore.kernel.org/r/20200722100705.7772-15-srinivas.kandagatla@linaro.org
    Signed-off-by: Greg Kroah-Hartman

    Guru Das Srinagesh
     

17 Jan, 2020

1 commit

  • QTI SDAM driver allows PMIC peripherals to access the shared memory
    that is available on QTI PMICs.

    Use subsys_initcall as PMIC SDAM NV memory is accessed by multiple PMIC
    drivers (charger, fuel gauge) to store/restore data across reboots
    required during their initialization.

    Signed-off-by: Anirudh Ghayal
    Signed-off-by: Shyam Kumar Thella
    Signed-off-by: Srinivas Kandagatla
    Link: https://lore.kernel.org/r/20200116161100.30637-4-srinivas.kandagatla@linaro.org
    Signed-off-by: Greg Kroah-Hartman

    Anirudh Ghayal