Skip to content

Commit 389dfd9

Browse files
committed
Merge tag 'i2c-for-6.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
Pull i2c fixes from Wolfram Sang: - PM cleanup after all prerequisites are merged with rc1 - usbio: missing addition after all dependencies are in - slimpro: DT binding schema conversion * tag 'i2c-for-6.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: dt-bindings: i2c: Convert apm,xgene-slimpro-i2c to DT schema i2c: usbio: Add ACPI device-id for MTL-CVF devices i2c: Remove redundant pm_runtime_mark_last_busy() calls
2 parents 98ac9cc + 8675370 commit 389dfd9

25 files changed

+37
-56
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/i2c/apm,xgene-slimpro-i2c.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: APM X-Gene SLIMpro Mailbox I2C
8+
9+
maintainers:
10+
- Khuong Dinh <khuong@os.amperecomputing.com>
11+
12+
description:
13+
An I2C controller accessed over the "SLIMpro" mailbox.
14+
15+
allOf:
16+
- $ref: /schemas/i2c/i2c-controller.yaml#
17+
18+
properties:
19+
compatible:
20+
const: apm,xgene-slimpro-i2c
21+
22+
mboxes:
23+
maxItems: 1
24+
25+
required:
26+
- compatible
27+
- mboxes
28+
29+
unevaluatedProperties: false
30+
31+
examples:
32+
- |
33+
i2c {
34+
compatible = "apm,xgene-slimpro-i2c";
35+
mboxes = <&mailbox 0>;
36+
};

Documentation/devicetree/bindings/i2c/i2c-xgene-slimpro.txt

Lines changed: 0 additions & 15 deletions
This file was deleted.

drivers/i2c/busses/i2c-amd-mp2.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,6 @@ static inline void amd_mp2_pm_runtime_get(struct amd_mp2_dev *mp2_dev)
207207

208208
static inline void amd_mp2_pm_runtime_put(struct amd_mp2_dev *mp2_dev)
209209
{
210-
pm_runtime_mark_last_busy(&mp2_dev->pci_dev->dev);
211210
pm_runtime_put_autosuspend(&mp2_dev->pci_dev->dev);
212211
}
213212

drivers/i2c/busses/i2c-at91-core.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,6 @@ static int __maybe_unused at91_twi_resume_noirq(struct device *dev)
313313
return ret;
314314
}
315315

316-
pm_runtime_mark_last_busy(dev);
317316
pm_request_autosuspend(dev);
318317

319318
at91_init_twi_bus(twi_dev);

drivers/i2c/busses/i2c-at91-master.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,6 @@ static int at91_twi_xfer(struct i2c_adapter *adap, struct i2c_msg *msg, int num)
717717

718718
ret = (ret < 0) ? ret : num;
719719
out:
720-
pm_runtime_mark_last_busy(dev->dev);
721720
pm_runtime_put_autosuspend(dev->dev);
722721

723722
return ret;

drivers/i2c/busses/i2c-cadence.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1128,7 +1128,6 @@ static int cdns_i2c_master_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs,
11281128
cdns_i2c_set_mode(CDNS_I2C_MODE_SLAVE, id);
11291129
#endif
11301130

1131-
pm_runtime_mark_last_busy(id->dev);
11321131
pm_runtime_put_autosuspend(id->dev);
11331132
return ret;
11341133
}

drivers/i2c/busses/i2c-davinci.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,6 @@ i2c_davinci_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[], int num)
543543
ret = num;
544544

545545
out:
546-
pm_runtime_mark_last_busy(dev->dev);
547546
pm_runtime_put_autosuspend(dev->dev);
548547

549548
return ret;
@@ -821,7 +820,6 @@ static int davinci_i2c_probe(struct platform_device *pdev)
821820
if (r)
822821
goto err_unuse_clocks;
823822

824-
pm_runtime_mark_last_busy(dev->dev);
825823
pm_runtime_put_autosuspend(dev->dev);
826824

827825
return 0;

drivers/i2c/busses/i2c-designware-master.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,6 @@ i2c_dw_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[], int num)
901901
i2c_dw_release_lock(dev);
902902

903903
done_nolock:
904-
pm_runtime_mark_last_busy(dev->dev);
905904
pm_runtime_put_autosuspend(dev->dev);
906905

907906
return ret;

drivers/i2c/busses/i2c-hix5hd2.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,6 @@ static int hix5hd2_i2c_xfer(struct i2c_adapter *adap,
373373
ret = num;
374374

375375
out:
376-
pm_runtime_mark_last_busy(priv->dev);
377376
pm_runtime_put_autosuspend(priv->dev);
378377
return ret;
379378
}

drivers/i2c/busses/i2c-i801.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -930,7 +930,6 @@ static s32 i801_access(struct i2c_adapter *adap, u16 addr,
930930
*/
931931
iowrite8(SMBHSTSTS_INUSE_STS | STATUS_FLAGS, SMBHSTSTS(priv));
932932

933-
pm_runtime_mark_last_busy(&priv->pci_dev->dev);
934933
pm_runtime_put_autosuspend(&priv->pci_dev->dev);
935934
return ret;
936935
}

0 commit comments

Comments
 (0)