Re: [PATCH v3 26/32] rtc: s5m: prepare for external regmap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/04/2025 10:59, André Draszik wrote:
> The Samsung S2MPG10 PMIC is not connected via I2C as this driver
> assumes, hence this driver's current approach of creating an I2C-based
> regmap doesn't work for it, and this driver should use the regmap
> provided by the parent (core) driver instead for that PMIC.
> 
> To prepare this driver for s2mpg support, restructure the code to only
> create a regmap if one isn't provided by the parent.
> 
> No functional changes, since the parent doesn't provide a regmap for
> any of the PMICs currently supported by this driver. Having this change
> separate will simply make the addition of S2MPG10 support more
> self-contained, without additional restructuring.
> 
> Signed-off-by: André Draszik <andre.draszik@xxxxxxxxxx>
> ---


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>

Best regards,
Krzysztof




[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux for Synopsys ARC Processors]    
  • [Linux on Unisoc (RDA Micro) SoCs]     [Linux Actions SoC]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  •   Powered by Linux