* [PATCH v9 1/3] dt-bindings: net: Add ti,cc1352p7
[not found] <20231017101116.178041-1-ayushdevel1325@gmail.com>
@ 2023-10-17 10:11 ` Ayush Singh
2023-10-26 14:00 ` kernel test robot
2023-10-17 10:11 ` [PATCH v9 3/3] dts: ti: k3-am625-beagleplay: Add beaglecc1352 Ayush Singh
1 sibling, 1 reply; 3+ messages in thread
From: Ayush Singh @ 2023-10-17 10:11 UTC (permalink / raw)
To: greybus-dev
Cc: Ayush Singh, devicetree, linux-kernel, gregkh, vaishnav, jkridner,
nm, krzysztof.kozlowski+dt, vigneshr, kristo, robh+dt, conor+dt,
linux-arm-kernel, Krzysztof Kozlowski
Add DT bindings for Texas Instruments Simplelink CC1352P7 wireless MCU
BeaglePlay has CC1352P7 co-processor connected to the main AM62 (running
Linux) over UART. In the BeagleConnect Technology, CC1352 is responsible
for handling 6LoWPAN communication with beagleconnect freedom nodes as
well as their discovery.
Signed-off-by: Ayush Singh <ayushdevel1325@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Nishanth Menon <nm@ti.com>
---
.../devicetree/bindings/net/ti,cc1352p7.yaml | 51 +++++++++++++++++++
MAINTAINERS | 6 +++
2 files changed, 57 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/ti,cc1352p7.yaml
diff --git a/Documentation/devicetree/bindings/net/ti,cc1352p7.yaml b/Documentation/devicetree/bindings/net/ti,cc1352p7.yaml
new file mode 100644
index 000000000000..3dde10de4630
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/ti,cc1352p7.yaml
@@ -0,0 +1,51 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/net/ti,cc1352p7.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Texas Instruments Simplelink CC1352P7 wireless MCU
+
+description:
+ The CC1352P7 MCU can be connected via SPI or UART.
+
+maintainers:
+ - Ayush Singh <ayushdevel1325@gmail.com>
+
+properties:
+ compatible:
+ const: ti,cc1352p7
+
+ clocks:
+ items:
+ - description: high-frequency main system (MCU and peripherals) clock
+ - description: low-frequency system clock
+
+ clock-names:
+ items:
+ - const: sclk_hf
+ - const: sclk_lf
+
+ reset-gpios:
+ maxItems: 1
+
+ vdds-supply: true
+
+required:
+ - compatible
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+
+ serial {
+ mcu {
+ compatible = "ti,cc1352p7";
+ clocks = <&sclk_hf 0>, <&sclk_lf 25>;
+ clock-names = "sclk_hf", "sclk_lf";
+ reset-gpios = <&pio 35 GPIO_ACTIVE_LOW>;
+ vdds-supply = <&vdds>;
+ };
+ };
diff --git a/MAINTAINERS b/MAINTAINERS
index 37b9626ee654..5467669d7963 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -8969,6 +8969,12 @@ F: drivers/staging/greybus/sdio.c
F: drivers/staging/greybus/spi.c
F: drivers/staging/greybus/spilib.c
+GREYBUS BEAGLEPLAY DRIVERS
+M: Ayush Singh <ayushdevel1325@gmail.com>
+L: greybus-dev@lists.linaro.org (moderated for non-subscribers)
+S: Maintained
+F: Documentation/devicetree/bindings/net/ti,cc1352p7.yaml
+
GREYBUS SUBSYSTEM
M: Johan Hovold <johan@kernel.org>
M: Alex Elder <elder@kernel.org>
--
2.41.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH v9 3/3] dts: ti: k3-am625-beagleplay: Add beaglecc1352
[not found] <20231017101116.178041-1-ayushdevel1325@gmail.com>
2023-10-17 10:11 ` [PATCH v9 1/3] dt-bindings: net: Add ti,cc1352p7 Ayush Singh
@ 2023-10-17 10:11 ` Ayush Singh
1 sibling, 0 replies; 3+ messages in thread
From: Ayush Singh @ 2023-10-17 10:11 UTC (permalink / raw)
To: greybus-dev
Cc: Ayush Singh, devicetree, linux-kernel, gregkh, vaishnav, jkridner,
nm, krzysztof.kozlowski+dt, vigneshr, kristo, robh+dt, conor+dt,
linux-arm-kernel
The BeaglePlay board by BeagleBoard.org has a CC1352P7 co-processor
connected to the main AM62 (running Linux) over UART. In the BeagleConnect
Technology, CC1352 is responsible for handling 6LoWPAN communication with
beagleconnect freedom nodes as well as their discovery.
This mcu is used by gb-beagleplay, a Greybus driver for BeaglePlay.
Signed-off-by: Ayush Singh <ayushdevel1325@gmail.com>
---
arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts b/arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts
index 7cfdf562b53b..d2e0b11242b6 100644
--- a/arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts
+++ b/arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts
@@ -870,6 +870,12 @@ &main_uart6 {
pinctrl-names = "default";
pinctrl-0 = <&wifi_debug_uart_pins_default>;
status = "okay";
+
+ mcu {
+ compatible = "ti,cc1352p7";
+ reset-gpios = <&main_gpio0 72 GPIO_ACTIVE_LOW>;
+ vdds-supply = <&vdd_3v3>;
+ };
};
&dss {
--
2.41.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v9 1/3] dt-bindings: net: Add ti,cc1352p7
2023-10-17 10:11 ` [PATCH v9 1/3] dt-bindings: net: Add ti,cc1352p7 Ayush Singh
@ 2023-10-26 14:00 ` kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2023-10-26 14:00 UTC (permalink / raw)
To: Ayush Singh, greybus-dev
Cc: oe-kbuild-all, Ayush Singh, devicetree, linux-kernel, gregkh,
vaishnav, jkridner, nm, krzysztof.kozlowski+dt, vigneshr, kristo,
robh+dt, conor+dt, linux-arm-kernel, Krzysztof Kozlowski
Hi Ayush,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 6269320850097903b30be8f07a5c61d9f7592393]
url: https://github.com/intel-lab-lkp/linux/commits/Ayush-Singh/dt-bindings-net-Add-ti-cc1352p7/20231017-181305
base: 6269320850097903b30be8f07a5c61d9f7592393
patch link: https://lore.kernel.org/r/20231017101116.178041-2-ayushdevel1325%40gmail.com
patch subject: [PATCH v9 1/3] dt-bindings: net: Add ti,cc1352p7
compiler: loongarch64-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20231026/202310262150.cA8h8EiZ-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202310262150.cA8h8EiZ-lkp@intel.com/
dtcheck warnings: (new ones prefixed by >>)
>> Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml:70:27: [error] string value is redundantly quoted with any quotes (quoted-strings)
Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml:71:28: [error] string value is redundantly quoted with any quotes (quoted-strings)
vim +70 Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml
fbc00b5e746f13 Liang Yang 2022-09-07 8
fbc00b5e746f13 Liang Yang 2022-09-07 9 allOf:
fbc00b5e746f13 Liang Yang 2022-09-07 10 - $ref: nand-controller.yaml
fbc00b5e746f13 Liang Yang 2022-09-07 11
fbc00b5e746f13 Liang Yang 2022-09-07 12 maintainers:
fbc00b5e746f13 Liang Yang 2022-09-07 13 - liang.yang@amlogic.com
fbc00b5e746f13 Liang Yang 2022-09-07 14
fbc00b5e746f13 Liang Yang 2022-09-07 15 properties:
fbc00b5e746f13 Liang Yang 2022-09-07 16 compatible:
fbc00b5e746f13 Liang Yang 2022-09-07 17 enum:
fbc00b5e746f13 Liang Yang 2022-09-07 18 - amlogic,meson-gxl-nfc
fbc00b5e746f13 Liang Yang 2022-09-07 19 - amlogic,meson-axg-nfc
fbc00b5e746f13 Liang Yang 2022-09-07 20
fbc00b5e746f13 Liang Yang 2022-09-07 21 reg:
fbc00b5e746f13 Liang Yang 2022-09-07 22 maxItems: 2
fbc00b5e746f13 Liang Yang 2022-09-07 23
fbc00b5e746f13 Liang Yang 2022-09-07 24 reg-names:
fbc00b5e746f13 Liang Yang 2022-09-07 25 items:
fbc00b5e746f13 Liang Yang 2022-09-07 26 - const: nfc
fbc00b5e746f13 Liang Yang 2022-09-07 27 - const: emmc
fbc00b5e746f13 Liang Yang 2022-09-07 28
fbc00b5e746f13 Liang Yang 2022-09-07 29 interrupts:
fbc00b5e746f13 Liang Yang 2022-09-07 30 maxItems: 1
fbc00b5e746f13 Liang Yang 2022-09-07 31
fbc00b5e746f13 Liang Yang 2022-09-07 32 clocks:
fbc00b5e746f13 Liang Yang 2022-09-07 33 minItems: 2
fbc00b5e746f13 Liang Yang 2022-09-07 34
fbc00b5e746f13 Liang Yang 2022-09-07 35 clock-names:
fbc00b5e746f13 Liang Yang 2022-09-07 36 items:
fbc00b5e746f13 Liang Yang 2022-09-07 37 - const: core
fbc00b5e746f13 Liang Yang 2022-09-07 38 - const: device
fbc00b5e746f13 Liang Yang 2022-09-07 39
fbc00b5e746f13 Liang Yang 2022-09-07 40 patternProperties:
fbc00b5e746f13 Liang Yang 2022-09-07 41 "^nand@[0-7]$":
fbc00b5e746f13 Liang Yang 2022-09-07 42 type: object
e37eaf5ebc5be6 Miquel Raynal 2023-06-19 43 $ref: raw-nand-chip.yaml
fbc00b5e746f13 Liang Yang 2022-09-07 44 properties:
fbc00b5e746f13 Liang Yang 2022-09-07 45 reg:
fbc00b5e746f13 Liang Yang 2022-09-07 46 minimum: 0
fbc00b5e746f13 Liang Yang 2022-09-07 47 maximum: 1
fbc00b5e746f13 Liang Yang 2022-09-07 48
fbc00b5e746f13 Liang Yang 2022-09-07 49 nand-ecc-mode:
fbc00b5e746f13 Liang Yang 2022-09-07 50 const: hw
fbc00b5e746f13 Liang Yang 2022-09-07 51
fbc00b5e746f13 Liang Yang 2022-09-07 52 nand-ecc-step-size:
c3519aed2a3faf Arseniy Krasnov 2023-07-11 53 enum: [512, 1024]
fbc00b5e746f13 Liang Yang 2022-09-07 54
fbc00b5e746f13 Liang Yang 2022-09-07 55 nand-ecc-strength:
fbc00b5e746f13 Liang Yang 2022-09-07 56 enum: [8, 16, 24, 30, 40, 50, 60]
fbc00b5e746f13 Liang Yang 2022-09-07 57 description: |
fbc00b5e746f13 Liang Yang 2022-09-07 58 The ECC configurations that can be supported are as follows.
fbc00b5e746f13 Liang Yang 2022-09-07 59 meson-gxl-nfc 8, 16, 24, 30, 40, 50, 60
fbc00b5e746f13 Liang Yang 2022-09-07 60 meson-axg-nfc 8
fbc00b5e746f13 Liang Yang 2022-09-07 61
262bc0096b7c91 Arseniy Krasnov 2023-06-08 62 nand-rb:
262bc0096b7c91 Arseniy Krasnov 2023-06-08 63 maxItems: 1
262bc0096b7c91 Arseniy Krasnov 2023-06-08 64 items:
262bc0096b7c91 Arseniy Krasnov 2023-06-08 65 maximum: 0
262bc0096b7c91 Arseniy Krasnov 2023-06-08 66
e37eaf5ebc5be6 Miquel Raynal 2023-06-19 67 unevaluatedProperties: false
e37eaf5ebc5be6 Miquel Raynal 2023-06-19 68
350301a3d73b21 Arseniy Krasnov 2023-07-17 69 dependencies:
350301a3d73b21 Arseniy Krasnov 2023-07-17 @70 nand-ecc-strength: ['nand-ecc-step-size']
350301a3d73b21 Arseniy Krasnov 2023-07-17 71 nand-ecc-step-size: ['nand-ecc-strength']
350301a3d73b21 Arseniy Krasnov 2023-07-17 72
e37eaf5ebc5be6 Miquel Raynal 2023-06-19 73
fbc00b5e746f13 Liang Yang 2022-09-07 74 required:
fbc00b5e746f13 Liang Yang 2022-09-07 75 - compatible
fbc00b5e746f13 Liang Yang 2022-09-07 76 - reg
fbc00b5e746f13 Liang Yang 2022-09-07 77 - interrupts
fbc00b5e746f13 Liang Yang 2022-09-07 78 - clocks
fbc00b5e746f13 Liang Yang 2022-09-07 79 - clock-names
fbc00b5e746f13 Liang Yang 2022-09-07 80
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-10-26 14:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20231017101116.178041-1-ayushdevel1325@gmail.com>
2023-10-17 10:11 ` [PATCH v9 1/3] dt-bindings: net: Add ti,cc1352p7 Ayush Singh
2023-10-26 14:00 ` kernel test robot
2023-10-17 10:11 ` [PATCH v9 3/3] dts: ti: k3-am625-beagleplay: Add beaglecc1352 Ayush Singh
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).