Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'extcon-next-for-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/extcon into char-misc-next

Chanwoo writes:

Update extcon next for v6.6

Detailed description for this pull request:
- Remove unused deprecated exported function
: extcon_register_interest/extcon_unregister_interest are replaced with
extcon_register_notifier/extcon_unregister_notifier.

- Add missing property for extcon max77843 / sm5502 devicectree binding doc
: max77843 / sm5502 extcon driver uses the 'schemas/connector/usb-connector.yaml'
for device binding. So add the missing property information.

- Add mising POWER_SUPPLY config depencenty to extcon-intel-cht-wc.c in order to
remove build error.

* tag 'extcon-next-for-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/extcon:
extcon: cht_wc: add POWER_SUPPLY dependency
dt-bindings: extcon: siliconmitus,sm5502-muic: document connector
dt-bindings: extcon: maxim,max77843: restrict connector properties
extcon: Remove unused inline functions

+6 -12
+1
Documentation/devicetree/bindings/extcon/maxim,max77843.yaml
··· 23 23 24 24 connector: 25 25 $ref: /schemas/connector/usb-connector.yaml# 26 + unevaluatedProperties: false 26 27 27 28 ports: 28 29 $ref: /schemas/graph.yaml#/properties/ports
+4
Documentation/devicetree/bindings/extcon/siliconmitus,sm5502-muic.yaml
··· 27 27 description: I2C slave address of the device. Usually 0x25 for SM5502 28 28 and SM5703, 0x14 for SM5504. 29 29 30 + connector: 31 + $ref: /schemas/connector/usb-connector.yaml# 32 + unevaluatedProperties: false 33 + 30 34 interrupts: 31 35 maxItems: 1 32 36
+1
drivers/extcon/Kconfig
··· 62 62 tristate "Intel Cherrytrail Whiskey Cove PMIC extcon driver" 63 63 depends on INTEL_SOC_PMIC_CHTWC 64 64 depends on USB_SUPPORT 65 + depends on POWER_SUPPLY 65 66 select USB_ROLE_SWITCH 66 67 help 67 68 Say Y here to enable extcon support for charger detection / control
-12
include/linux/extcon.h
··· 328 328 struct extcon_dev *edev; 329 329 unsigned long previous_value; 330 330 }; 331 - 332 - static inline int extcon_register_interest(struct extcon_specific_cable_nb *obj, 333 - const char *extcon_name, const char *cable_name, 334 - struct notifier_block *nb) 335 - { 336 - return -EINVAL; 337 - } 338 - 339 - static inline int extcon_unregister_interest(struct extcon_specific_cable_nb *obj) 340 - { 341 - return -EINVAL; 342 - } 343 331 #endif /* __LINUX_EXTCON_H__ */