[PATCH] clk: qcom: Add Global Clock controller (GCC) driver for SDM660

2018-08-10 Thread Craig Tatlor
Add support for the global clock controller found on SDM660 based devices. This should allow most non-multimedia device drivers to probe and control their clocks. Based on CAF implementation. Signed-off-by: Craig Tatlor --- .../devicetree/bindings/clock/qcom,gcc.txt|1 + drivers/clk

[PATCH] soc: qcom: smd-rpm: Add sdm660 compatible

2018-08-11 Thread Craig Tatlor
Add the compatible for the RPM in SDM660, so that rpm resources can be made available. Signed-off-by: Craig Tatlor --- Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt | 1 + drivers/soc/qcom/smd-rpm.c | 1 + 2 files changed, 2 insertions(+) diff

[PATCH] firmware: qcom: scm: Add sdm660 soc compatible

2018-08-11 Thread Craig Tatlor
Add the compatible for SDM660. This does not need clocks to do scm calls Signed-off-by: Craig Tatlor --- Documentation/devicetree/bindings/firmware/qcom,scm.txt | 1 + drivers/firmware/qcom_scm.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Documentation

[PATCH] pinctrl: qcom: Add sdm660 pinctrl driver

2018-08-11 Thread Craig Tatlor
Add initial pinctrl driver to support pin configuration with pinctrl framework for sdm660. Based off CAF implementation. Signed-off-by: Craig Tatlor --- .../bindings/pinctrl/qcom,sdm660-pinctrl.txt | 195 +++ drivers/pinctrl/qcom/Kconfig | 10 + drivers/pinctrl/qcom

[PATCH] arm64: dts: sdm630 SoC and Sony Pioneer (Xperia XA2) support

2018-08-11 Thread Craig Tatlor
kernel tree. The device can be booted into the initrd with a shell over UART. Signed-off-by: Craig Tatlor --- arch/arm64/boot/dts/qcom/Makefile| 1 + arch/arm64/boot/dts/qcom/sdm630-pins.dtsi| 17 + arch/arm64/boot/dts/qcom/sdm630-pioneer.dts | 16 + arch/arm64/boot/dts/qcom

Re: [PATCH] pinctrl: qcom: Add sdm660 pinctrl driver

2018-08-12 Thread Craig Tatlor
On 11 August 2018 18:27:43 BST, Christian Lamparter wrote: >On Saturday, August 11, 2018 6:25:19 PM CEST Craig Tatlor wrote: >> Add initial pinctrl driver to support pin configuration with >> pinctrl framework for sdm660. >> Based off CAF implementation. >> >

Re: [PATCH] pinctrl: qcom: Add sdm660 pinctrl driver

2018-08-12 Thread Craig Tatlor
On 12 August 2018 13:42:27 BST, Christian Lamparter wrote: >On Sunday, August 12, 2018 9:18:19 AM CEST you wrote: >> On 11 August 2018 18:27:43 BST, Christian Lamparter > wrote: >> >On Saturday, August 11, 2018 6:25:19 PM CEST Craig Tatlor wrote: >> >> Add init

[PATCH V2] arm64: dts: sdm630 SoC and Sony Pioneer (Xperia XA2) support

2018-08-12 Thread Craig Tatlor
kernel tree. The device can be booted into the initrd with a shell over UART. Signed-off-by: Craig Tatlor --- Changes from v1: Adds gpio-ranges node to allow gpio-hogs to function arch/arm64/boot/dts/qcom/Makefile| 1 + arch/arm64/boot/dts/qcom/sdm630-pins.dtsi| 17 + arch

[PATCH v2] pinctrl: qcom: Add sdm660 pinctrl driver

2018-08-12 Thread Craig Tatlor
Add initial pinctrl driver to support pin configuration with pinctrl framework for sdm660. Based off CAF implementation. Signed-off-by: Craig Tatlor --- Changes from v1: Adds gpio-ranges property to bindings .../bindings/pinctrl/qcom,sdm660-pinctrl.txt | 202 +++ drivers/pinctrl/qcom

Re: [PATCH v2] pinctrl: qcom: Add sdm660 pinctrl driver

2018-08-13 Thread Craig Tatlor
On 13 August 2018 08:24:43 BST, "Michal Vokáč" wrote: >Hi Craig, >On 12.8.2018 16:24, Craig Tatlor wrote: >> Add initial pinctrl driver to support pin configuration with >> pinctrl framework for sdm660. >> Based off CAF implementation. >> >&

Re: [PATCH v2] pinctrl: qcom: Add sdm660 pinctrl driver

2018-08-13 Thread Craig Tatlor
On 13 August 2018 08:24:43 BST, "Michal Vokáč" wrote: >Hi Craig, >On 12.8.2018 16:24, Craig Tatlor wrote: >> Add initial pinctrl driver to support pin configuration with >> pinctrl framework for sdm660. >> Based off CAF implementation. >> >&

Re: [PATCH] clk: qcom: Add Global Clock controller (GCC) driver for SDM660

2018-08-13 Thread Craig Tatlor
gcc-sdm660.c but changed it quite a bit for upstream, Should I change the commit author and add your signed off by and say I did cleanups on my signed off by. Also, hey, you wrote the original driver :) > >On 8/11/2018 1:51 AM, Craig Tatlor wrote: >> Add support for the global clock co

Re: [PATCH] clk: qcom: Add Global Clock controller (GCC) driver for SDM660

2018-08-13 Thread Craig Tatlor
file. >On 8/11/2018 1:51 AM, Craig Tatlor wrote: >> Add support for the global clock controller found on SDM660 >> based devices. This should allow most non-multimedia device >> drivers to probe and control their clocks. >> Based on CAF implementation. >> >&

[PATCH] arm/dts: Correct typo in touchscreen compatible string

2018-03-12 Thread Craig Tatlor
This was mistakenly pulled from the downstream driver Signed-off-by: Craig Tatlor --- arch/arm/boot/dts/qcom-msm8974-sony-xperia-castor.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-msm8974-sony-xperia-castor.dts b/arch/arm/boot/dts/qcom-msm8974

[PATCH] ARM: dts: msm8974: castor: Correct typo in touchscreen compatible string

2018-03-12 Thread Craig Tatlor
This was mistakenly pulled from the downstream tree. Signed-off-by: Craig Tatlor --- arch/arm/boot/dts/qcom-msm8974-sony-xperia-castor.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-msm8974-sony-xperia-castor.dts b/arch/arm/boot/dts/qcom-msm8974

Re: [v9,04/15] clk: qcom: Add HFPLL driver

2018-03-25 Thread Craig Tatlor
This doesn't seem to work correctly with the higher clocks on 8974pro, specifically 215040 hz or above, maybe its something to do with being bigger than an unsigned long. When i try to set any higher frequency it jumps down to 300mhz.

[PATCH 2/3] dt-bindings: power: supply: qcom_bms: Add bindings

2018-04-07 Thread Craig Tatlor
Add bindings for the Qualcomm battery measurement system. Signed-off-by: Craig Tatlor --- .../bindings/power/supply/qcom_bms.txt| 93 +++ 1 file changed, 93 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/supply/qcom_bms.txt diff --git a

[PATCH 1/3] power: supply: Add support for the Qualcomm Battery Monitoring System

2018-04-07 Thread Craig Tatlor
-by: Craig Tatlor --- drivers/power/supply/Kconfig| 9 + drivers/power/supply/Makefile | 1 + drivers/power/supply/qcom_bms.c | 500 3 files changed, 510 insertions(+) create mode 100644 drivers/power/supply/qcom_bms.c diff --git a/drivers/power/supply

[PATCH 3/3] MAINTAINERS: Add entry for the Qualcomm BMS

2018-04-07 Thread Craig Tatlor
Signed-off-by: Craig Tatlor --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 0c3ad62c638c..b7ffa9268384 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -11605,6 +11605,12 @@ W: http://wireless.kernel.org/en/users/Drivers/ath9k S

[PATCH v2 1/3] power: supply: Add support for the Qualcomm Battery Monitoring System

2018-04-07 Thread Craig Tatlor
-by: Craig Tatlor --- drivers/power/supply/Kconfig| 9 + drivers/power/supply/Makefile | 1 + drivers/power/supply/qcom_bms.c | 500 3 files changed, 510 insertions(+) create mode 100644 drivers/power/supply/qcom_bms.c diff --git a/drivers/power/supply

[PATCH v3 1/3] power: supply: Add support for the Qualcomm Battery Monitoring System

2018-04-07 Thread Craig Tatlor
-by: Craig Tatlor --- drivers/power/supply/Kconfig| 9 + drivers/power/supply/Makefile | 1 + drivers/power/supply/qcom_bms.c | 500 3 files changed, 510 insertions(+) create mode 100644 drivers/power/supply/qcom_bms.c diff --git a/drivers/power/supply

[PATCH v3 2/3] dt-bindings: power: supply: qcom_bms: Add bindings

2018-04-07 Thread Craig Tatlor
Add bindings for the Qualcomm Battery Monitoring system. Signed-off-by: Craig Tatlor --- .../bindings/power/supply/qcom_bms.txt| 93 +++ 1 file changed, 93 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/supply/qcom_bms.txt diff --git a

[PATCH v3 3/3] MAINTAINERS: Add entry for the Qualcomm BMS

2018-04-07 Thread Craig Tatlor
Signed-off-by: Craig Tatlor --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 0c3ad62c638c..aaf54b665f86 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -11605,6 +11605,12 @@ W: http://wireless.kernel.org/en/users/Drivers/ath9k S

Re: [PATCH v3 1/3] power: supply: Add support for the Qualcomm Battery Monitoring System

2018-04-07 Thread Craig Tatlor
On Sat, Apr 07, 2018 at 09:37:21AM -0700, Randy Dunlap wrote: > On 04/07/2018 06:59 AM, Craig Tatlor wrote: > > This patch adds a driver for the BMS (Battery Monitoring System) > > block of the PM8941 PMIC, it uses a lookup table defined in the > > device tree to generate a

[PATCH v4 1/3] power: supply: Add support for the Qualcomm Battery Monitoring System

2018-04-07 Thread Craig Tatlor
-by: Craig Tatlor --- drivers/power/supply/Kconfig| 9 + drivers/power/supply/Makefile | 1 + drivers/power/supply/qcom_bms.c | 500 3 files changed, 510 insertions(+) create mode 100644 drivers/power/supply/qcom_bms.c diff --git a/drivers/power/supply

[PATCH v4 2/3] dt-bindings: power: supply: qcom_bms: Add bindings

2018-04-07 Thread Craig Tatlor
Add bindings for the Qualcomm Battery Monitoring system. Signed-off-by: Craig Tatlor --- .../bindings/power/supply/qcom_bms.txt| 93 +++ 1 file changed, 93 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/supply/qcom_bms.txt diff --git a

[PATCH v4 3/3] MAINTAINERS: Add entry for the Qualcomm BMS

2018-04-07 Thread Craig Tatlor
Signed-off-by: Craig Tatlor --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 0c3ad62c638c..aaf54b665f86 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -11605,6 +11605,12 @@ W: http://wireless.kernel.org/en/users/Drivers/ath9k S

[PATCH v2] ARM: dts: msm8974: castor: Fix typo and add startup delay in touchscreen node

2018-03-13 Thread Craig Tatlor
The compatible string was mistakenly pulled from the downstream tree and the startup delay property is needed to prevent io errors on initial page select. Signed-off-by: Craig Tatlor --- arch/arm/boot/dts/qcom-msm8974-sony-xperia-castor.dts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion

[PATCH v4 1/2] pinctrl: qcom: Add sdm660 pinctrl driver

2018-09-26 Thread Craig Tatlor
upstreaming, updated tile handling] Signed-off-by: Craig Tatlor Reviewed-by: Bjorn Andersson --- Changes from v3: none drivers/pinctrl/qcom/Kconfig |9 + drivers/pinctrl/qcom/Makefile |1 + drivers/pinctrl/qcom/pinctrl-sdm660.c | 1455 + 3 files

[PATCH v4 2/2] dt-bindings: pinctrl: qcom: Add SDM660 pinctrl binding

2018-09-26 Thread Craig Tatlor
Add the binding for the TLMM pinctrl block found in the SDM660 platform. Signed-off-by: Craig Tatlor --- Changes from v3: Updated for tile structure change irq field .../bindings/pinctrl/qcom,sdm660-pinctrl.txt | 181 ++ 1 file changed, 181 insertions(+) create mode

Re: [PATCH V2] arm64: dts: sdm630 SoC and Sony Pioneer (Xperia XA2) support

2018-11-12 Thread Craig Tatlor
On Mon, Nov 12, 2018 at 04:34:50PM +0100, Heiko Stuebner wrote: > Hi Craig, > > Am Sonntag, 12. August 2018, 16:23:12 CET schrieb Craig Tatlor: > > Initial device tree support for Qualcomm SDM630 SoC and > > Sony Pioneer (Xperia XA2). > > > > SDM630 is based off

[PATCH] pinctrl: sdm660: Set tile property for pingroups

2018-11-12 Thread Craig Tatlor
This was missed when tiles support was added in a revison and causes the driver to fail to load. Fixes: 9cf0c526bc58 ("pinctrl: qcom: Add sdm660 pinctrl driver") Signed-off-by: Craig Tatlor --- drivers/pinctrl/qcom/pinctrl-sdm660.c | 28 ++- 1 file changed, 15

Re: [PATCH v10 13/14] cpufreq: Add module to register cpufreq on Krait CPUs

2018-06-19 Thread Craig Tatlor
The pvs refuse check is incorrect... With downstream it says it isn't blown and that it is 11, which also happens on upstream if I import it's efuse reading code from an older revision, or comment out the check. Also, I'm still getting my issue about clocks above 2,147,483,647hz however I think th

Re: [PATCH v2 0/2] slimbus: Add QCOM SLIMBus NGD driver

2018-05-31 Thread Craig Tatlor
Tested on msm8974 with wcd9320 codec. Tested-by: Craig Tatlor On Fri, May 25, 2018 at 12:15:45PM +0100, Srinivas Kandagatla wrote: > This patchset adds support to basic version of Qualcomm NGD SLIMBus > controller driver found SoCs from B family. > > This controller is light-we

Re: [PATCH v5 2/4] power: supply: Add support for the Qualcomm Battery Monitoring System

2018-06-13 Thread Craig Tatlor
On Thu, Jun 07, 2018 at 12:08:20PM -0700, Randy Dunlap wrote: > On 06/07/2018 11:12 AM, Craig Tatlor wrote: > > This patch adds a driver for the BMS (Battery Monitoring System) > > block of the PM8941 PMIC, it uses a lookup table defined in the > > device tree to generate a

Re: [PATCH v5 3/4] dt-bindings: power: supply: qcom_bms: Add bindings

2018-06-13 Thread Craig Tatlor
On Mon, Jun 11, 2018 at 12:15:15PM -0600, Rob Herring wrote: > On Thu, Jun 07, 2018 at 07:12:51PM +0100, Craig Tatlor wrote: > > Add bindings for the Qualcomm Battery Monitoring system. > > > > Signed-off-by: Craig Tatlor > > --- > > * Changes from v4: > &g

Re: [PATCH v5 1/4] fixp-arith: add a linear interpolation function

2018-06-13 Thread Craig Tatlor
On Wed, Jun 13, 2018 at 01:12:45PM +0200, Linus Walleij wrote: > On Wed, Jun 13, 2018 at 1:06 PM, Linus Walleij > wrote: > > On Thu, Jun 7, 2018 at 8:12 PM, Craig Tatlor wrote: > > > >> Adds a function to interpolate against two points, > >> this is carried

[PATCH v6 1/4] fixp-arith: add a linear interpolation function

2018-06-13 Thread Craig Tatlor
Adds a function to interpolate against two points, this is carried arount as a helper function by tons of drivers. Signed-off-by: Craig Tatlor --- include/linux/fixp-arith.h | 20 1 file changed, 20 insertions(+) diff --git a/include/linux/fixp-arith.h b/include/linux/fixp

[PATCH v6 2/4] power: supply: Add support for the Qualcomm Battery Monitoring System

2018-06-13 Thread Craig Tatlor
-by: Craig Tatlor --- * Changes from v5: Uses select for REGMAP_SPMI. * Changes from v4: Cleaned up percentage interpolation function, uses new fixp interpolation helper, added some more error cases, uses devm_power_supply_register(), uses a DIV_ROUND_CLOSEST for division and uses

[PATCH v6 3/4] dt-bindings: power: supply: qcom_bms: Add bindings

2018-06-13 Thread Craig Tatlor
Add bindings for the Qualcomm Battery Monitoring system. Signed-off-by: Craig Tatlor --- * Changes from v5: Mentions which values are 8 bit. * Changes from v4: Uses proper units and expands some definitions, along with changing vadc@ to adc@. .../bindings/power/supply/qcom_bms.txt

[PATCH v6 4/4] MAINTAINERS: Add entry for the Qualcomm BMS

2018-06-13 Thread Craig Tatlor
Signed-off-by: Craig Tatlor --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9c125f705f78..be485caf9313 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -11646,6 +11646,12 @@ W: http://wireless.kernel.org/en/users/Drivers/ath9k S

[PATCH v7 1/4] fixp-arith: add a linear interpolation function

2018-06-14 Thread Craig Tatlor
Adds a function to interpolate against two points, this is carried arount as a helper function by tons of drivers. Signed-off-by: Craig Tatlor Reviewed-by: Linus Walleij --- include/linux/fixp-arith.h | 20 1 file changed, 20 insertions(+) diff --git a/include/linux/fixp

[PATCH v7 2/4] power: supply: Add support for the Qualcomm Battery Monitoring System

2018-06-14 Thread Craig Tatlor
-by: Craig Tatlor Reviewed-by: Linus Walleij --- * Changes from v5: Uses select for REGMAP_SPMI

[PATCH v7 3/4] dt-bindings: power: supply: qcom_bms: Add bindings

2018-06-14 Thread Craig Tatlor
Add bindings for the Qualcomm Battery Monitoring system. Signed-off-by: Craig Tatlor Reviewed-by: Rob Herring --- * Changes from v6: s/celcius/celsius change uah to uAh. * Changes from v5

[PATCH v7 4/4] MAINTAINERS: Add entry for the Qualcomm BMS

2018-06-14 Thread Craig Tatlor
Signed-off-by: Craig Tatlor --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9c125f705f78..be485caf9313 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -11646,6 +11646,12 @@ W: http://wireless.kernel.org/en/users/Drivers/ath9k S

Re: [PATCH v4 1/3] power: supply: Add support for the Qualcomm Battery Monitoring System

2018-04-30 Thread Craig Tatlor
Thanks for review, replies inline. On Thu, Apr 26, 2018 at 01:34:00PM +0200, Linus Walleij wrote: > On Sat, Apr 7, 2018 at 7:57 PM, Craig Tatlor wrote: > > Hi Craig! Thanks for your patch! > > > This patch adds a driver for the BMS (Battery Monitoring System) > > bloc

Re: [PATCH V3 0/4] Changes for SDCC5 version

2018-09-24 Thread Craig Tatlor
What socs have you tested this on? On sdm660 it seems to crash device when writing pwr ctl. On Tue, Jun 19, 2018 at 11:09:17AM +0530, Vijay Viswanath wrote: > With SDCC5, the MCI register space got removed and the offset/order of > several registers have changed. Based on SDCC version used and th

[PATCH v2] clk: qcom: Add Global Clock controller (GCC) driver for SDM660

2018-09-25 Thread Craig Tatlor
] Signed-off-by: Craig Tatlor --- .../devicetree/bindings/clock/qcom,gcc.txt|1 + drivers/clk/qcom/Kconfig |9 + drivers/clk/qcom/Makefile |1 + drivers/clk/qcom/gcc-sdm660.c | 2479 + include/dt-bindings/clock

[PATCH v3] clk: qcom: Add Global Clock controller (GCC) driver for SDM660

2018-09-25 Thread Craig Tatlor
] Signed-off-by: Craig Tatlor --- Changes from V1: Change authorship Add sdm630 compatible .../devicetree/bindings/clock/qcom,gcc.txt|1 + drivers/clk/qcom/Kconfig |9 + drivers/clk/qcom/Makefile |1 + drivers/clk/qcom/gcc-sdm660.c

[PATCH v3 2/2] dt-bindings: pinctrl: qcom: Add SDM660 pinctrl binding

2018-09-25 Thread Craig Tatlor
Add the binding for the TLMM pinctrl block found in the SDM660 platform. Signed-off-by: Craig Tatlor --- .../bindings/pinctrl/qcom,sdm660-pinctrl.txt | 181 ++ 1 file changed, 181 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,sdm660

[PATCH v3 1/2] pinctrl: qcom: Add sdm660 pinctrl driver

2018-09-25 Thread Craig Tatlor
upstreaming, updated tile handling] Signed-off-by: Craig Tatlor --- drivers/pinctrl/qcom/Kconfig |9 + drivers/pinctrl/qcom/Makefile |1 + drivers/pinctrl/qcom/pinctrl-sdm660.c | 1455 + 3 files changed, 1465 insertions(+) create mode 100644 drivers/pinctrl

Re: [RFC PATCH v2] irqchip/gic-v3: Add quirk for msm8996 secured registers

2018-09-04 Thread Craig Tatlor
On 4 September 2018 15:05:38 BST, Srinivas Kandagatla wrote: >Access to GICR_WAKER is restricted on msm8996 SoC in Hypervisor. >Its been more than 2 years of wait for this to be fixed, which has >no hopes to be fixed. This change was introduced for the "lead device" >on msm8996 platform. It lo

Re: [PATCH V12 00/14] Krait clocks + Krait CPUfreq

2018-09-07 Thread Craig Tatlor
On 7 September 2018 10:57:34 BST, Sricharan R wrote: >Hi Craig, > > >>> [v12] >>> * Added my signed-off that was missing in some patches. >>> * Added Bjorn's acked that i missed earlier. >>> >> >> Can you give this a try on your 8974 device and check if the >> pvs version reporting, sc

[PATCH v5 1/4] fixp-arith: add a linear interpolation function

2018-06-07 Thread Craig Tatlor
Adds a function to interpolate against two points, this is carried arount as a helper function by tons of drivers. Signed-off-by: Craig Tatlor --- include/linux/fixp-arith.h | 20 1 file changed, 20 insertions(+) diff --git a/include/linux/fixp-arith.h b/include/linux/fixp

[PATCH v5 3/4] dt-bindings: power: supply: qcom_bms: Add bindings

2018-06-07 Thread Craig Tatlor
Add bindings for the Qualcomm Battery Monitoring system. Signed-off-by: Craig Tatlor --- * Changes from v4: Uses proper units and expands some definitions, along with changing vadc@ to adc@. .../bindings/power/supply/qcom_bms.txt| 91 +++ 1 file changed, 91

[PATCH v5 2/4] power: supply: Add support for the Qualcomm Battery Monitoring System

2018-06-07 Thread Craig Tatlor
-by: Craig Tatlor --- * Changes from v4: Cleaned up percentage interpolation function, uses new fixp interpolation helper, added some more error cases, uses devm_power_supply_register(), uses a DIV_ROUND_CLOSEST for division and uses micro(volts / amp hours) instead of milli (volts

[PATCH v5 4/4] MAINTAINERS: Add entry for the Qualcomm BMS

2018-06-07 Thread Craig Tatlor
Signed-off-by: Craig Tatlor --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9c125f705f78..be485caf9313 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -11646,6 +11646,12 @@ W: http://wireless.kernel.org/en/users/Drivers/ath9k S

[PATCH] ARM: dts: qcom: pm8941: Add vadc nodes needed to estimate an ocv

2018-03-30 Thread Craig Tatlor
vbat_sns is needed to estimate a fairly accurate on chip voltage and bat_therm is needed to produce an accurate percentage from the estimated ocv. Signed-off-by: Craig Tatlor --- arch/arm/boot/dts/qcom-pm8941.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/qcom

Re: [PATCH v4 2/3] dt-bindings: power: supply: qcom_bms: Add bindings

2018-04-13 Thread Craig Tatlor
On 13 April 2018 17:35:27 BST, Rob Herring wrote: >On Sat, Apr 07, 2018 at 06:57:45PM +0100, Craig Tatlor wrote: >> Add bindings for the Qualcomm Battery Monitoring system. >> >> Signed-off-by: Craig Tatlor >> --- >> .../bindings/powe

Re: [PATCH v4 2/3] dt-bindings: power: supply: qcom_bms: Add bindings

2018-04-13 Thread Craig Tatlor
On 13 April 2018 18:08:54 BST, Craig Tatlor wrote: > > >On 13 April 2018 17:35:27 BST, Rob Herring wrote: >>On Sat, Apr 07, 2018 at 06:57:45PM +0100, Craig Tatlor wrote: >>> Add bindings for the Qualcomm Battery Monitoring system. >>> >>> Signed-off-b

Re: [PATCH v4 2/3] dt-bindings: power: supply: qcom_bms: Add bindings

2018-04-15 Thread Craig Tatlor
On Fri, Apr 13, 2018 at 11:35:27AM -0500, Rob Herring wrote: > On Sat, Apr 07, 2018 at 06:57:45PM +0100, Craig Tatlor wrote: > > Add bindings for the Qualcomm Battery Monitoring system. > > > > Signed-off-by: Craig Tatlor > > --- > > .../bindings/powe

[PATCH] drm/msm: Call msm_init_vram before binding the gpu

2018-02-03 Thread Craig Tatlor
vram.size is needed when binding a gpu without an iommu and is defined in msm_init_vram(), so run that before binding it. Signed-off-by: Craig Tatlor --- drivers/gpu/drm/msm/msm_drv.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/msm/msm_drv.c

[PATCH] arm64: dts: qcom: msm8916: Shrink mdp address length for msm8916

2017-10-06 Thread Craig Tatlor
This shrinks the address size down to 89000 from its previous 9 which was mistakenly pulled from downstream. Signed-off-by: Craig Tatlor --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b