Skip to content
  1. Feb 25, 2023
  2. Feb 23, 2023
    • Sean Anderson's avatar
      rtc: abx80x: Add nvmem support · e90ff8ed
      Sean Anderson authored
      
      
      This adds support for the 256-byte internal RAM. There are two windows
      which can be used to access this RAM: 64 bytes at 0x40 (the "standard"
      address space) and 128 bytes at 0x80 (the "alternate" address space). We
      use the standard address space because it is also accessible over SPI
      (if such a port is ever done). We are limited to 32-byte reads for SMBus
      compatibility, so there's no advantage to using the alternate address
      space.
      
      There are some reserved bits in the EXTRAM register, and the datasheet
      doesn't say what to do with them. I've opted to skip a read/modify/write
      and just write the whole thing. If this driver is ever converted to
      regmap, this would be a good place to use regmap_update_bits.
      
      Signed-off-by: default avatarSean Anderson <sean.anderson@seco.com>
      Link: https://lore.kernel.org/r/20221222214532.1873718-1-sean.anderson@seco.com
      
      
      Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
      e90ff8ed
  3. Feb 22, 2023
  4. Feb 09, 2023
  5. Feb 01, 2023
Loading