[Patch v2 0/4] Introduce drivers/soc and add QCOM GSBI driver

From: Andy Gross
Date: Thu Apr 24 2014 - 12:34:12 EST


The first patch in this set adds the drivers/soc directory and all the necessary
plumbing. These changes were discussed at the kernel summit and also were
introduced in an earlier patch set from Santosh Shilimkar.

Reference the following set of patches:
https://lkml.org/lkml/2014/2/28/567

The remaining patches add the QCOM GSBI (General Serial Bus Interface) driver,
device tree binding information for both the GSBI and child node interaction,
and lastly a patch to fix the current MSM serial driver to work correctly with
the GSBI changes.

Before this patch series, serial drivers (UART, I2C, and SPI) were all directly
accessing the overarching mux control settings for the parent GSBI device. This
leads to unfortunate interactions when you want a UART and I2C device which
share the same GSBI interface. By moving the serial devices to child nodes of
the GSBI, we can get the right mode setting for the ports and keep the children
from accessing the GSBI directly.

Changes from v1:
- Add dt-bindings file containing definitions for MUX values
- Fix code comments
- Removed unnecessary code

Andy Gross (4):
soc: Placeholder files for drivers/soc
soc: qcom: Add device tree binding for GSBI
soc: qcom: Add GSBI driver
tty: serial: msm: Remove direct access to GSBI

.../devicetree/bindings/soc/qcom/qcom,gsbi.txt | 78 ++++++++++++++++++
drivers/Kconfig | 2 +
drivers/Makefile | 4 +
drivers/soc/Kconfig | 5 ++
drivers/soc/Makefile | 5 ++
drivers/soc/qcom/Kconfig | 11 +++
drivers/soc/qcom/Makefile | 1 +
drivers/soc/qcom/qcom_gsbi.c | 84 ++++++++++++++++++++
drivers/tty/serial/msm_serial.c | 48 +----------
drivers/tty/serial/msm_serial.h | 5 --
include/dt-bindings/soc/qcom,gsbi.h | 26 ++++++
11 files changed, 218 insertions(+), 51 deletions(-)
create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,gsbi.txt
create mode 100644 drivers/soc/Kconfig
create mode 100644 drivers/soc/Makefile
create mode 100644 drivers/soc/qcom/Kconfig
create mode 100644 drivers/soc/qcom/Makefile
create mode 100644 drivers/soc/qcom/qcom_gsbi.c
create mode 100644 include/dt-bindings/soc/qcom,gsbi.h

--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/