From: Andy Gross <agross@codeaurora.org>
To: linux-kernel@vger.kernel.org
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-arm-msm@vger.kernel.org, Kumar Gala <galak@codeaurora.org>,
Santosh Shilimkar <santosh.shilimkar@ti.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Andy Gross <agross@codeaurora.org>
Subject: [Patch v2 0/4] Introduce drivers/soc and add QCOM GSBI driver
Date: Thu, 24 Apr 2014 11:31:18 -0500 [thread overview]
Message-ID: <1398357082-5102-1-git-send-email-agross@codeaurora.org> (raw)
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
next reply other threads:[~2014-04-24 16:32 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-24 16:31 Andy Gross [this message]
2014-04-24 16:31 ` [Patch v2 1/4] soc: Placeholder files for drivers/soc Andy Gross
2014-04-24 16:36 ` Santosh Shilimkar
2014-05-06 17:06 ` Kumar Gala
2014-04-24 16:31 ` [Patch v2 2/4] soc: qcom: Add device tree binding for GSBI Andy Gross
2014-04-24 16:31 ` [Patch v2 3/4] soc: qcom: Add GSBI driver Andy Gross
2014-05-23 18:52 ` Stephen Boyd
2014-04-24 16:31 ` [Patch v2 4/4] tty: serial: msm: Remove direct access to GSBI Andy Gross
2014-05-29 15:14 ` Kumar Gala
[not found] ` <A56B810D-869A-4E4F-BC29-C9B0F6CDCE79-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2014-05-29 15:43 ` Greg Kroah-Hartman
2014-05-29 16:05 ` Kumar Gala
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1398357082-5102-1-git-send-email-agross@codeaurora.org \
--to=agross@codeaurora.org \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=santosh.shilimkar@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).