On 04.10.24 14:46, Caleb Connolly wrote:
Phones don't have keyboards! Introduce a phone-specific config fragment
and associated environment file to make U-Boot more useful on these
devices. This allows for navigating via the buttons and enabling
various USB gadget modes or displaying info about U
sector. Read/Write operations on other sectors
have not been affected. Trying to partition scsi backed storage via ums has
resulted in "storage too small" errors.
doc: https://linux.die.net/man/8/sg_readcap
Signed-off-by: Julius Lehmann
---
Changes in v2:
- fixed corresponding test c
> Am 22.10.2024 um 05:35 schrieb Tom Rini :
>
> On Mon, Oct 14, 2024 at 06:06:35PM +0200, Julius Lehmann wrote:
>
>> SCSI READ CAPACITY reports the address of the last
>> block and the block size. The total number of blocks
>> is thus last block address plus
sectors
have not been affected. Trying to partition scsi backed storage via ums has
resulted in "storage too small" errors.
doc: https://linux.die.net/man/8/sg_readcap
Signed-off-by: Julius Lehmann
---
drivers/scsi/scsi.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/scs
: 20240910-topic-ufs-qcom-controller-4b2905610963
Tested successfully on SM8150 tablet. However, some merge conflicts had
to be fixed and maybe also add CONFIG_QCOM_UFS=y to qcom_defconfig
Tested-by: Julius Lehmann
Best regards,
ements-fe8ef9ce39d8
tested the whole series in combination with
https://lore.kernel.org/u-boot/20240910-topic-ufs-qcom-controller-v1-0-54c0d2231...@linaro.org/
on a SM8150 tablet
Tested-by: Julius Lehmann
Best regards,
Add support for sm8150 clock controller to clk stub driver.
---
Simple patch to extend the clk stub driver to support binding to sm8150 clock
controllers.
Signed-off-by: Julius Lehmann
---
Changes in v2:
- fix: syntax typo, missing ","
- Link to v1:
https://lore.kernel.org/r/2024100
On 09.10.24 11:49, Julius Lehmann wrote:
Add support for sm8150 clock controller to clk stub driver.
---
Simple patch to extend the clk stub driver to support binding to sm8150 clock
controllers.
Signed-off-by: Julius Lehmann
---
drivers/clk/clk-stub.c | 1 +
1 file changed, 1 insertion
Add support for sm8150 clock controller to clk stub driver.
---
Simple patch to extend the clk stub driver to support binding to sm8150 clock
controllers.
Signed-off-by: Julius Lehmann
---
drivers/clk/clk-stub.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/clk-stub.c b
o.org/
on a Xiaomi Mi Pad 5.
Signed-off-by: Julius Lehmann
---
drivers/phy/qcom/phy-qcom-qmp-ufs.c | 62 +
1 file changed, 62 insertions(+)
diff --git a/drivers/phy/qcom/phy-qcom-qmp-ufs.c
b/drivers/phy/qcom/phy-qcom-qmp-ufs.c
On 31.08.24 18:48, Caleb Connolly wrote:
Phones don't have keyboards! Introduce a phone-specific config fragment
and associated environment file to make U-Boot more useful on these
devices. This allows for navigating via the buttons and enabling
various USB gadget modes or displaying info about U
Enable clk and pinctrl for sm8150
Signed-off-by: Julius Lehmann
Reviewed-by: Caleb Connolly
---
configs/qcom_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig
index 2a2253f766..e7ed03ff0f 100644
--- a/configs/qcom_defconfig
+++ b
Babchuk
Reviewed-by: Caleb Connolly
Signed-off-by: Julius Lehmann
---
drivers/clk/qcom/Kconfig| 9 ++
drivers/clk/qcom/Makefile | 1 +
drivers/clk/qcom/clock-sm8150.c | 319
3 files changed, 329 insertions(+)
diff --git a/drivers/clk/qcom
.
Co-authored-by: Volodymyr Babchuk
Reviewed-by: Caleb Connolly
Signed-off-by: Julius Lehmann
---
drivers/pinctrl/qcom/Kconfig | 8 ++
drivers/pinctrl/qcom/Makefile | 1 +
drivers/pinctrl/qcom/pinctrl-sm8150.c | 156 ++
3 files changed, 165
register values in sm8150_clks, alphabetic ordering and added
GCC_SDCC2_APPS_CLK rate setting.
Thanks for all the help again!
Signed-off-by: Julius Lehmann
---
Changes in v3:
- fix: config: alphabetic ordering in Kconfig and Makefile
- fix: clk: qcom: sm8150 if expression in clk_enable now correct
Enable clk and pinctrl for sm8150
Signed-off-by: Julius Lehmann
Reviewed-by: Caleb Connolly
---
configs/qcom_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig
index 2a2253f766..5b46f43b11 100644
--- a/configs/qcom_defconfig
+++ b
.
Co-authored-by: Volodymyr Babchuk
Signed-off-by: Julius Lehmann
---
drivers/pinctrl/qcom/Kconfig | 8 ++
drivers/pinctrl/qcom/Makefile | 1 +
drivers/pinctrl/qcom/pinctrl-sm8150.c | 156 ++
3 files changed, 165 insertions(+)
diff --git a
Babchuk
Signed-off-by: Julius Lehmann
---
drivers/clk/qcom/Kconfig| 9 ++
drivers/clk/qcom/Makefile | 1 +
drivers/clk/qcom/clock-sm8150.c | 300
3 files changed, 310 insertions(+)
diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom
: Julius Lehmann
---
Changes in v2:
- fix: clk: qcom: sm8150 command registers for phy_aux_clk (usb)
- refactor: pinctrl: qcom: sm8150 use special_pin_start and special_pins_data
- Link to v1:
https://lore.kernel.org/r/20240909155315.307026-1-lehma...@devpi.de
---
Julius Lehmann (3):
clk: qcom
Hi Neil and Caleb,
thank you for taking a look at my patch.
On 10.09.24 14:07, Neil Armstrong wrote:
On 10/09/2024 14:05, Caleb Connolly wrote:
Hi Julius,
Thanks for the patch!
On 09/09/2024 17:53, Julius Lehmann wrote:
Add pinctrl and GPIO driver for SM8150. Driver code is based on the
+static ulong sm8150_clk_set_rate(struct clk *clk, ulong rate)
+{
+ struct msm_clk_priv *priv = dev_get_priv(clk->dev);
+ const struct freq_tbl *freq;
+
+ switch (clk->id) {
+ case GCC_QUPV3_WRAP1_S4_CLK: /* UART2 aka debug-uart */
+ freq = qcom_find_freq(ftbl
.
Co-authored-by: Volodymyr Babchuk
Signed-off-by: Julius Lehmann
---
drivers/pinctrl/qcom/Kconfig | 8 ++
drivers/pinctrl/qcom/Makefile | 1 +
drivers/pinctrl/qcom/pinctrl-sm8150.c | 119 ++
3 files changed, 128 insertions(+)
create mode 100644 drivers
Enable clk and pinctrl for sm8150
Signed-off-by: Julius Lehmann
---
configs/qcom_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig
index 419e969e5d..03587d2dc7 100644
--- a/configs/qcom_defconfig
+++ b/configs/qcom_defconfig
Babchuk
Signed-off-by: Julius Lehmann
---
drivers/clk/qcom/Kconfig| 9 +
drivers/clk/qcom/Makefile | 1 +
drivers/clk/qcom/clock-sm8150.c | 298
3 files changed, 308 insertions(+)
create mode 100644 drivers/clk/qcom/clock-sm8150.c
diff --git a
hopefully nothing is
missing.
Julius Lehmann (3):
clk: qcom: add driver for SM8150 SoC
pinctrl: qcom: add driver for SM8150 SoC
config: qcom: add sm8150 to qcom_defconfig
configs/qcom_defconfig| 2 +
drivers/clk/qcom/Kconfig | 9 +
drivers/clk/qcom
Sorry to bump this thread, but any chance on getting this patch (5/8
clk) and (7/8 pinctrl) merged? I do have an SM8150 device myself (Xiaomi
Mi Pad 5) and would benefit from clk and pinctrl drivers. From the
reviews it seems not much work would be required.
Kind regards
Julius
26 matches
Mail list logo