[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250102204015.222653-1-ivo.ivanov.ivanov1@gmail.com>
Date: Thu, 2 Jan 2025 22:40:12 +0200
From: Ivaylo Ivanov <ivo.ivanov.ivanov1@...il.com>
To: Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Alim Akhtar <alim.akhtar@...sung.com>,
Sam Protsenko <semen.protsenko@...aro.org>
Cc: devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v1 0/3] soc: samsung: usi: implement support for USIv1
Hey folks,
This patch series adds support for USIv1 in the existing exynos-usi driver,
as well as dedicated sysreg compatibles for exynos8895.
The USIv1 IP-core is found on some ARM64 Exynos SoCs (like Exynos8895).
It provides selectable serial protocols (one of: HSI2C0, HSI2C1, HSI2C0_1,
SPI, UART, UART_HSI2C1). It's a bit different from USIv2 as it doesn't
have any known MMIO register map and the serial protocols that it
implements share the same register base, hence why the way of modelling it
in device trees will be with ranges, like so:
usi1: usi@...60000 {
compatible = "samsung,exynos8895-usi";
ranges = <0x0 0x10460000 0x11000>;
clocks = <1>, <2>;
clock-names = "pclk", "ipclk";
#address-cells = <1>;
#size-cells = <1>;
samsung,sysreg = <&syscon_peric0 0x1004>;
status = "disabled";
hsi2c_5: i2c@0 {
compatible = "samsung,exynos8895-hsi2c";
reg = <0x0 0x1000>;
...
};
};
This patchset also assumes that [1] has been merged before it.
Best regards,
Ivaylo
[1]: https://lore.kernel.org/all/20241222145257.31451-1-krzysztof.kozlowski@linaro.org/
Ivaylo Ivanov (3):
dt-bindings: soc: samsung: exynos-sysreg: add sysreg compatibles for
exynos8895
dt-bindings: soc: samsung: usi: add USIv1 and samsung,exynos8895-usi
soc: samsung: usi: implement support for USIv1
.../bindings/soc/samsung/exynos-usi.yaml | 22 +++++--
.../soc/samsung/samsung,exynos-sysreg.yaml | 8 +++
drivers/soc/samsung/exynos-usi.c | 58 +++++++++++++++++--
include/dt-bindings/soc/samsung,exynos-usi.h | 8 +++
4 files changed, 87 insertions(+), 9 deletions(-)
--
2.43.0
Powered by blists - more mailing lists