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.

Merge tag 'i3c/for-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/i3c/linux

Pull i3c updates from Alexandre Belloni:
"Not much this cycle with only three patches.

Core:
- i3c_bus_type is now const

Drivers:
- dw: disabling IBI is only allowed when hot join and SIR are disabled"

* tag 'i3c/for-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/i3c/linux:
i3c: Make i3c_bus_type const
i3c: dw: Disable IBI IRQ depends on hot-join and SIR enabling
dt-bindings: i3c: drop "master" node name suffix

+12 -10
+1 -1
Documentation/devicetree/bindings/i3c/aspeed,ast2600-i3c.yaml
··· 57 57 - | 58 58 #include <dt-bindings/interrupt-controller/arm-gic.h> 59 59 60 - i3c-master@2000 { 60 + i3c@2000 { 61 61 compatible = "aspeed,ast2600-i3c"; 62 62 reg = <0x2000 0x1000>; 63 63 #address-cells = <3>;
+1 -1
Documentation/devicetree/bindings/i3c/cdns,i3c-master.yaml
··· 41 41 42 42 examples: 43 43 - | 44 - i3c-master@d040000 { 44 + i3c@d040000 { 45 45 compatible = "cdns,i3c-master"; 46 46 clocks = <&coreclock>, <&i3csysclock>; 47 47 clock-names = "pclk", "sysclk";
+2 -2
Documentation/devicetree/bindings/i3c/i3c.yaml
··· 17 17 18 18 properties: 19 19 $nodename: 20 - pattern: "^i3c-master@[0-9a-f]+$" 20 + pattern: "^i3c@[0-9a-f]+$" 21 21 22 22 "#address-cells": 23 23 const: 3 ··· 153 153 154 154 examples: 155 155 - | 156 - i3c-master@d040000 { 156 + i3c@d040000 { 157 157 compatible = "cdns,i3c-master"; 158 158 clocks = <&coreclock>, <&i3csysclock>; 159 159 clock-names = "pclk", "sysclk";
+1 -1
Documentation/devicetree/bindings/i3c/mipi-i3c-hci.yaml
··· 43 43 44 44 examples: 45 45 - | 46 - i3c-master@a0000000 { 46 + i3c@a0000000 { 47 47 compatible = "mipi-i3c-hci"; 48 48 reg = <0xa0000000 0x2000>; 49 49 interrupts = <89>;
+1 -1
Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml
··· 48 48 49 49 examples: 50 50 - | 51 - i3c-master@a0000000 { 51 + i3c@a0000000 { 52 52 compatible = "silvaco,i3c-master-v1"; 53 53 clocks = <&zynqmp_clk 71>, <&fclk>, <&sclk>; 54 54 clock-names = "pclk", "fast_clk", "slow_clk";
+1 -1
Documentation/devicetree/bindings/i3c/snps,dw-i3c-master.yaml
··· 35 35 36 36 examples: 37 37 - | 38 - i3c-master@2000 { 38 + i3c@2000 { 39 39 compatible = "snps,dw-i3c-master-1.00a"; 40 40 #address-cells = <3>; 41 41 #size-cells = <0>;
+1 -1
drivers/i3c/internals.h
··· 10 10 11 11 #include <linux/i3c/master.h> 12 12 13 - extern struct bus_type i3c_bus_type; 13 + extern const struct bus_type i3c_bus_type; 14 14 15 15 void i3c_bus_normaluse_lock(struct i3c_bus *bus); 16 16 void i3c_bus_normaluse_unlock(struct i3c_bus *bus);
+1 -1
drivers/i3c/master.c
··· 335 335 i3c_device_free_ibi(i3cdev); 336 336 } 337 337 338 - struct bus_type i3c_bus_type = { 338 + const struct bus_type i3c_bus_type = { 339 339 .name = "i3c", 340 340 .match = i3c_device_match, 341 341 .probe = i3c_device_probe,
+3 -1
drivers/i3c/master/dw-i3c-master.c
··· 1163 1163 global = reg == 0xffffffff; 1164 1164 reg &= ~BIT(idx); 1165 1165 } else { 1166 - global = reg == 0; 1166 + bool hj_rejected = !!(readl(master->regs + DEVICE_CTRL) & DEV_CTRL_HOT_JOIN_NACK); 1167 + 1167 1168 reg |= BIT(idx); 1169 + global = (reg == 0xffffffff) && hj_rejected; 1168 1170 } 1169 1171 writel(reg, master->regs + IBI_SIR_REQ_REJECT); 1170 1172