mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-12-27 07:35:36 -05:00
Merge tag 'i2c-for-6.19-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
Pull i2c fixes from Wolfram Sang:
- bcm, pxa, rcar: fix void-pointer-to-enum-cast warning
- new hardware IDs / DT bindings for
- Intel Nova Lake-S
- Mobileye
- Qualcomm SM8750
* tag 'i2c-for-6.19-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
dt-bindings: i2c: qcom-cci: Document SM8750 compatible
i2c: i801: Add support for Intel Nova Lake-S
dt-bindings: i2c: dw: Add Mobileye I2C controllers
i2c: rcar: Fix Wvoid-pointer-to-enum-cast warning
i2c: pxa: Fix Wvoid-pointer-to-enum-cast warning
i2c: bcm-iproc: Fix Wvoid-pointer-to-enum-cast warning
This commit is contained in:
@@ -38,6 +38,7 @@ properties:
|
||||
- qcom,sm8450-cci
|
||||
- qcom,sm8550-cci
|
||||
- qcom,sm8650-cci
|
||||
- qcom,sm8750-cci
|
||||
- qcom,x1e80100-cci
|
||||
- const: qcom,msm8996-cci # CCI v2
|
||||
|
||||
@@ -132,6 +133,7 @@ allOf:
|
||||
enum:
|
||||
- qcom,kaanapali-cci
|
||||
- qcom,qcm2290-cci
|
||||
- qcom,sm8750-cci
|
||||
then:
|
||||
properties:
|
||||
clocks:
|
||||
|
||||
@@ -34,8 +34,15 @@ properties:
|
||||
- const: snps,designware-i2c
|
||||
- description: Baikal-T1 SoC System I2C controller
|
||||
const: baikal,bt1-sys-i2c
|
||||
- description: Mobileye EyeQ DesignWare I2C controller
|
||||
items:
|
||||
- enum:
|
||||
- mobileye,eyeq7h-i2c
|
||||
- const: mobileye,eyeq6lplus-i2c
|
||||
- const: snps,designware-i2c
|
||||
- items:
|
||||
- enum:
|
||||
- mobileye,eyeq6lplus-i2c
|
||||
- mscc,ocelot-i2c
|
||||
- sophgo,sg2044-i2c
|
||||
- thead,th1520-i2c
|
||||
|
||||
@@ -52,6 +52,7 @@ Supported adapters:
|
||||
* Intel Panther Lake (SOC)
|
||||
* Intel Wildcat Lake (SOC)
|
||||
* Intel Diamond Rapids (SOC)
|
||||
* Intel Nova Lake (PCH)
|
||||
|
||||
Datasheets: Publicly available at the Intel website
|
||||
|
||||
|
||||
@@ -167,6 +167,7 @@ config I2C_I801
|
||||
Panther Lake (SOC)
|
||||
Wildcat Lake (SOC)
|
||||
Diamond Rapids (SOC)
|
||||
Nova Lake (PCH)
|
||||
|
||||
This driver can also be built as a module. If so, the module
|
||||
will be called i2c-i801.
|
||||
|
||||
@@ -1098,8 +1098,7 @@ static int bcm_iproc_i2c_probe(struct platform_device *pdev)
|
||||
|
||||
platform_set_drvdata(pdev, iproc_i2c);
|
||||
iproc_i2c->device = &pdev->dev;
|
||||
iproc_i2c->type =
|
||||
(enum bcm_iproc_i2c_type)of_device_get_match_data(&pdev->dev);
|
||||
iproc_i2c->type = (kernel_ulong_t)of_device_get_match_data(&pdev->dev);
|
||||
init_completion(&iproc_i2c->done);
|
||||
|
||||
iproc_i2c->base = devm_platform_ioremap_resource(pdev, 0);
|
||||
|
||||
@@ -85,6 +85,7 @@
|
||||
* Panther Lake-P (SOC) 0xe422 32 hard yes yes yes
|
||||
* Wildcat Lake-U (SOC) 0x4d22 32 hard yes yes yes
|
||||
* Diamond Rapids (SOC) 0x5827 32 hard yes yes yes
|
||||
* Nova Lake-S (PCH) 0x6e23 32 hard yes yes yes
|
||||
*
|
||||
* Features supported by this driver:
|
||||
* Software PEC no
|
||||
@@ -245,6 +246,7 @@
|
||||
#define PCI_DEVICE_ID_INTEL_BIRCH_STREAM_SMBUS 0x5796
|
||||
#define PCI_DEVICE_ID_INTEL_DIAMOND_RAPIDS_SMBUS 0x5827
|
||||
#define PCI_DEVICE_ID_INTEL_BROXTON_SMBUS 0x5ad4
|
||||
#define PCI_DEVICE_ID_INTEL_NOVA_LAKE_S_SMBUS 0x6e23
|
||||
#define PCI_DEVICE_ID_INTEL_ARROW_LAKE_H_SMBUS 0x7722
|
||||
#define PCI_DEVICE_ID_INTEL_RAPTOR_LAKE_S_SMBUS 0x7a23
|
||||
#define PCI_DEVICE_ID_INTEL_ALDER_LAKE_S_SMBUS 0x7aa3
|
||||
@@ -1061,6 +1063,7 @@ static const struct pci_device_id i801_ids[] = {
|
||||
{ PCI_DEVICE_DATA(INTEL, PANTHER_LAKE_H_SMBUS, FEATURES_ICH5 | FEATURE_TCO_CNL) },
|
||||
{ PCI_DEVICE_DATA(INTEL, PANTHER_LAKE_P_SMBUS, FEATURES_ICH5 | FEATURE_TCO_CNL) },
|
||||
{ PCI_DEVICE_DATA(INTEL, WILDCAT_LAKE_U_SMBUS, FEATURES_ICH5 | FEATURE_TCO_CNL) },
|
||||
{ PCI_DEVICE_DATA(INTEL, NOVA_LAKE_S_SMBUS, FEATURES_ICH5 | FEATURE_TCO_CNL) },
|
||||
{ 0, }
|
||||
};
|
||||
|
||||
|
||||
@@ -1266,7 +1266,7 @@ static int i2c_pxa_probe_dt(struct platform_device *pdev, struct pxa_i2c *i2c,
|
||||
i2c->use_pio = of_property_read_bool(np, "mrvl,i2c-polling");
|
||||
i2c->fast_mode = of_property_read_bool(np, "mrvl,i2c-fast-mode");
|
||||
|
||||
*i2c_types = (enum pxa_i2c_types)device_get_match_data(&pdev->dev);
|
||||
*i2c_types = (kernel_ulong_t)device_get_match_data(&pdev->dev);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -1141,7 +1141,7 @@ static int rcar_i2c_probe(struct platform_device *pdev)
|
||||
if (IS_ERR(priv->io))
|
||||
return PTR_ERR(priv->io);
|
||||
|
||||
priv->devtype = (enum rcar_i2c_type)of_device_get_match_data(dev);
|
||||
priv->devtype = (kernel_ulong_t)of_device_get_match_data(dev);
|
||||
init_waitqueue_head(&priv->wait);
|
||||
|
||||
adap = &priv->adap;
|
||||
|
||||
Reference in New Issue
Block a user