* [PATCH RESEND v2 1/3] dt-bindings: trivial-devices: Document elgin,jg10309-01
@ 2024-08-28 18:00 Fabio Estevam
2024-08-28 18:00 ` [PATCH RESEND v3 2/3] spi: spidev: Add an entry for elgin,jg10309-01 Fabio Estevam
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Fabio Estevam @ 2024-08-28 18:00 UTC (permalink / raw)
To: broonie
Cc: linux-spi, otavio.salvador, heiko, robh, krzk+dt, conor+dt,
devicetree, linux-arm-kernel, Fabio Estevam, Conor Dooley
The rv1108-elgin-r1 board has an LCD controlled via SPI in userspace.
The marking on the LCD is JG10309-01.
Add an entry for the "elgin,jg10309-01" compatible string.
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
---
Changes since v1:
- Use a more specific compatible string. (Conor)
Documentation/devicetree/bindings/trivial-devices.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml
index 7913ca9b6b54..49dee2a1f6b4 100644
--- a/Documentation/devicetree/bindings/trivial-devices.yaml
+++ b/Documentation/devicetree/bindings/trivial-devices.yaml
@@ -110,6 +110,8 @@ properties:
- domintech,dmard09
# DMARD10: 3-axis Accelerometer
- domintech,dmard10
+ # Elgin SPI-controlled LCD
+ - elgin,jg10309-01
# MMA7660FC: 3-Axis Orientation/Motion Detection Sensor
- fsl,mma7660
# MMA8450Q: Xtrinsic Low-power, 3-axis Xtrinsic Accelerometer
--
2.34.1
^ permalink raw reply related [flat|nested] 7+ messages in thread* [PATCH RESEND v3 2/3] spi: spidev: Add an entry for elgin,jg10309-01
2024-08-28 18:00 [PATCH RESEND v2 1/3] dt-bindings: trivial-devices: Document elgin,jg10309-01 Fabio Estevam
@ 2024-08-28 18:00 ` Fabio Estevam
2024-08-29 14:09 ` (subset) " Mark Brown
2024-08-28 18:00 ` [PATCH RESEND v3 3/3] ARM: dts: rockchip: rv1108-elgin-r1: Do not describe unexisting DAC device Fabio Estevam
2024-08-28 23:25 ` [PATCH RESEND v2 1/3] dt-bindings: trivial-devices: Document elgin,jg10309-01 Mark Brown
2 siblings, 1 reply; 7+ messages in thread
From: Fabio Estevam @ 2024-08-28 18:00 UTC (permalink / raw)
To: broonie
Cc: linux-spi, otavio.salvador, heiko, robh, krzk+dt, conor+dt,
devicetree, linux-arm-kernel, Fabio Estevam
The rv1108-elgin-r1 board has an LCD controlled via SPI in userspace.
The marking on the LCD is JG10309-01.
Add the "elgin,jg10309-01" compatible string.
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
---
Changes since v1:
- Use a more specific compatible string. (Conor)
drivers/spi/spidev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c
index 05e6d007f9a7..316ed3664cb2 100644
--- a/drivers/spi/spidev.c
+++ b/drivers/spi/spidev.c
@@ -730,6 +730,7 @@ static int spidev_of_check(struct device *dev)
static const struct of_device_id spidev_dt_ids[] = {
{ .compatible = "cisco,spi-petra", .data = &spidev_of_check },
{ .compatible = "dh,dhcom-board", .data = &spidev_of_check },
+ { .compatible = "elgin,jg10309-01", .data = &spidev_of_check },
{ .compatible = "lineartechnology,ltc2488", .data = &spidev_of_check },
{ .compatible = "lwn,bk4", .data = &spidev_of_check },
{ .compatible = "menlo,m53cpld", .data = &spidev_of_check },
--
2.34.1
^ permalink raw reply related [flat|nested] 7+ messages in thread* Re: (subset) [PATCH RESEND v3 2/3] spi: spidev: Add an entry for elgin,jg10309-01
2024-08-28 18:00 ` [PATCH RESEND v3 2/3] spi: spidev: Add an entry for elgin,jg10309-01 Fabio Estevam
@ 2024-08-29 14:09 ` Mark Brown
0 siblings, 0 replies; 7+ messages in thread
From: Mark Brown @ 2024-08-29 14:09 UTC (permalink / raw)
To: Fabio Estevam
Cc: linux-spi, otavio.salvador, heiko, robh, krzk+dt, conor+dt,
devicetree, linux-arm-kernel
On Wed, 28 Aug 2024 15:00:56 -0300, Fabio Estevam wrote:
> The rv1108-elgin-r1 board has an LCD controlled via SPI in userspace.
> The marking on the LCD is JG10309-01.
>
> Add the "elgin,jg10309-01" compatible string.
>
>
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
Thanks!
[2/3] spi: spidev: Add an entry for elgin,jg10309-01
commit: 5f3eee1eef5d0edd23d8ac0974f56283649a1512
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH RESEND v3 3/3] ARM: dts: rockchip: rv1108-elgin-r1: Do not describe unexisting DAC device
2024-08-28 18:00 [PATCH RESEND v2 1/3] dt-bindings: trivial-devices: Document elgin,jg10309-01 Fabio Estevam
2024-08-28 18:00 ` [PATCH RESEND v3 2/3] spi: spidev: Add an entry for elgin,jg10309-01 Fabio Estevam
@ 2024-08-28 18:00 ` Fabio Estevam
2024-08-28 23:25 ` [PATCH RESEND v2 1/3] dt-bindings: trivial-devices: Document elgin,jg10309-01 Mark Brown
2 siblings, 0 replies; 7+ messages in thread
From: Fabio Estevam @ 2024-08-28 18:00 UTC (permalink / raw)
To: broonie
Cc: linux-spi, otavio.salvador, heiko, robh, krzk+dt, conor+dt,
devicetree, linux-arm-kernel, Fabio Estevam, Conor Dooley
There is no DAC connected to the SPI bus of the Elgin RV1108 R1 board.
There is a JG10309-01 LCD controlled via SPI though.
Properly describe it by adding the "elgin,jg10309-01" compatible
string.
Reported-by: Conor Dooley <conor.dooley@microchip.com>
Closes: https://lore.kernel.org/linux-arm-kernel/20240717-parrot-malt-83cc04bf6b36@spud/
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
---
Changes since v1:
- Use a more specific compatible string. (Conor)
arch/arm/boot/dts/rockchip/rv1108-elgin-r1.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/rockchip/rv1108-elgin-r1.dts b/arch/arm/boot/dts/rockchip/rv1108-elgin-r1.dts
index 2d9994379eb2..971bb617e845 100644
--- a/arch/arm/boot/dts/rockchip/rv1108-elgin-r1.dts
+++ b/arch/arm/boot/dts/rockchip/rv1108-elgin-r1.dts
@@ -168,8 +168,8 @@ &spi {
pinctrl-0 = <&spim1_clk &spim1_cs0 &spim1_tx &spim1_rx>;
status = "okay";
- dh2228fv: dac@0 {
- compatible = "rohm,dh2228fv";
+ display: display@0 {
+ compatible = "elgin,jg10309-01";
reg = <0>;
spi-max-frequency = <24000000>;
spi-cpha;
--
2.34.1
^ permalink raw reply related [flat|nested] 7+ messages in thread* Re: [PATCH RESEND v2 1/3] dt-bindings: trivial-devices: Document elgin,jg10309-01
2024-08-28 18:00 [PATCH RESEND v2 1/3] dt-bindings: trivial-devices: Document elgin,jg10309-01 Fabio Estevam
2024-08-28 18:00 ` [PATCH RESEND v3 2/3] spi: spidev: Add an entry for elgin,jg10309-01 Fabio Estevam
2024-08-28 18:00 ` [PATCH RESEND v3 3/3] ARM: dts: rockchip: rv1108-elgin-r1: Do not describe unexisting DAC device Fabio Estevam
@ 2024-08-28 23:25 ` Mark Brown
2024-08-29 0:09 ` Fabio Estevam
2 siblings, 1 reply; 7+ messages in thread
From: Mark Brown @ 2024-08-28 23:25 UTC (permalink / raw)
To: Fabio Estevam
Cc: linux-spi, otavio.salvador, heiko, robh, krzk+dt, conor+dt,
devicetree, linux-arm-kernel, Conor Dooley
[-- Attachment #1: Type: text/plain, Size: 298 bytes --]
On Wed, Aug 28, 2024 at 03:00:55PM -0300, Fabio Estevam wrote:
> The rv1108-elgin-r1 board has an LCD controlled via SPI in userspace.
> The marking on the LCD is JG10309-01.
Is there some reason why this is v2 and not v3? b4 gets terribly
confused about what version of the series I might want.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH RESEND v2 1/3] dt-bindings: trivial-devices: Document elgin,jg10309-01
2024-08-28 23:25 ` [PATCH RESEND v2 1/3] dt-bindings: trivial-devices: Document elgin,jg10309-01 Mark Brown
@ 2024-08-29 0:09 ` Fabio Estevam
2024-08-29 12:00 ` Mark Brown
0 siblings, 1 reply; 7+ messages in thread
From: Fabio Estevam @ 2024-08-29 0:09 UTC (permalink / raw)
To: Mark Brown
Cc: linux-spi, otavio.salvador, heiko, robh, krzk+dt, conor+dt,
devicetree, linux-arm-kernel, Conor Dooley
Hi Mark,
On Wed, Aug 28, 2024 at 8:25 PM Mark Brown <broonie@kernel.org> wrote:
>
> On Wed, Aug 28, 2024 at 03:00:55PM -0300, Fabio Estevam wrote:
> > The rv1108-elgin-r1 board has an LCD controlled via SPI in userspace.
> > The marking on the LCD is JG10309-01.
>
> Is there some reason why this is v2 and not v3? b4 gets terribly
> confused about what version of the series I might want.
That was my mistake, sorry.
I can resend the series as v4 to avoid confusion if needed.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH RESEND v2 1/3] dt-bindings: trivial-devices: Document elgin,jg10309-01
2024-08-29 0:09 ` Fabio Estevam
@ 2024-08-29 12:00 ` Mark Brown
0 siblings, 0 replies; 7+ messages in thread
From: Mark Brown @ 2024-08-29 12:00 UTC (permalink / raw)
To: Fabio Estevam
Cc: linux-spi, otavio.salvador, heiko, robh, krzk+dt, conor+dt,
devicetree, linux-arm-kernel, Conor Dooley
[-- Attachment #1: Type: text/plain, Size: 383 bytes --]
On Wed, Aug 28, 2024 at 09:09:30PM -0300, Fabio Estevam wrote:
> On Wed, Aug 28, 2024 at 8:25 PM Mark Brown <broonie@kernel.org> wrote:
> > Is there some reason why this is v2 and not v3? b4 gets terribly
> > confused about what version of the series I might want.
> That was my mistake, sorry.
> I can resend the series as v4 to avoid confusion if needed.
Please.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-08-29 14:09 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-28 18:00 [PATCH RESEND v2 1/3] dt-bindings: trivial-devices: Document elgin,jg10309-01 Fabio Estevam
2024-08-28 18:00 ` [PATCH RESEND v3 2/3] spi: spidev: Add an entry for elgin,jg10309-01 Fabio Estevam
2024-08-29 14:09 ` (subset) " Mark Brown
2024-08-28 18:00 ` [PATCH RESEND v3 3/3] ARM: dts: rockchip: rv1108-elgin-r1: Do not describe unexisting DAC device Fabio Estevam
2024-08-28 23:25 ` [PATCH RESEND v2 1/3] dt-bindings: trivial-devices: Document elgin,jg10309-01 Mark Brown
2024-08-29 0:09 ` Fabio Estevam
2024-08-29 12:00 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox