17 Sep, 2020

2 commits

  • Add the core support for the board management controller found on the
    SMARC-sAL28 board.

    Also add a virtual symbol which pulls in the simple-mfd-i2c driver and
    provide a common symbol on which the subdevice drivers can depend on.

    At the moment, this controller is used on the Kontron SMARC-sAL28 board.

    Signed-off-by: Michael Walle
    Signed-off-by: Lee Jones

    Michael Walle
     
  • There are I2C devices which contain several different functions but
    doesn't require any special access functions. For these kind of drivers
    an I2C regmap should be enough.

    Create an I2C driver which creates an I2C regmap and enumerates its
    children. If a device wants to use this as its MFD core driver, it has
    to add an individual compatible string. It may provide its own regmap
    configuration.

    Subdevices can use dev_get_regmap() on the parent to get their regmap
    instance.

    Signed-off-by: Michael Walle
    Signed-off-by: Lee Jones

    Michael Walle