* [PATCH] spidev: Add Silicon Labs EM3581 device compatible @ 2022-12-24 4:18 Vincent Tremblay 2022-12-26 23:30 ` Mark Brown 2022-12-27 2:35 ` [PATCH v2 1/2] dt-bindings: trivial-devices: Add silabs,em3581 Vincent Tremblay 0 siblings, 2 replies; 4+ messages in thread From: Vincent Tremblay @ 2022-12-24 4:18 UTC (permalink / raw) Cc: vincent, Mark Brown, linux-spi, linux-kernel Add compatible string for Silicon Labs EM3581 device. Signed-off-by: Vincent Tremblay <vincent@vtremblay.dev> --- drivers/spi/spidev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c index 6313e7d0cdf8..319f8cc1cda8 100644 --- a/drivers/spi/spidev.c +++ b/drivers/spi/spidev.c @@ -702,6 +702,7 @@ static const struct spi_device_id spidev_spi_ids[] = { { .name = "m53cpld" }, { .name = "spi-petra" }, { .name = "spi-authenta" }, + { .name = "em3581" }, {}, }; MODULE_DEVICE_TABLE(spi, spidev_spi_ids); @@ -728,6 +729,7 @@ static const struct of_device_id spidev_dt_ids[] = { { .compatible = "menlo,m53cpld", .data = &spidev_of_check }, { .compatible = "cisco,spi-petra", .data = &spidev_of_check }, { .compatible = "micron,spi-authenta", .data = &spidev_of_check }, + { .compatible = "siliconlabs,em3581", .data = &spidev_of_check }, {}, }; MODULE_DEVICE_TABLE(of, spidev_dt_ids); -- 2.37.2 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] spidev: Add Silicon Labs EM3581 device compatible 2022-12-24 4:18 [PATCH] spidev: Add Silicon Labs EM3581 device compatible Vincent Tremblay @ 2022-12-26 23:30 ` Mark Brown 2022-12-27 2:35 ` [PATCH v2 1/2] dt-bindings: trivial-devices: Add silabs,em3581 Vincent Tremblay 1 sibling, 0 replies; 4+ messages in thread From: Mark Brown @ 2022-12-26 23:30 UTC (permalink / raw) To: Vincent Tremblay; +Cc: linux-spi, linux-kernel [-- Attachment #1: Type: text/plain, Size: 253 bytes --] On Fri, Dec 23, 2022 at 11:18:25PM -0500, Vincent Tremblay wrote: > Add compatible string for Silicon Labs EM3581 device. Even trivial bindings should be documented - this should be added to some binding somewhere, trivial-devices.yaml should be fine. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 488 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2 1/2] dt-bindings: trivial-devices: Add silabs,em3581 2022-12-24 4:18 [PATCH] spidev: Add Silicon Labs EM3581 device compatible Vincent Tremblay 2022-12-26 23:30 ` Mark Brown @ 2022-12-27 2:35 ` Vincent Tremblay 2022-12-27 2:35 ` [PATCH v2 2/2] spidev: Add Silicon Labs EM3581 device compatible Vincent Tremblay 1 sibling, 1 reply; 4+ messages in thread From: Vincent Tremblay @ 2022-12-27 2:35 UTC (permalink / raw) Cc: vincent, Rob Herring, Krzysztof Kozlowski, Mark Brown, Guenter Roeck, Stanislav Jakubek, Jarkko Sakkinen, Marek Vasut, Marcello Sylvester Bauer, Samuel Holland, Greg.Schwendimann@infineon.com, Conor Dooley, Pali Rohár, devicetree, linux-kernel, linux-spi Add Silicon Labs EM3581 Zigbee SoC to trivial-devices. Signed-off-by: Vincent Tremblay <vincent@vtremblay.dev> --- Changes in v2: - Add missing documentation in trivial-devices 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 f5c0a6283e61..5a3ccbce8c23 100644 --- a/Documentation/devicetree/bindings/trivial-devices.yaml +++ b/Documentation/devicetree/bindings/trivial-devices.yaml @@ -323,6 +323,8 @@ properties: - sensortek,stk8ba50 # SGX Sensortech VZ89X Sensors - sgx,vz89x + # Silicon Labs EM3581 Zigbee SoC with SPI interface + - silabs,em3581 # Relative Humidity and Temperature Sensors - silabs,si7020 # Skyworks SKY81452: Six-Channel White LED Driver with Touch Panel Bias Supply -- 2.37.2 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v2 2/2] spidev: Add Silicon Labs EM3581 device compatible 2022-12-27 2:35 ` [PATCH v2 1/2] dt-bindings: trivial-devices: Add silabs,em3581 Vincent Tremblay @ 2022-12-27 2:35 ` Vincent Tremblay 0 siblings, 0 replies; 4+ messages in thread From: Vincent Tremblay @ 2022-12-27 2:35 UTC (permalink / raw) Cc: vincent, Rob Herring, Krzysztof Kozlowski, Mark Brown, Guenter Roeck, Stanislav Jakubek, Marcello Sylvester Bauer, Marek Vasut, Samuel Holland, Greg.Schwendimann@infineon.com, Conor Dooley, Pali Rohár, devicetree, linux-kernel, linux-spi Add compatible string for Silicon Labs EM3581 device. Signed-off-by: Vincent Tremblay <vincent@vtremblay.dev> --- Changes in v2: - Add missing documentation in trivial-devices drivers/spi/spidev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c index 6313e7d0cdf8..46f53ca03f8d 100644 --- a/drivers/spi/spidev.c +++ b/drivers/spi/spidev.c @@ -702,6 +702,7 @@ static const struct spi_device_id spidev_spi_ids[] = { { .name = "m53cpld" }, { .name = "spi-petra" }, { .name = "spi-authenta" }, + { .name = "em3581" }, {}, }; MODULE_DEVICE_TABLE(spi, spidev_spi_ids); @@ -728,6 +729,7 @@ static const struct of_device_id spidev_dt_ids[] = { { .compatible = "menlo,m53cpld", .data = &spidev_of_check }, { .compatible = "cisco,spi-petra", .data = &spidev_of_check }, { .compatible = "micron,spi-authenta", .data = &spidev_of_check }, + { .compatible = "silabs,em3581", .data = &spidev_of_check }, {}, }; MODULE_DEVICE_TABLE(of, spidev_dt_ids); -- 2.37.2 ^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-12-27 2:36 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2022-12-24 4:18 [PATCH] spidev: Add Silicon Labs EM3581 device compatible Vincent Tremblay 2022-12-26 23:30 ` Mark Brown 2022-12-27 2:35 ` [PATCH v2 1/2] dt-bindings: trivial-devices: Add silabs,em3581 Vincent Tremblay 2022-12-27 2:35 ` [PATCH v2 2/2] spidev: Add Silicon Labs EM3581 device compatible Vincent Tremblay
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).