File tree Expand file tree Collapse file tree 7 files changed +116
-94
lines changed
Documentation/devicetree/bindings/i3c Expand file tree Collapse file tree 7 files changed +116
-94
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ # SPDX-License-Identifier: GPL-2.0
2
+ %YAML 1.2
3
+ ---
4
+ $id : http://devicetree.org/schemas/i3c/cdns,i3c-master.yaml#
5
+ $schema : http://devicetree.org/meta-schemas/core.yaml#
6
+
7
+ title : Cadence I3C master block
8
+
9
+ maintainers :
10
+ - Boris Brezillon <bbrezillon@kernel.org>
11
+
12
+ allOf :
13
+ - $ref : i3c.yaml#
14
+
15
+ properties :
16
+ compatible :
17
+ const : cdns,i3c-master
18
+
19
+ reg :
20
+ maxItems : 1
21
+
22
+ clocks :
23
+ maxItems : 2
24
+
25
+ clock-names :
26
+ items :
27
+ - const : pclk
28
+ - const : sysclk
29
+
30
+ interrupts :
31
+ maxItems : 1
32
+
33
+ required :
34
+ - compatible
35
+ - reg
36
+ - clocks
37
+ - clock-names
38
+ - interrupts
39
+
40
+ unevaluatedProperties : false
41
+
42
+ examples :
43
+ - |
44
+ i3c-master@d040000 {
45
+ compatible = "cdns,i3c-master";
46
+ clocks = <&coreclock>, <&i3csysclock>;
47
+ clock-names = "pclk", "sysclk";
48
+ interrupts = <3 0>;
49
+ reg = <0x0d040000 0x1000>;
50
+ #address-cells = <3>;
51
+ #size-cells = <0>;
52
+ i2c-scl-hz = <100000>;
53
+
54
+ eeprom@57{
55
+ compatible = "atmel,24c01";
56
+ reg = <0x57 0x0 0x10>;
57
+ pagesize = <0x8>;
58
+ };
59
+ };
60
+ ...
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ # SPDX-License-Identifier: GPL-2.0
2
+ %YAML 1.2
3
+ ---
4
+ $id : http://devicetree.org/schemas/i3c/snps,dw-i3c-master.yaml#
5
+ $schema : http://devicetree.org/meta-schemas/core.yaml#
6
+
7
+ title : Synopsys DesignWare I3C master block
8
+
9
+ maintainers :
10
+ - Alexandre Belloni <alexandre.belloni@bootlin.com>
11
+
12
+ allOf :
13
+ - $ref : i3c.yaml#
14
+
15
+ properties :
16
+ compatible :
17
+ const : snps,dw-i3c-master-1.00a
18
+
19
+ reg :
20
+ maxItems : 1
21
+
22
+ clocks :
23
+ maxItems : 1
24
+
25
+ interrupts :
26
+ maxItems : 1
27
+
28
+ required :
29
+ - compatible
30
+ - reg
31
+ - clocks
32
+ - interrupts
33
+
34
+ unevaluatedProperties : false
35
+
36
+ examples :
37
+ - |
38
+ i3c-master@2000 {
39
+ compatible = "snps,dw-i3c-master-1.00a";
40
+ #address-cells = <3>;
41
+ #size-cells = <0>;
42
+ reg = <0x02000 0x1000>;
43
+ interrupts = <0>;
44
+ clocks = <&i3cclk>;
45
+
46
+ eeprom@57{
47
+ compatible = "atmel,24c01";
48
+ reg = <0x57 0x0 0x10>;
49
+ pagesize = <0x8>;
50
+ };
51
+ };
52
+ ...
Original file line number Diff line number Diff line change @@ -9319,13 +9319,13 @@ F: drivers/i2c/i2c-stub.c
9319
9319
I3C DRIVER FOR CADENCE I3C MASTER IP
9320
9320
M: Przemysław Gaj <pgaj@cadence.com>
9321
9321
S: Maintained
9322
- F: Documentation/devicetree/bindings/i3c/cdns,i3c-master.txt
9322
+ F: Documentation/devicetree/bindings/i3c/cdns,i3c-master.yaml
9323
9323
F: drivers/i3c/master/i3c-master-cdns.c
9324
9324
9325
9325
I3C DRIVER FOR SYNOPSYS DESIGNWARE
9326
9326
M: Vitor Soares <vitor.soares@synopsys.com>
9327
9327
S: Maintained
9328
- F: Documentation/devicetree/bindings/i3c/snps,dw-i3c-master.txt
9328
+ F: Documentation/devicetree/bindings/i3c/snps,dw-i3c-master.yaml
9329
9329
F: drivers/i3c/master/dw*
9330
9330
9331
9331
I3C SUBSYSTEM
Original file line number Diff line number Diff line change @@ -768,13 +768,8 @@ static int i3c_hci_probe(struct platform_device *pdev)
768
768
static int i3c_hci_remove (struct platform_device * pdev )
769
769
{
770
770
struct i3c_hci * hci = platform_get_drvdata (pdev );
771
- int ret ;
772
771
773
- ret = i3c_master_unregister (& hci -> master );
774
- if (ret )
775
- return ret ;
776
-
777
- return 0 ;
772
+ return i3c_master_unregister (& hci -> master );
778
773
}
779
774
780
775
static const __maybe_unused struct of_device_id i3c_hci_of_match [] = {
Original file line number Diff line number Diff line change @@ -1597,12 +1597,11 @@ static int __maybe_unused svc_i3c_runtime_suspend(struct device *dev)
1597
1597
static int __maybe_unused svc_i3c_runtime_resume (struct device * dev )
1598
1598
{
1599
1599
struct svc_i3c_master * master = dev_get_drvdata (dev );
1600
- int ret = 0 ;
1601
1600
1602
1601
pinctrl_pm_select_default_state (dev );
1603
1602
svc_i3c_master_prepare_clks (master );
1604
1603
1605
- return ret ;
1604
+ return 0 ;
1606
1605
}
1607
1606
1608
1607
static const struct dev_pm_ops svc_i3c_pm_ops = {
You can’t perform that action at this time.
0 commit comments