Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: can: rockchip_canfd: add rockchip CAN-FD controller

Add documentation for the rockchip rk3568 CAN-FD controller.

Co-developed-by: Elaine Zhang <zhangqing@rock-chips.com>
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Tested-by: Alibek Omarov <a1ba.omarov@gmail.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patch.msgid.link/20240904-rockchip-canfd-v5-1-8ae22bcb27cc@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>

+81
+74
Documentation/devicetree/bindings/net/can/rockchip,rk3568v2-canfd.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/net/can/rockchip,rk3568v2-canfd.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: 8 + Rockchip CAN-FD controller 9 + 10 + maintainers: 11 + - Marc Kleine-Budde <mkl@pengutronix.de> 12 + 13 + allOf: 14 + - $ref: can-controller.yaml# 15 + 16 + properties: 17 + compatible: 18 + oneOf: 19 + - const: rockchip,rk3568v2-canfd 20 + - items: 21 + - const: rockchip,rk3568v3-canfd 22 + - const: rockchip,rk3568v2-canfd 23 + 24 + reg: 25 + maxItems: 1 26 + 27 + interrupts: 28 + maxItems: 1 29 + 30 + clocks: 31 + maxItems: 2 32 + 33 + clock-names: 34 + items: 35 + - const: baud 36 + - const: pclk 37 + 38 + resets: 39 + maxItems: 2 40 + 41 + reset-names: 42 + items: 43 + - const: core 44 + - const: apb 45 + 46 + required: 47 + - compatible 48 + - reg 49 + - interrupts 50 + - clocks 51 + - resets 52 + 53 + additionalProperties: false 54 + 55 + examples: 56 + - | 57 + #include <dt-bindings/clock/rk3568-cru.h> 58 + #include <dt-bindings/interrupt-controller/arm-gic.h> 59 + #include <dt-bindings/interrupt-controller/irq.h> 60 + 61 + soc { 62 + #address-cells = <2>; 63 + #size-cells = <2>; 64 + 65 + can@fe570000 { 66 + compatible = "rockchip,rk3568v2-canfd"; 67 + reg = <0x0 0xfe570000 0x0 0x1000>; 68 + interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>; 69 + clocks = <&cru CLK_CAN0>, <&cru PCLK_CAN0>; 70 + clock-names = "baud", "pclk"; 71 + resets = <&cru SRST_CAN0>, <&cru SRST_P_CAN0>; 72 + reset-names = "core", "apb"; 73 + }; 74 + };
+7
MAINTAINERS
··· 19730 19730 F: drivers/hid/hid-roccat* 19731 19731 F: include/linux/hid-roccat* 19732 19732 19733 + ROCKCHIP CAN-FD DRIVER 19734 + M: Marc Kleine-Budde <mkl@pengutronix.de> 19735 + R: kernel@pengutronix.de 19736 + L: linux-can@vger.kernel.org 19737 + S: Maintained 19738 + F: Documentation/devicetree/bindings/net/can/rockchip,rk3568v2-canfd.yaml 19739 + 19733 19740 ROCKCHIP CRYPTO DRIVERS 19734 19741 M: Corentin Labbe <clabbe@baylibre.com> 19735 19742 L: linux-crypto@vger.kernel.org