Bjorn Andersson | 29 Jul 03:37 2015

[PATCH 1/2] drm/panel: Add Sharp LS043T1LE01 panel binding documentation

From: Werner Johansson <werner.johansson <at> sonymobile.com>

Signed-off-by: Werner Johansson <werner.johansson <at> sonymobile.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson <at> sonymobile.com>
---
 .../bindings/panel/sharp,ls043t1le01.txt           | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/panel/sharp,ls043t1le01.txt

diff --git a/Documentation/devicetree/bindings/panel/sharp,ls043t1le01.txt b/Documentation/devicetree/bindings/panel/sharp,ls043t1le01.txt
new file mode 100644
index 000000000000..758d48d33e46
--- /dev/null
+++ b/Documentation/devicetree/bindings/panel/sharp,ls043t1le01.txt
 <at>  <at>  -0,0 +1,22  <at>  <at> 
+Sharp Microelectronics 4.3" qHD TFT LCD panel
+
+Required properties:
+- compatible: should be "sharp,ls043t1le01-qhd-vid"
+- reg: DSI virtual channel of the peripheral
+- power-supply: phandle of the regulator that provides the supply voltage
+
+Optional properties:
+- backlight: phandle of the backlight device attached to the panel
+- reset-gpios: a GPIO spec for the reset pin
+
+Example:
+
+	mdss_dsi0: qcom,mdss_dsi <at> fd922800 {
+		panel: panel <at> 0 {
(Continue reading)

Cassidy Burden | 28 Jul 21:09 2015

[PATCH] lib: Make _find_next_bit helper function inline

I've tested Yury Norov's find_bit reimplementation with the test_find_bit
module (https://lkml.org/lkml/2015/3/8/141) and measured about 35-40%
performance degradation on arm64 3.18 run with fixed CPU frequency.

The performance degradation appears to be caused by the
helper function _find_next_bit. After inlining this function into
find_next_bit and find_next_zero_bit I get slightly better performance
than the old implementation:

find_next_zero_bit          find_next_bit
old      new     inline     old      new     inline
26       36      24         24       33      23
25       36      24         24       33      23
26       36      24         24       33      23
25       36      24         24       33      23
25       36      24         24       33      23
25       37      24         24       33      23
25       37      24         24       33      23
25       37      24         24       33      23
25       36      24         24       33      23
25       37      24         24       33      23

Signed-off-by: Cassidy Burden <cburden <at> codeaurora.org>
Cc: Alexey Klimov <klimov.linux <at> gmail.com>
Cc: David S. Miller <davem <at> davemloft.net>
Cc: Daniel Borkmann <dborkman <at> redhat.com>
Cc: Hannes Frederic Sowa <hannes <at> stressinduktion.org>
Cc: Lai Jiangshan <laijs <at> cn.fujitsu.com>
Cc: Mark Salter <msalter <at> redhat.com>
Cc: AKASHI Takahiro <takahiro.akashi <at> linaro.org>
(Continue reading)

Rajendra Nayak | 28 Jul 11:33 2015

[PATCH v7 00/13] qcom: Add support for GDSCs

GDSCs (Global Distributed Switch Controllers) control switches
that supply power to an on-chip power domain and hence can be
programmed in SW to safely power collapse and restore power to the
respective PDs. They are part of a considerable number of recent QCOM
SoCs (This series adds support for msm8974, msm8916 and apq8084 devices)
and are part of the Clock control block.

The series implements support for GDSC using the genpd framework
modelling these as SW controllable power domains and uses PM clocks
to control clocks within the gdsc.

* Client drivers which plan to use GDSC can refer to
  Documentation/devicetree/bindings/power/power_domain.txt to know
  how to hook up the power domain for the device through DT
* Runtime PM specific documentation can be found in
  Documentation/power/runtime_pm.txt
* Patches are based of 4.2-rc4

Tested with and without CONFIG_PM on db8074, IFC6540 and
db410c (arm64)

Changes since v6:
* removed hardcoded con_ids, now part of gdsc struct
* other minor review fixes

Changes since v5:
* Added support to manage clocks with !CONFIG_PM
* Added RET/OFF support
* Added support to assert/deassert reset while the GDSC is ON

(Continue reading)

Srinivas Kandagatla | 28 Jul 10:11 2015

[PATCH v2 0/3] DT: APQ8064 remove mmc fixed regulators.

Hi Andy, 

This patchset removes the fixed regulators with real regulators
on IFC6410 and QS600 board.

This patchset is based on qcom/dt branch.

Thanks,
srini

Srinivas Kandagatla (3):
  ARM: dts: apq8064: remove temporary fixed regulator for mmc
  ARM: dts: ifc6410: add real regulators for sdcc nodes.
  ARM: dts: qs600: Add real regulators to sdcc

 arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 20 ++++++++++++++++++++
 arch/arm/boot/dts/qcom-apq8064-ifc6410.dts  | 27 +++++++++++++++++++++++++++
 arch/arm/boot/dts/qcom-apq8064.dtsi         | 12 ------------
 3 files changed, 47 insertions(+), 12 deletions(-)

--

-- 
1.9.1

Ivan T. Ivanov | 28 Jul 10:10 2015

[PATCH v2] usb: phy: msm: Add D+/D- lines route control

apq8016-sbc board is using Dual SPDT USB Switch (TC7USB40MU),
witch is controlled by GPIO to de/multiplex D+/D- USB lines to
USB2513B Hub and uB connector. Add support for this.

Signed-off-by: Ivan T. Ivanov <ivan.ivanov <at> linaro.org>
---

* Rebased on current testing/next.

 .../devicetree/bindings/usb/msm-hsusb.txt          |  4 ++
 drivers/usb/phy/phy-msm-usb.c                      | 47 ++++++++++++++++++++++
 include/linux/usb/msm_hsusb.h                      |  7 ++++
 3 files changed, 58 insertions(+)

diff --git a/Documentation/devicetree/bindings/usb/msm-hsusb.txt b/Documentation/devicetree/bindings/usb/msm-hsusb.txt
index bd8d9e7..8654a3e 100644
--- a/Documentation/devicetree/bindings/usb/msm-hsusb.txt
+++ b/Documentation/devicetree/bindings/usb/msm-hsusb.txt
 <at>  <at>  -52,6 +52,10  <at>  <at>  Required properties:
 Optional properties:
 - dr_mode:      One of "host", "peripheral" or "otg". Defaults to "otg"

+- switch-gpio:  A phandle + gpio-specifier pair. Some boards are using Dual
+                SPDT USB Switch, witch is cotrolled by GPIO to de/multiplex
+                D+/D- USB lines between connectors.
+
 - qcom,phy-init-sequence: PHY configuration sequence values. This is related to Device
                 Mode Eye Diagram test. Start address at which these values will be
                 written is ULPI_EXT_VENDOR_SPECIFIC. Value of -1 is reserved as
diff --git a/drivers/usb/phy/phy-msm-usb.c b/drivers/usb/phy/phy-msm-usb.c
(Continue reading)

Bjorn Andersson | 28 Jul 05:20 2015

[PATCH v3 0/5] Qualcomm Shared Memory & RPM drivers

The third iteration of the patches to add support for the regulators provided
by the RPM on family B Qualcomm devices.

This depends on the SMEM implementation that Andy already picked up.

Changes since v2:
- Made smd copy functions work on words for the word access channels
- Corrected access of smem items from secure heap
- Updated error handling path in RPM driver
- Moved init of smd to postcore and rpm to arch
- Minor nits from Georgi on the SMD code
- Moved rpm driver from mfd to soc

Bjorn Andersson (5):
  soc: qcom: Add device tree binding for Shared Memory Device
  soc: qcom: Add Shared Memory Driver
  devicetree: soc: Add Qualcomm SMD based RPM DT binding
  soc: qcom: Driver for the Qualcomm RPM over SMD
  regulator: Regulator driver for the Qualcomm RPM

 .../devicetree/bindings/soc/qcom,smd-rpm.txt       |  117 ++
 .../devicetree/bindings/soc/qcom/qcom,smd.txt      |   79 ++
 drivers/regulator/Kconfig                          |   12 +
 drivers/regulator/Makefile                         |    1 +
 drivers/regulator/qcom_smd-regulator.c             |  349 ++++++
 drivers/soc/qcom/Kconfig                           |   22 +
 drivers/soc/qcom/Makefile                          |    2 +
 drivers/soc/qcom/smd-rpm.c                         |  244 ++++
 drivers/soc/qcom/smd.c                             | 1319 ++++++++++++++++++++
 include/linux/soc/qcom/smd-rpm.h                   |   35 +
(Continue reading)

Jilai Wang | 28 Jul 00:57 2015

[PATCH 1/2] drm/doc: Add hflip/vflip property descriptions in msm

Add plane properties hflip/vflip which are used in MDP driver to flip
the input horizontally/vertically.

Signed-off-by: Jilai Wang <jilaiw <at> codeaurora.org>
---
 Documentation/DocBook/drm.tmpl | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

diff --git a/Documentation/DocBook/drm.tmpl b/Documentation/DocBook/drm.tmpl
index d9f5613..bef6d34 100644
--- a/Documentation/DocBook/drm.tmpl
+++ b/Documentation/DocBook/drm.tmpl
 <at>  <at>  -3501,8 +3501,8  <at>  <at>  void intel_crt_init(struct drm_device *dev)
 	<td valign="top" >TBD</td>
 	</tr>
 	<tr>
-	<td rowspan="3" valign="top" >msm</td>
-	<td rowspan="3" valign="top" >Generic</td>
+	<td rowspan="5" valign="top" >msm</td>
+	<td rowspan="5" valign="top" >Generic</td>
 	<td valign="top" >"premultiplied"</td>
 	<td valign="top" >ENUM</td>
 	<td valign="top" >{ "false", "true" }</td>
 <at>  <at>  -3523,6 +3523,20  <at>  <at>  void intel_crt_init(struct drm_device *dev)
 	<td valign="top" >Plane</td>
 	<td valign="top" >property to set plane's z position during blending</td>
 	</tr>
+	<tr>
+	<td valign="top" >"hflip"</td>
+	<td valign="top" >ENUM</td>
(Continue reading)

Archit Taneja | 27 Jul 08:16 2015

[PATCH 0/5] drm/i2c: adv7511: ADV7533 support

ADV7533 is a DSI to HDMI encoder chip. It's like ADV7511, but with an
additional DSI RX block that takes in DSI video mode output.

This series adds support for ADV7533. Unlike ADV7511 that's modelled as
a drm i2c slave encoder, ADV7533 is a drm_bridge object. The bridge ops
further create a HDMI type connector device for the chip's output.

In order to pass DSI specific parameters to the host, the driver creates
a dummy DSI device, which it registers to a DSI host as specified via DT.

The first patch in the series is a minor fix, the rest add ADV7533
support. They depend on the series I posted sometime back:

"drm/dsi: DSI for devices with different control bus"
https://lkml.org/lkml/2015/6/30/42

Archit Taneja (4):
  drm/i2c: adv7511: Fix mutex deadlock when interrupts are disabled
  drm/i2c: adv7511: Refactor encoder slave functions
  drm/i2c: adv7511: Add drm_bridge/connector for ADV7533
  drm/i2c: adv7511: Create mipi_dsi_device for ADV7533

Lars-Peter Clausen (1):
  drm/i2c: adv7511: Initial support for adv7533

 drivers/gpu/drm/i2c/adv7511.c | 486 +++++++++++++++++++++++++++++++++++++-----
 1 file changed, 437 insertions(+), 49 deletions(-)

--

-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
(Continue reading)

Georgi Djakov | 24 Jul 18:58 2015

[PATCH v2 0/5] Add support for Qualcomm A53 CPU clock

This patchset adds support for the A53 CPU clock and allows scaling
of the CPU frequency on msm8916 based platforms.

Changes since v1 (https://lkml.org/lkml/2015/6/12/193)
 * Drop SR2 PLL patch, as it is already applied.
 * Add gpll0_vote rate propagation patch.
 * Update/rebase patches to the current clk-next.

Georgi Djakov (4):
  clk: qcom: Enable gpll0_vote rate propagation on MSM8916
  clk: qcom: Add support for regmap mux-div clocks
  clk: qcom: Add A53 clock driver
  arm64: dts: qcom: msm8916: Add A53 DT node

Stephen Boyd (1):
  clk: Add safe switch hook

 Documentation/devicetree/bindings/clock/qcom,a53cc |   25 ++
 arch/arm64/boot/dts/qcom/msm8916.dtsi              |   12 +
 drivers/clk/clk.c                                  |   73 ++++-
 drivers/clk/qcom/Kconfig                           |    8 +
 drivers/clk/qcom/Makefile                          |    2 +
 drivers/clk/qcom/clk-a53.c                         |  202 ++++++++++++++
 drivers/clk/qcom/clk-regmap-mux-div.c              |  291 ++++++++++++++++++++
 drivers/clk/qcom/clk-regmap-mux-div.h              |   63 +++++
 drivers/clk/qcom/gcc-msm8916.c                     |    1 +
 include/linux/clk-provider.h                       |    2 +
 10 files changed, 674 insertions(+), 5 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/clock/qcom,a53cc
 create mode 100644 drivers/clk/qcom/clk-a53.c
(Continue reading)

Bjorn Andersson | 23 Jul 21:52 2015

[PATCH] backlight: pm8941-wled: Add default-brightness property

Add the possibility of specifying the default brightness in DT.

Signed-off-by: Bjorn Andersson <bjorn.andersson <at> sonymobile.com>
---

This depends on the patch moving pm8941-wled to backlight [1]. The dt property
is used by several other backlight drivers, so I considered this to be a
"common" property and it's hence not prefixed with "qcom,".

[1] https://lkml.org/lkml/2015/7/21/906

 Documentation/devicetree/bindings/video/backlight/pm8941-wled.txt | 1 +
 drivers/video/backlight/pm8941-wled.c                             | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/video/backlight/pm8941-wled.txt b/Documentation/devicetree/bindings/video/backlight/pm8941-wled.txt
index 424f8444a6cd..37503f8c3620 100644
--- a/Documentation/devicetree/bindings/video/backlight/pm8941-wled.txt
+++ b/Documentation/devicetree/bindings/video/backlight/pm8941-wled.txt
 <at>  <at>  -5,6 +5,7  <at>  <at>  Required properties:
 - reg: slave address

 Optional properties:
+- default-brightness: value from: 0-4095
 - label: The name of the backlight device
 - qcom,cs-out: bool; enable current sink output
 - qcom,cabc: bool; enable content adaptive backlight control
diff --git a/drivers/video/backlight/pm8941-wled.c b/drivers/video/backlight/pm8941-wled.c
index c704c3236034..b875e58df0fc 100644
--- a/drivers/video/backlight/pm8941-wled.c
(Continue reading)

Rob Clark | 23 Jul 19:44 2015
Picon

[PATCH] drm/msm: fix msm_gem_prime_get_sg_table()

We need to return a new sgt, since the caller takes ownership of it.

Reported-by: Stanimir Varbanov <svarbanov <at> mm-sol.com>
Signed-off-by: Rob Clark <robdclark <at> gmail.com>
---
 drivers/gpu/drm/msm/msm_gem_prime.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/msm/msm_gem_prime.c b/drivers/gpu/drm/msm/msm_gem_prime.c
index dd7a7ab..831461b 100644
--- a/drivers/gpu/drm/msm/msm_gem_prime.c
+++ b/drivers/gpu/drm/msm/msm_gem_prime.c
 <at>  <at>  -23,8 +23,12  <at>  <at> 
 struct sg_table *msm_gem_prime_get_sg_table(struct drm_gem_object *obj)
 {
 	struct msm_gem_object *msm_obj = to_msm_bo(obj);
-	BUG_ON(!msm_obj->sgt);  /* should have already pinned! */
-	return msm_obj->sgt;
+	int npages = obj->size >> PAGE_SHIFT;
+
+	if (WARN_ON(!msm_obj->pages))  /* should have already pinned! */
+		return NULL;
+
+	return drm_prime_pages_to_sg(msm_obj->pages, npages);
 }

 void *msm_gem_prime_vmap(struct drm_gem_object *obj)
--

-- 
2.4.3

(Continue reading)


Gmane