RE: warning: objtool: fn1 uses BP as a scratch register

2019-07-22 Thread Topper, Craig
The framepointer thing may have been fixed by this https://reviews.llvm.org/D64294 -Original Message- From: Arnd Bergmann Sent: Friday, July 19, 2019 12:44 PM To: Nick Desaulniers Cc: Josh Poimboeuf ; clang-built-linux ; Linux Kernel Mailing List ; Peter Zijlstra ; Topper, Craig

Re: [PATCH bpf v2] bpf, lpm: fix lookup bug in map_delete_elem

2019-02-22 Thread Craig Gallek
udo ./tools/testing/selftests/bpf/test_lpm_map > test_lpm_map: test_lpm_map.c:485: test_lpm_delete: Assertion > `bpf_map_delete_elem(map_fd, key) == -1 && errno == ENOENT' failed. > Aborted > > With the patch: test_lpm_map runs without errors. > > Fixes: e454cf595

[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

[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 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

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

Re: Insanely high baud rates

2018-10-11 Thread Craig Milo Rogers
dth limitation layer? You say, I need to justify it? It's for, uh... protecting the system from unrestricted pty usage DOS attacks! Yeah. That's what it's for. Craig Milo Rogers

Re: Insanely high baud rates

2018-10-11 Thread Craig Milo Rogers
dth limitation layer? You say, I need to justify it? It's for, uh... protecting the system from unrestricted pty usage DOS attacks! Yeah. That's what it's for. Craig Milo Rogers

[PATCH] staging: vboxvideo: make a couple of funcs static

2018-10-10 Thread Craig Kewley
-by: Craig Kewley --- drivers/staging/vboxvideo/vbox_mode.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/vboxvideo/vbox_mode.c b/drivers/staging/vboxvideo/vbox_mode.c index 042e4f384df9..deed28c7a1db 100644 --- a/drivers/staging/vboxvideo/vbox_mode.c +++ b

[PATCH] staging: vboxvideo: make a couple of funcs static

2018-10-10 Thread Craig Kewley
-by: Craig Kewley --- drivers/staging/vboxvideo/vbox_mode.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/vboxvideo/vbox_mode.c b/drivers/staging/vboxvideo/vbox_mode.c index 042e4f384df9..deed28c7a1db 100644 --- a/drivers/staging/vboxvideo/vbox_mode.c +++ b

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

2018-10-09 Thread Craig
On 9 October 2018 07:01:57 BST, Veerabhadrarao Badiganti wrote: >Hi > > >On 10/8/2018 12:26 PM, Bjorn Andersson wrote: >> On Sun 07 Oct 01:07 PDT 2018, Craig wrote: >> >>> Any updates on this? >>> >> FWIW I used qcom,sdhci-msm-v5 on QCS404 s

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

2018-10-09 Thread Craig
On 9 October 2018 07:01:57 BST, Veerabhadrarao Badiganti wrote: >Hi > > >On 10/8/2018 12:26 PM, Bjorn Andersson wrote: >> On Sun 07 Oct 01:07 PDT 2018, Craig wrote: >> >>> Any updates on this? >>> >> FWIW I used qcom,sdhci-msm-v5 on QCS404 s

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

2018-10-08 Thread Craig
(Resend due to broken email client) any reviews for this? On 25 September 2018 18:35:58 BST, Craig Tatlor wrote: >From: Taniya Das > >Add support for the global clock controller found on SDM660 >based devices. This should allow most non-multimedia device >drivers to pr

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

2018-10-08 Thread Craig
(Resend due to broken email client) any reviews for this? On 25 September 2018 18:35:58 BST, Craig Tatlor wrote: >From: Taniya Das > >Add support for the global clock controller found on SDM660 >based devices. This should allow most non-multimedia device >drivers to pr

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

2018-10-07 Thread Craig
Any updates on this? On 25 September 2018 16:39:33 BST, Craig wrote: > > >On 25 September 2018 12:17:26 BST, Veerabhadrarao Badiganti > wrote: >> >>On 9/25/2018 1:18 AM, Craig Tatlor wrote: >>> What socs have you tested this on? >>> On sdm660 it seem

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

2018-10-07 Thread Craig
Any updates on this? On 25 September 2018 16:39:33 BST, Craig wrote: > > >On 25 September 2018 12:17:26 BST, Veerabhadrarao Badiganti > wrote: >> >>On 9/25/2018 1:18 AM, Craig Tatlor wrote: >>> What socs have you tested this on? >>> On sdm660 it seem

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

2018-09-26 Thread Craig
Hey, You seem to have missed the bindings, it might be an idea to drop and reapply with the new ones I just sent off when they get a review. On 26 September 2018 07:57:41 BST, Linus Walleij wrote: >On Tue, Sep 25, 2018 at 7:38 PM Craig Tatlor >wrote: > >> From: Neeraj Upad

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

2018-09-26 Thread Craig
Hey, You seem to have missed the bindings, it might be an idea to drop and reapply with the new ones I just sent off when they get a review. On 26 September 2018 07:57:41 BST, Linus Walleij wrote: >On Tue, Sep 25, 2018 at 7:38 PM Craig Tatlor >wrote: > >> From: Neeraj Upad

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

2018-09-26 Thread Craig Tatlor
From: Neeraj Upadhyay Add initial pinctrl driver to support pin configuration with pinctrl framework for sdm660. Based off CAF implementation. Signed-off-by: Neeraj Upadhyay Co-Developed-by: Venkatesh Yadav Abbarapu Signed-off-by: Venkatesh Yadav Abbarapu [craig: minor updates

[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

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

2018-09-26 Thread Craig Tatlor
From: Neeraj Upadhyay Add initial pinctrl driver to support pin configuration with pinctrl framework for sdm660. Based off CAF implementation. Signed-off-by: Neeraj Upadhyay Co-Developed-by: Venkatesh Yadav Abbarapu Signed-off-by: Venkatesh Yadav Abbarapu [craig: minor updates

[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

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

2018-09-25 Thread Craig Tatlor
From: Neeraj Upadhyay Add initial pinctrl driver to support pin configuration with pinctrl framework for sdm660. Based off CAF implementation. Signed-off-by: Neeraj Upadhyay Co-Developed-by: Venkatesh Yadav Abbarapu Signed-off-by: Venkatesh Yadav Abbarapu [craig: minor updates

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

2018-09-25 Thread Craig Tatlor
From: Neeraj Upadhyay Add initial pinctrl driver to support pin configuration with pinctrl framework for sdm660. Based off CAF implementation. Signed-off-by: Neeraj Upadhyay Co-Developed-by: Venkatesh Yadav Abbarapu Signed-off-by: Venkatesh Yadav Abbarapu [craig: minor updates

[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 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] clk: qcom: Add Global Clock controller (GCC) driver for SDM660

2018-09-25 Thread Craig Tatlor
From: Taniya Das 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: Taniya Das [craig: rename parents to fit upstream, and other cleanups

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

2018-09-25 Thread Craig Tatlor
From: Taniya Das 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: Taniya Das [craig: rename parents to fit upstream, and other cleanups

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

2018-09-25 Thread Craig Tatlor
From: Taniya Das 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: Taniya Das [craig: rename parents to fit upstream, and other cleanups

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

2018-09-25 Thread Craig Tatlor
From: Taniya Das 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: Taniya Das [craig: rename parents to fit upstream, and other cleanups

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

2018-09-25 Thread Craig
On 25 September 2018 12:17:26 BST, Veerabhadrarao Badiganti wrote: > >On 9/25/2018 1:18 AM, Craig Tatlor wrote: >> What socs have you tested this on? >> On sdm660 it seems to crash device >> when writing pwr ctl. > >Hi >We have tested this on SDM845. >SDM6

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

2018-09-25 Thread Craig
On 25 September 2018 12:17:26 BST, Veerabhadrarao Badiganti wrote: > >On 9/25/2018 1:18 AM, Craig Tatlor wrote: >> What socs have you tested this on? >> On sdm660 it seems to crash device >> when writing pwr ctl. > >Hi >We have tested this on SDM845. >SDM6

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

2018-09-24 Thread Craig
On 24 September 2018 20:19:29 BST, Bjorn Andersson wrote: >On Sat 11 Aug 09:25 PDT 2018, Craig Tatlor wrote: > >> Initial device tree support for Qualcomm SDM630 SoC and >> Sony Pioneer (Xperia XA2). >> >> SDM630 is based off of the SDM660 soc a

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

2018-09-24 Thread Craig
On 24 September 2018 20:19:29 BST, Bjorn Andersson wrote: >On Sat 11 Aug 09:25 PDT 2018, Craig Tatlor wrote: > >> Initial device tree support for Qualcomm SDM630 SoC and >> Sony Pioneer (Xperia XA2). >> >> SDM630 is based off of the SDM660 soc a

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

2018-09-24 Thread Craig
On 24 September 2018 19:53:06 BST, Bjorn Andersson wrote: >On Sun 12 Aug 07:24 PDT 2018, 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-09-24 Thread Craig
On 24 September 2018 19:53:06 BST, Bjorn Andersson wrote: >On Sun 12 Aug 07:24 PDT 2018, Craig Tatlor wrote: > >> Add initial pinctrl driver to support pin configuration with >> pinctrl framework for sdm660. >> Based off CAF implementation. >>

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

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

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

2018-09-24 Thread Craig
On 24 September 2018 13:44:33 BST, Heiko Stuebner wrote: >Hi Craig, > >Am Montag, 13. August 2018, 09:45:09 CEST schrieb Craig Tatlor: >> On 13 August 2018 07:55:34 BST, Taniya Das >wrote: >> >Hello Craig, >> > >> >Could you please correct t

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

2018-09-24 Thread Craig
On 24 September 2018 13:44:33 BST, Heiko Stuebner wrote: >Hi Craig, > >Am Montag, 13. August 2018, 09:45:09 CEST schrieb Craig Tatlor: >> On 13 August 2018 07:55:34 BST, Taniya Das >wrote: >> >Hello Craig, >> > >> >Could you please correct t

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

2018-09-20 Thread Craig
On 20 September 2018 17:58:47 BST, Sebastian Reichel wrote: >[Dropped a couple of people from CC, added Baolin] > >Hi Craig, Baolin and Rob, > >On Thu, Sep 20, 2018 at 03:32:29PM +0100, Craig wrote: >> On 16 September 2018 13:10:45 BST, Sebastian Reichel > wrote: >

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

2018-09-20 Thread Craig
On 20 September 2018 17:58:47 BST, Sebastian Reichel wrote: >[Dropped a couple of people from CC, added Baolin] > >Hi Craig, Baolin and Rob, > >On Thu, Sep 20, 2018 at 03:32:29PM +0100, Craig wrote: >> On 16 September 2018 13:10:45 BST, Sebastian Reichel > wrote: >

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

2018-09-20 Thread Craig
Replies inline On 16 September 2018 14:48:36 BST, Sebastian Reichel wrote: >Hi, > >First of all thanks for the patch and big sorry for the long delay >in reviewing this. I did not find enough time to do it properly >until now :( > >On Thu, Jun 14, 2018 at 04:14:15PM +010

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

2018-09-20 Thread Craig
Replies inline On 16 September 2018 14:48:36 BST, Sebastian Reichel wrote: >Hi, > >First of all thanks for the patch and big sorry for the long delay >in reviewing this. I did not find enough time to do it properly >until now :( > >On Thu, Jun 14, 2018 at 04:14:15PM +010

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

2018-09-20 Thread Craig
txt Thanks for the review, what bindings for ocv would you prefer? The spreadtrum ones or mine? >and referenced via monitored-battery. > >-- Sebastian > >On Thu, Jun 14, 2018 at 04:14:16PM +0100, Craig Tatlor wrote: >> Add bindings for the Qualcomm Battery Monitoring sys

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

2018-09-20 Thread Craig
txt Thanks for the review, what bindings for ocv would you prefer? The spreadtrum ones or mine? >and referenced via monitored-battery. > >-- Sebastian > >On Thu, Jun 14, 2018 at 04:14:16PM +0100, Craig Tatlor wrote: >> Add bindings for the Qualcomm Battery Monitoring sys

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

2018-09-20 Thread Craig
On 20 September 2018 14:01:57 BST, Sricharan R wrote: > > >On 9/20/2018 1:54 AM, Craig wrote: >> Yup, this patch seems to have fixed the higher frequencies from the >quick test I did. >> > Thanks !!. Can i take that as Craig Tatlor ? Sure, no problem > >Rega

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

2018-09-20 Thread Craig
On 20 September 2018 14:01:57 BST, Sricharan R wrote: > > >On 9/20/2018 1:54 AM, Craig wrote: >> Yup, this patch seems to have fixed the higher frequencies from the >quick test I did. >> > Thanks !!. Can i take that as Craig Tatlor ? Sure, no problem > >Rega

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

2018-09-19 Thread Craig
Yup, this patch seems to have fixed the higher frequencies from the quick test I did. On 7 September 2018 15:28:53 BST, Craig Tatlor wrote: > > >On 7 September 2018 10:57:34 BST, Sricharan R > wrote: >>Hi Craig, >> >> >>>> [v12] >>>>

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

2018-09-19 Thread Craig
Yup, this patch seems to have fixed the higher frequencies from the quick test I did. On 7 September 2018 15:28:53 BST, Craig Tatlor wrote: > > >On 7 September 2018 10:57:34 BST, Sricharan R > wrote: >>Hi Craig, >> >> >>>> [v12] >>>>

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 you

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 you

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

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

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

2018-08-13 Thread Craig Tatlor
On 13 August 2018 07:55:34 BST, Taniya Das wrote: >Hello Craig, > >Could you please correct the authorship and also provide the reference >to code where this is picked from? > Also, don't you have a program that just spits out the clock setup? And I did leave copyright in file

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

2018-08-13 Thread Craig Tatlor
On 13 August 2018 07:55:34 BST, Taniya Das wrote: >Hello Craig, > >Could you please correct the authorship and also provide the reference >to code where this is picked from? > Also, don't you have a program that just spits out the clock setup? And I did leave copyright in file

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

2018-08-13 Thread Craig Tatlor
On 13 August 2018 07:55:34 BST, Taniya Das wrote: >Hello Craig, > >Could you please correct the authorship and also provide the reference >to code where this is picked from? Okay, Got code from here https://github.com/sonyxperiadev/kernel/blob/aosp/LA.UM.6.4.r1/drivers/clk/qcom/

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

2018-08-13 Thread Craig Tatlor
On 13 August 2018 07:55:34 BST, Taniya Das wrote: >Hello Craig, > >Could you please correct the authorship and also provide the reference >to code where this is picked from? Okay, Got code from here https://github.com/sonyxperiadev/kernel/blob/aosp/LA.UM.6.4.r1/drivers/clk/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 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.

[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

[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

[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] 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

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

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

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 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. >> >

[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

[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

[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] 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] 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] 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] 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] 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] 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] 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

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

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

[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

[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

[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 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 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 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 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 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 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 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 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 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 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 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 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 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

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

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

  1   2   3   4   5   >