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 '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

+17 -4
+2
Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml
··· 38 38 - qcom,sm8450-cci 39 39 - qcom,sm8550-cci 40 40 - qcom,sm8650-cci 41 + - qcom,sm8750-cci 41 42 - qcom,x1e80100-cci 42 43 - const: qcom,msm8996-cci # CCI v2 43 44 ··· 133 132 enum: 134 133 - qcom,kaanapali-cci 135 134 - qcom,qcm2290-cci 135 + - qcom,sm8750-cci 136 136 then: 137 137 properties: 138 138 clocks:
+7
Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml
··· 34 34 - const: snps,designware-i2c 35 35 - description: Baikal-T1 SoC System I2C controller 36 36 const: baikal,bt1-sys-i2c 37 + - description: Mobileye EyeQ DesignWare I2C controller 38 + items: 39 + - enum: 40 + - mobileye,eyeq7h-i2c 41 + - const: mobileye,eyeq6lplus-i2c 42 + - const: snps,designware-i2c 37 43 - items: 38 44 - enum: 45 + - mobileye,eyeq6lplus-i2c 39 46 - mscc,ocelot-i2c 40 47 - sophgo,sg2044-i2c 41 48 - thead,th1520-i2c
+1
Documentation/i2c/busses/i2c-i801.rst
··· 52 52 * Intel Panther Lake (SOC) 53 53 * Intel Wildcat Lake (SOC) 54 54 * Intel Diamond Rapids (SOC) 55 + * Intel Nova Lake (PCH) 55 56 56 57 Datasheets: Publicly available at the Intel website 57 58
+1
drivers/i2c/busses/Kconfig
··· 167 167 Panther Lake (SOC) 168 168 Wildcat Lake (SOC) 169 169 Diamond Rapids (SOC) 170 + Nova Lake (PCH) 170 171 171 172 This driver can also be built as a module. If so, the module 172 173 will be called i2c-i801.
+1 -2
drivers/i2c/busses/i2c-bcm-iproc.c
··· 1098 1098 1099 1099 platform_set_drvdata(pdev, iproc_i2c); 1100 1100 iproc_i2c->device = &pdev->dev; 1101 - iproc_i2c->type = 1102 - (enum bcm_iproc_i2c_type)of_device_get_match_data(&pdev->dev); 1101 + iproc_i2c->type = (kernel_ulong_t)of_device_get_match_data(&pdev->dev); 1103 1102 init_completion(&iproc_i2c->done); 1104 1103 1105 1104 iproc_i2c->base = devm_platform_ioremap_resource(pdev, 0);
+3
drivers/i2c/busses/i2c-i801.c
··· 85 85 * Panther Lake-P (SOC) 0xe422 32 hard yes yes yes 86 86 * Wildcat Lake-U (SOC) 0x4d22 32 hard yes yes yes 87 87 * Diamond Rapids (SOC) 0x5827 32 hard yes yes yes 88 + * Nova Lake-S (PCH) 0x6e23 32 hard yes yes yes 88 89 * 89 90 * Features supported by this driver: 90 91 * Software PEC no ··· 246 245 #define PCI_DEVICE_ID_INTEL_BIRCH_STREAM_SMBUS 0x5796 247 246 #define PCI_DEVICE_ID_INTEL_DIAMOND_RAPIDS_SMBUS 0x5827 248 247 #define PCI_DEVICE_ID_INTEL_BROXTON_SMBUS 0x5ad4 248 + #define PCI_DEVICE_ID_INTEL_NOVA_LAKE_S_SMBUS 0x6e23 249 249 #define PCI_DEVICE_ID_INTEL_ARROW_LAKE_H_SMBUS 0x7722 250 250 #define PCI_DEVICE_ID_INTEL_RAPTOR_LAKE_S_SMBUS 0x7a23 251 251 #define PCI_DEVICE_ID_INTEL_ALDER_LAKE_S_SMBUS 0x7aa3 ··· 1063 1061 { PCI_DEVICE_DATA(INTEL, PANTHER_LAKE_H_SMBUS, FEATURES_ICH5 | FEATURE_TCO_CNL) }, 1064 1062 { PCI_DEVICE_DATA(INTEL, PANTHER_LAKE_P_SMBUS, FEATURES_ICH5 | FEATURE_TCO_CNL) }, 1065 1063 { PCI_DEVICE_DATA(INTEL, WILDCAT_LAKE_U_SMBUS, FEATURES_ICH5 | FEATURE_TCO_CNL) }, 1064 + { PCI_DEVICE_DATA(INTEL, NOVA_LAKE_S_SMBUS, FEATURES_ICH5 | FEATURE_TCO_CNL) }, 1066 1065 { 0, } 1067 1066 }; 1068 1067
+1 -1
drivers/i2c/busses/i2c-pxa.c
··· 1266 1266 i2c->use_pio = of_property_read_bool(np, "mrvl,i2c-polling"); 1267 1267 i2c->fast_mode = of_property_read_bool(np, "mrvl,i2c-fast-mode"); 1268 1268 1269 - *i2c_types = (enum pxa_i2c_types)device_get_match_data(&pdev->dev); 1269 + *i2c_types = (kernel_ulong_t)device_get_match_data(&pdev->dev); 1270 1270 1271 1271 return 0; 1272 1272 }
+1 -1
drivers/i2c/busses/i2c-rcar.c
··· 1141 1141 if (IS_ERR(priv->io)) 1142 1142 return PTR_ERR(priv->io); 1143 1143 1144 - priv->devtype = (enum rcar_i2c_type)of_device_get_match_data(dev); 1144 + priv->devtype = (kernel_ulong_t)of_device_get_match_data(dev); 1145 1145 init_waitqueue_head(&priv->wait); 1146 1146 1147 1147 adap = &priv->adap;