The Amazon's Annapurna Labs SoCs includes Point Of Serialization error logging unit that reports an error in case of write error (e.g. attempt to write to a read only register). This patch series introduces the support for this unit. Changes since v4: ================ - fixed dt binding according to new dt scheme - added back the use of _relaxed accessors Changes since v3: ================= - ported to be edac device - converted dt-bindings to new scheme - added unit address to dt example Changes since v2: ================= - squashed left shifting fix to the driver Changes since v1: ================= - move MODULE_ to the end of the file - simplified resource remapping devm_platform_ioremap_resource() - use platform_get_irq() instead of irq_of_parse_and_map() - removed the use of _relaxed accessor in favor to the regular ones - removed driver selected based on arch - added casting to u64 before left shifting (reported by kbuild test robot) Talel Shenhar (2): dt-bindings: soc: al-pos: Amazon's Annapurna Labs POS soc: amazon: al-pos-edac: Introduce Amazon's Annapurna Labs POS EDAC driver .../bindings/edac/amazon,al-pos-edac.yaml | 40 +++++ MAINTAINERS | 7 + drivers/edac/Kconfig | 6 + drivers/edac/Makefile | 1 + drivers/edac/al_pos_edac.c | 173 +++++++++++++++++++++ 5 files changed, 227 insertions(+) create mode 100644 Documentation/devicetree/bindings/edac/amazon,al-pos-edac.yaml create mode 100644 drivers/edac/al_pos_edac.c -- 2.7.4