Merge branches 'ib-mfd-4.19', 'ib-mfd-gpio-pinctrl-4.19', 'ib-mfd-i915-media-platform...
authorLee Jones <lee.jones@linaro.org>
Fri, 27 Jul 2018 07:11:37 +0000 (08:11 +0100)
committerLee Jones <lee.jones@linaro.org>
Fri, 27 Jul 2018 07:11:37 +0000 (08:11 +0100)
Immutable branch (mfd, chrome) due for the v4.19 window

Immutable Branch which moves the cros_ec_i2c and cros_ec_spi
transport drivers from mfd to platform/chrome. Changes in arm are a simple
rename in defconfigs. Change in input is a rename in help text.

1  2  3  4  5 
MAINTAINERS
drivers/gpio/Kconfig
drivers/gpu/drm/i915/intel_hdmi.c
drivers/mfd/Kconfig
drivers/mfd/Makefile
drivers/mfd/cros_ec_dev.c
drivers/pinctrl/Kconfig
drivers/pinctrl/Makefile
include/linux/mfd/cros_ec_commands.h

diff --cc MAINTAINERS
index 9d5eeff51b5fd32979f64d288375b6489ff25712,fecfbd9e45dfcf9ec2b19ebf2ff5306d34d9a3bb,9d5eeff51b5fd32979f64d288375b6489ff25712,9d5eeff51b5fd32979f64d288375b6489ff25712,07d1576fc766069866471028009a17bf4c281db0..2c1c6aef7d748ba01db22d636b0003679971d2f7
@@@@@@ -4360,12 -4344,11 -4360,12 -4360,12 -4364,7 +4380,7 @@@@@@ L:    iommu@lists.linux-foundation.or
     T: git git://git.infradead.org/users/hch/dma-mapping.git
     W: http://git.infradead.org/users/hch/dma-mapping.git
     S: Supported
---- F: lib/dma-debug.c
---- F: lib/dma-direct.c
- -- F: lib/dma-noncoherent.c
---- F: lib/dma-virt.c
---- F: drivers/base/dma-mapping.c
---- F: drivers/base/dma-coherent.c
++++ F: kernel/dma/
     F: include/asm-generic/dma-mapping.h
     F: include/linux/dma-direct.h
     F: include/linux/dma-mapping.h
@@@@@@ -11800,17 -11670,10 -11800,17 -11800,17 -11814,17 +11830,17 @@@@@@ F:    Documentation/devicetree/bindings/me
     F: Documentation/media/v4l-drivers/qcom_camss.rst
     F: drivers/media/platform/qcom/camss-8x16/
     
 +   QUALCOMM CPUFREQ DRIVER MSM8996/APQ8096
 +   M:  Ilia Lin <ilia.lin@gmail.com>
 +   L:  linux-pm@vger.kernel.org
 +   S:  Maintained
 +   F:  Documentation/devicetree/bindings/opp/kryo-cpufreq.txt
 +   F:  drivers/cpufreq/qcom-cpufreq-kryo.c
 +   
     QUALCOMM EMAC GIGABIT ETHERNET DRIVER
---- M: Timur Tabi <timur@codeaurora.org>
++++ M: Timur Tabi <timur@kernel.org>
     L: netdev@vger.kernel.org
---- S: Supported
++++ S: Maintained
     F: drivers/net/ethernet/qualcomm/emac/
     
     QUALCOMM HEXAGON ARCHITECTURE
Simple merge
Simple merge
Simple merge
index e9fd20dba18d88dc6939c5021c4ed3fb5f020710,4d0dfd065706a398a1fab2fdbb1f1c8814e855ff,e9fd20dba18d88dc6939c5021c4ed3fb5f020710,e9fd20dba18d88dc6939c5021c4ed3fb5f020710,d13e859d7c1ef560a6945f7206125ed5ccf0f0de..2852a6042ecfd8ccea23a129e5dce2555345d64c
@@@@@@ -13,9 -13,10 -13,9 -13,9 -13,7 +13,7 @@@@@@ obj-$(CONFIG_MFD_ASIC3)              += asic3.o tmi
     obj-$(CONFIG_MFD_BCM590XX) += bcm590xx.o
     obj-$(CONFIG_MFD_BD9571MWV)        += bd9571mwv.o
     cros_ec_core-objs          := cros_ec.o
 -   cros_ec_core-$(CONFIG_ACPI)        += cros_ec_acpi_gpe.o
     obj-$(CONFIG_MFD_CROS_EC)  += cros_ec_core.o
---- obj-$(CONFIG_MFD_CROS_EC_I2C)      += cros_ec_i2c.o
---- obj-$(CONFIG_MFD_CROS_EC_SPI)      += cros_ec_spi.o
     obj-$(CONFIG_MFD_CROS_EC_CHARDEV) += cros_ec_dev.o
     obj-$(CONFIG_MFD_EXYNOS_LPASS)     += exynos-lpass.o
     
index 1dd00337d903354b94238d2de856470c74f92312,eafd06f62a3afb492e1c2ec64526d591703a3a31,1e2049f7229e0d06d4f262a962db399814f24169,306e1fd109bdd8d3724e4ff2070d7c457aef20bb,306e1fd109bdd8d3724e4ff2070d7c457aef20bb..5502bccd69ffe8159ccec6f81793e56a53bd9192
        kfree(msg);
     }
     
++ ++static const struct mfd_cell cros_ec_cec_cells[] = {
++ ++   { .name = "cros-ec-cec" }
++ ++};
++ ++
 +   static const struct mfd_cell cros_ec_rtc_cells[] = {
 +      { .name = "cros-ec-rtc" }
 +   };
 +   
 ++++static const struct mfd_cell cros_usbpd_charger_cells[] = {
 ++++   { .name = "cros-usbpd-charger" }
 ++++};
 ++++
     static int ec_device_probe(struct platform_device *pdev)
     {
        int retval = -ENOMEM;
        if (cros_ec_check_features(ec, EC_FEATURE_MOTION_SENSE))
                cros_ec_sensors_register(ec);
     
++ ++   /* Check whether this EC instance has CEC host command support */
++ ++   if (cros_ec_check_features(ec, EC_FEATURE_CEC)) {
++ ++           retval = mfd_add_devices(ec->dev, PLATFORM_DEVID_AUTO,
++ ++                                    cros_ec_cec_cells,
++ ++                                    ARRAY_SIZE(cros_ec_cec_cells),
++ ++                                    NULL, 0, NULL);
++ ++           if (retval)
++ ++                   dev_err(ec->dev,
++ ++                           "failed to add cros-ec-cec device: %d\n",
++ ++                           retval);
++ ++   }
++ ++
 +      /* Check whether this EC instance has RTC host command support */
 +      if (cros_ec_check_features(ec, EC_FEATURE_RTC)) {
 +              retval = mfd_add_devices(ec->dev, PLATFORM_DEVID_AUTO,
 +                                       cros_ec_rtc_cells,
 +                                       ARRAY_SIZE(cros_ec_rtc_cells),
 +                                       NULL, 0, NULL);
 +              if (retval)
 +                      dev_err(ec->dev,
 +                              "failed to add cros-ec-rtc device: %d\n",
 +                              retval);
 +      }
 +   
 ++++   /* Check whether this EC instance has the PD charge manager */
 ++++   if (cros_ec_check_features(ec, EC_FEATURE_USB_PD)) {
 ++++           retval = mfd_add_devices(ec->dev, PLATFORM_DEVID_AUTO,
 ++++                                    cros_usbpd_charger_cells,
 ++++                                    ARRAY_SIZE(cros_usbpd_charger_cells),
 ++++                                    NULL, 0, NULL);
 ++++           if (retval)
 ++++                   dev_err(ec->dev,
 ++++                           "failed to add cros-usbpd-charger device: %d\n",
 ++++                           retval);
 ++++   }
 ++++
        /* Take control of the lightbar from the EC. */
        lb_manual_suspend_ctrl(ec, 1);
     
Simple merge
Simple merge
Simple merge