Re: [PATCH] pwm: rockchip: State of pwm clock should synchronize with pwm enabled state

2017-02-27 Thread Boris Brezillon
Hi David, On Tue, 28 Feb 2017 14:43:36 +0800 David Wu wrote: > From: "david.wu" > > If the pwm was not enabled at uboot loader, pwm could not work for clock > always disabled at pwm driver. The pwm clock is enabled at beginning of >

Re: [PATCH] pwm: rockchip: State of pwm clock should synchronize with pwm enabled state

2017-02-27 Thread Boris Brezillon
Hi David, On Tue, 28 Feb 2017 14:43:36 +0800 David Wu wrote: > From: "david.wu" > > If the pwm was not enabled at uboot loader, pwm could not work for clock > always disabled at pwm driver. The pwm clock is enabled at beginning of > pwm_apply(), but disabled at end of pwm_apply(). > > If the

Re: [PATCH 0/4] ARM: sun7i: Convert sun7i SoC to sunxi-ng

2017-02-27 Thread Maxime Ripard
Hi Priit, On Mon, Feb 27, 2017 at 11:09:10PM +0200, Priit Laes wrote: > Hi, > > This is serie brings another SoC into the sunxi-ng world. > > As mentioned in sun5i conversion, this is pretty much standard > stuff as all the required clocks were already implemented in > the sunxi-ng framework.

Re: [PATCH 0/4] ARM: sun7i: Convert sun7i SoC to sunxi-ng

2017-02-27 Thread Maxime Ripard
Hi Priit, On Mon, Feb 27, 2017 at 11:09:10PM +0200, Priit Laes wrote: > Hi, > > This is serie brings another SoC into the sunxi-ng world. > > As mentioned in sun5i conversion, this is pretty much standard > stuff as all the required clocks were already implemented in > the sunxi-ng framework.

[PATCH 1/1] Drivers: hv: util: on deinit, don't wait the release event, if we shouldn't

2017-02-27 Thread kys
From: Dexuan Cui If the daemon is NOT running at all, when we disable the util device from Hyper-V Manager (or sometimes the host can rescind a util device and then re-offer it), we'll hang in util_remove -> hv_kvp_deinit -> wait_for_completion(_event), because this code

[PATCH 1/1] Drivers: hv: util: on deinit, don't wait the release event, if we shouldn't

2017-02-27 Thread kys
From: Dexuan Cui If the daemon is NOT running at all, when we disable the util device from Hyper-V Manager (or sometimes the host can rescind a util device and then re-offer it), we'll hang in util_remove -> hv_kvp_deinit -> wait_for_completion(_event), because this code path doesn't run:

[GIT PULL] objtool fixes

2017-02-27 Thread Ingo Molnar
Linus, Please pull the latest core-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-urgent-for-linus # HEAD: 4e4636cf981b5b629fbfb78aa9f232e015f7d521 objtool: Enclose contents of unreachable() macro in a block A handful of objtool fixes

[GIT PULL] objtool fixes

2017-02-27 Thread Ingo Molnar
Linus, Please pull the latest core-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-urgent-for-linus # HEAD: 4e4636cf981b5b629fbfb78aa9f232e015f7d521 objtool: Enclose contents of unreachable() macro in a block A handful of objtool fixes

Re: next: runtime warning after 'locking/refcounts: Out-of-line everything'

2017-02-27 Thread Peter Zijlstra
; WARNING: CPU: 0 PID: 1 at lib/refcount.c:128 refcount_sub_and_test+0x90/0xd0 > Modules linked in: > CPU: 0 PID: 1 Comm: swapper Not tainted 4.10.0-next-20170227 #1 > task: cf81d5a0 task.stack: cf81e000 > NIP: c02100e0 LR: c02100e0 CTR: c0279970 > REGS: cf81fc90 TRAP: 0700 Not tainted

Re: next: runtime warning after 'locking/refcounts: Out-of-line everything'

2017-02-27 Thread Peter Zijlstra
; WARNING: CPU: 0 PID: 1 at lib/refcount.c:128 refcount_sub_and_test+0x90/0xd0 > Modules linked in: > CPU: 0 PID: 1 Comm: swapper Not tainted 4.10.0-next-20170227 #1 > task: cf81d5a0 task.stack: cf81e000 > NIP: c02100e0 LR: c02100e0 CTR: c0279970 > REGS: cf81fc90 TRAP: 0700 Not tainted

Product Inquiry

2017-02-27 Thread Amit Pragash
Hi I would like to find out about your company and your business activities. Please send me a brochure, product catalogue and price information. kindly send the following to our e-mail: amitprag...@outlook.com Yours sincerely, Amit Pragash CODEGEN INTERNATIONAL PVT LTD 29, Braybrooke Street,,

Product Inquiry

2017-02-27 Thread Amit Pragash
Hi I would like to find out about your company and your business activities. Please send me a brochure, product catalogue and price information. kindly send the following to our e-mail: amitprag...@outlook.com Yours sincerely, Amit Pragash CODEGEN INTERNATIONAL PVT LTD 29, Braybrooke Street,,

Re: [PATCH v2 2/5] KVM: add KVM request variants without barrier

2017-02-27 Thread Peter Xu
On Tue, Feb 28, 2017 at 03:34:24PM +0800, Peter Xu wrote: [...] > > diff --git a/arch/mips/kvm/emulate.c b/arch/mips/kvm/emulate.c > > index ee4af898bcf6..552ae2b5e911 100644 > > --- a/arch/mips/kvm/emulate.c > > +++ b/arch/mips/kvm/emulate.c > > @@ -865,7 +865,7 @@ enum emulation_result

Re: [PATCH v2 2/5] KVM: add KVM request variants without barrier

2017-02-27 Thread Peter Xu
On Tue, Feb 28, 2017 at 03:34:24PM +0800, Peter Xu wrote: [...] > > diff --git a/arch/mips/kvm/emulate.c b/arch/mips/kvm/emulate.c > > index ee4af898bcf6..552ae2b5e911 100644 > > --- a/arch/mips/kvm/emulate.c > > +++ b/arch/mips/kvm/emulate.c > > @@ -865,7 +865,7 @@ enum emulation_result

Re: [PATCH v5 2/3] nvmem: sunxi-sid: add support for H3's SID controller

2017-02-27 Thread Maxime Ripard
On Tue, Feb 28, 2017 at 03:27:14AM +0800, Icenowy Zheng wrote: > The H3 SoC have a bigger SID controller, which has its direct read > address at 0x200 position in the SID block, not 0x0. > > Also, H3 SID controller has some silicon bug that makes the direct read > value wrong at cold boot, add

Re: [PATCH v5 2/3] nvmem: sunxi-sid: add support for H3's SID controller

2017-02-27 Thread Maxime Ripard
On Tue, Feb 28, 2017 at 03:27:14AM +0800, Icenowy Zheng wrote: > The H3 SoC have a bigger SID controller, which has its direct read > address at 0x200 position in the SID block, not 0x0. > > Also, H3 SID controller has some silicon bug that makes the direct read > value wrong at cold boot, add

Re: [PATCH v2 2/5] KVM: add KVM request variants without barrier

2017-02-27 Thread Peter Xu
On Fri, Feb 24, 2017 at 08:49:59PM +0100, Radim Krčmář wrote: > The leading underscores denote that the call is just a bitop wrapper. > > Switch all users of open-coded set/check/test to kvm_request ones. > > Automated by coccinelle script: > @@ > expression VCPU, REQ; > @@ >

Re: [PATCH v2 2/5] KVM: add KVM request variants without barrier

2017-02-27 Thread Peter Xu
On Fri, Feb 24, 2017 at 08:49:59PM +0100, Radim Krčmář wrote: > The leading underscores denote that the call is just a bitop wrapper. > > Switch all users of open-coded set/check/test to kvm_request ones. > > Automated by coccinelle script: > @@ > expression VCPU, REQ; > @@ >

Re: [PATCH 1/2] x86/mm/numa: trivial fix on typo and error message

2017-02-27 Thread Wei Yang
Hope someone like these two patches. On Mon, Feb 06, 2017 at 11:35:28PM +0800, Wei Yang wrote: >When allocating pg_data in alloc_node_data(), it will try to allocate from >local node first and then from any node. If it fails at the second trial, >it means there is not available memory on any

Re: [PATCH 1/2] x86/mm/numa: trivial fix on typo and error message

2017-02-27 Thread Wei Yang
Hope someone like these two patches. On Mon, Feb 06, 2017 at 11:35:28PM +0800, Wei Yang wrote: >When allocating pg_data in alloc_node_data(), it will try to allocate from >local node first and then from any node. If it fails at the second trial, >it means there is not available memory on any

Re: [PATCH v1] mmc: mediatek: Fixed bug where clock frequency could be set wrong

2017-02-27 Thread Daniel Kurtz
On Fri, Feb 24, 2017 at 5:38 PM, Yong Mao wrote: > From: Yong Mao > To: Daniel Kurtz > Subject:Re: [PATCH v1] mmc: mediatek: Fixed bug where clock frequency > could be set wrong > Date: Fri, 24 Feb 2017 17:33:37

Re: [PATCH v1] mmc: mediatek: Fixed bug where clock frequency could be set wrong

2017-02-27 Thread Daniel Kurtz
On Fri, Feb 24, 2017 at 5:38 PM, Yong Mao wrote: > From: Yong Mao > To: Daniel Kurtz > Subject:Re: [PATCH v1] mmc: mediatek: Fixed bug where clock frequency > could be set wrong > Date: Fri, 24 Feb 2017 17:33:37 +0800 > > > On Fri, 2017-02-24 at 17:52 +0900, Daniel Kurtz wrote:

Re: [PATCH 1/2] mm/memblock: use NUMA_NO_NODE instead of MAX_NUMNODES as default node_id

2017-02-27 Thread Wei Yang
Hi, everyone Looking for some comment on these two patches :-) On Fri, Jan 27, 2017 at 09:59:21AM +0800, Wei Yang wrote: >According to commit ('mm/memblock: switch to use >NUMA_NO_NODE instead of MAX_NUMNODES'), MAX_NUMNODES is not preferred as an >node_id indicator. > >This patch use

Re: [PATCH 1/2] mm/memblock: use NUMA_NO_NODE instead of MAX_NUMNODES as default node_id

2017-02-27 Thread Wei Yang
Hi, everyone Looking for some comment on these two patches :-) On Fri, Jan 27, 2017 at 09:59:21AM +0800, Wei Yang wrote: >According to commit ('mm/memblock: switch to use >NUMA_NO_NODE instead of MAX_NUMNODES'), MAX_NUMNODES is not preferred as an >node_id indicator. > >This patch use

[NAND Question] When oob_required is used?

2017-02-27 Thread Masahiro Yamada
Hi. I am seeing the reference implementations for the callback in drivers/mtd/nand/nand_base.c I see only some of them use the argument "oob_required". - oob_required is used nand_read_page_raw() nand_write_page_raw() nand_write_subpage_hwecc() - oob_required is ignored

[NAND Question] When oob_required is used?

2017-02-27 Thread Masahiro Yamada
Hi. I am seeing the reference implementations for the callback in drivers/mtd/nand/nand_base.c I see only some of them use the argument "oob_required". - oob_required is used nand_read_page_raw() nand_write_page_raw() nand_write_subpage_hwecc() - oob_required is ignored

Re: [PATCH v2 2/3] remoteproc: qcom: Add scm call to protect modem mem in mss rproc drv.

2017-02-27 Thread Stephen Boyd
On 01/30, Avaneesh Kumar Dwivedi wrote: > This patch add hypervisor call support for second stage translation from > mss remoteproc driver, this is required so that modem on msm8996 which is > based on armv8 architecture can access DDR region where modem firmware > are loaded. > > Signed-off-by:

Re: [PATCH v2 2/3] remoteproc: qcom: Add scm call to protect modem mem in mss rproc drv.

2017-02-27 Thread Stephen Boyd
On 01/30, Avaneesh Kumar Dwivedi wrote: > This patch add hypervisor call support for second stage translation from > mss remoteproc driver, this is required so that modem on msm8996 which is > based on armv8 architecture can access DDR region where modem firmware > are loaded. > > Signed-off-by:

[PATCH] arm64: dump: hide kernel pointers

2017-02-27 Thread Miles Chen
Mask kernel pointers of /sys/kernel/debug/kernel_page_tables entry like /proc/vmallocinfo does. With sysctl kernel.kptr_restrict=0 or 1: cat /sys/kernel/debug/kernel_page_tables ---[ Modules start ]--- ---[ Modules end ]--- ---[ vmalloc() Area ]--- ff800800-ff800801 64K

Re: [PATCH V2 1/3] arm64: dts: Add basic DT to support Spreadtrum's SP9860G

2017-02-27 Thread Chunyan Zhang
On 24 February 2017 at 23:07, Rob Herring wrote: > On Fri, Feb 24, 2017 at 1:57 AM, Chunyan Zhang > wrote: >> On 四, 2月 23, 2017 at 06:00:20下午 -0600, Rob Herring wrote: >>> On Tue, Feb 21, 2017 at 12:55 AM, Chunyan Zhang >>>

Re: [v2] Input: pwm-beeper: support customized freq for SND_BELL

2017-02-27 Thread Heiko Schocher
Hello David, Am 28.02.2017 um 06:30 schrieb David Lechner: On 02/27/2017 11:19 PM, Heiko Schocher wrote: Hello David, Am 27.02.2017 um 19:11 schrieb David Lechner: On 02/20/2017 02:37 AM, Heiko Schocher wrote: From: Guan Ben extend the pwm-beeper driver to support

[PATCH] arm64: dump: hide kernel pointers

2017-02-27 Thread Miles Chen
Mask kernel pointers of /sys/kernel/debug/kernel_page_tables entry like /proc/vmallocinfo does. With sysctl kernel.kptr_restrict=0 or 1: cat /sys/kernel/debug/kernel_page_tables ---[ Modules start ]--- ---[ Modules end ]--- ---[ vmalloc() Area ]--- ff800800-ff800801 64K

Re: [PATCH V2 1/3] arm64: dts: Add basic DT to support Spreadtrum's SP9860G

2017-02-27 Thread Chunyan Zhang
On 24 February 2017 at 23:07, Rob Herring wrote: > On Fri, Feb 24, 2017 at 1:57 AM, Chunyan Zhang > wrote: >> On 四, 2月 23, 2017 at 06:00:20下午 -0600, Rob Herring wrote: >>> On Tue, Feb 21, 2017 at 12:55 AM, Chunyan Zhang >>> wrote: >>> > From: Orson Zhai >>> > >>> > SC9860G is a 8 cores of A53

Re: [v2] Input: pwm-beeper: support customized freq for SND_BELL

2017-02-27 Thread Heiko Schocher
Hello David, Am 28.02.2017 um 06:30 schrieb David Lechner: On 02/27/2017 11:19 PM, Heiko Schocher wrote: Hello David, Am 27.02.2017 um 19:11 schrieb David Lechner: On 02/20/2017 02:37 AM, Heiko Schocher wrote: From: Guan Ben extend the pwm-beeper driver to support customized frequency for

[PATCH V3] ARM: dts: exynos5440: support the phy-pcie node for pcie

2017-02-27 Thread Jaehoon Chung
Add pcie-phy node for using phy-exynos-pcie. There are some modifications. 1. Remove the configuration space values in "ranges" property. - The getting configuration space from ranges is old way. - Instead, It can be got from "config" 2. Use the reg-names as "elbi", "config". - Can know the

Re: [PATCH v6] staging: xgifb: correct the multiple line dereference

2017-02-27 Thread Joe Perches
On Tue, 2017-02-28 at 06:51 +0100, Greg Kroah-Hartman wrote: > On Tue, Feb 28, 2017 at 10:35:30AM +0530, Arushi Singhal wrote: > > Error reported by checkpatch.pl as "avoid multiple line dereference". > > Addition of new variables to make the code more readable and also to > > correct about

[PATCH V3] ARM: dts: exynos5440: support the phy-pcie node for pcie

2017-02-27 Thread Jaehoon Chung
Add pcie-phy node for using phy-exynos-pcie. There are some modifications. 1. Remove the configuration space values in "ranges" property. - The getting configuration space from ranges is old way. - Instead, It can be got from "config" 2. Use the reg-names as "elbi", "config". - Can know the

Re: [PATCH v6] staging: xgifb: correct the multiple line dereference

2017-02-27 Thread Joe Perches
On Tue, 2017-02-28 at 06:51 +0100, Greg Kroah-Hartman wrote: > On Tue, Feb 28, 2017 at 10:35:30AM +0530, Arushi Singhal wrote: > > Error reported by checkpatch.pl as "avoid multiple line dereference". > > Addition of new variables to make the code more readable and also to > > correct about

Re: [RFC 2/3] kcmp: Add KCMP_EPOLL_TFD mode to compare epoll target files

2017-02-27 Thread Cyrill Gorcunov
On Mon, Feb 27, 2017 at 02:43:47PM -0800, Andrei Vagin wrote: ... > > + > > + if (filp1 && filp_epoll) { > > + filp_tgt = get_epoll_tfile_raw_ptr(filp_epoll, > > slot.tfd, slot.toff); > > + if (IS_ERR(filp_tgt)) > > + ret =

Re: [RFC 2/3] kcmp: Add KCMP_EPOLL_TFD mode to compare epoll target files

2017-02-27 Thread Cyrill Gorcunov
On Mon, Feb 27, 2017 at 02:43:47PM -0800, Andrei Vagin wrote: ... > > + > > + if (filp1 && filp_epoll) { > > + filp_tgt = get_epoll_tfile_raw_ptr(filp_epoll, > > slot.tfd, slot.toff); > > + if (IS_ERR(filp_tgt)) > > + ret =

[PATCH v3 25/25] ARM: owl: smp: Reimplement SPS power-gating for CPU2 and CPU3

2017-02-27 Thread Andreas Färber
Bring up the two remaining CPUs. Based on LeMaker linux-actions tree. Signed-off-by: Andreas Färber --- v3: new arch/arm/mach-actions/platsmp.c | 67 +++-- 1 file changed, 65 insertions(+), 2 deletions(-) diff --git

[PATCH v3 25/25] ARM: owl: smp: Reimplement SPS power-gating for CPU2 and CPU3

2017-02-27 Thread Andreas Färber
Bring up the two remaining CPUs. Based on LeMaker linux-actions tree. Signed-off-by: Andreas Färber --- v3: new arch/arm/mach-actions/platsmp.c | 67 +++-- 1 file changed, 65 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-actions/platsmp.c

[PATCH v3 08/25] dt-bindings: serial: Document Actions Semi Owl UARTs

2017-02-27 Thread Andreas Färber
This UART is found on S500 and S900 SoCs. Acked-by: Rob Herring Signed-off-by: Andreas Färber --- v2 -> v3: unchanged v1 -> v2: * Adopted "actions" vendor prefix .../devicetree/bindings/serial/actions,owl-uart.txt | 16 1 file

[PATCH v3 20/25] ARM: owl: Implement CPU enable-method for S500

2017-02-27 Thread Andreas Färber
Allow to bring up CPU1. Based on LeMaker linux-actions tree. Signed-off-by: Andreas Färber --- v3: new arch/arm/mach-actions/Makefile | 1 + arch/arm/mach-actions/headsmp.S | 68 arch/arm/mach-actions/platsmp.c | 166

[PATCH v3 08/25] dt-bindings: serial: Document Actions Semi Owl UARTs

2017-02-27 Thread Andreas Färber
This UART is found on S500 and S900 SoCs. Acked-by: Rob Herring Signed-off-by: Andreas Färber --- v2 -> v3: unchanged v1 -> v2: * Adopted "actions" vendor prefix .../devicetree/bindings/serial/actions,owl-uart.txt | 16 1 file changed, 16 insertions(+) create mode

[PATCH v3 20/25] ARM: owl: Implement CPU enable-method for S500

2017-02-27 Thread Andreas Färber
Allow to bring up CPU1. Based on LeMaker linux-actions tree. Signed-off-by: Andreas Färber --- v3: new arch/arm/mach-actions/Makefile | 1 + arch/arm/mach-actions/headsmp.S | 68 arch/arm/mach-actions/platsmp.c | 166 3 files

[PATCH v3 05/25] clocksource: owl: Add S900 support

2017-02-27 Thread Andreas Färber
The Actions Semi S900 SoC provides four 32-bit timers, TIMER0/1/2/3, but no 2Hz timers. Deal with the S500 having less timers. An S900 datasheet can be found in 96Boards documentation:

[PATCH v3 05/25] clocksource: owl: Add S900 support

2017-02-27 Thread Andreas Färber
The Actions Semi S900 SoC provides four 32-bit timers, TIMER0/1/2/3, but no 2Hz timers. Deal with the S500 having less timers. An S900 datasheet can be found in 96Boards documentation:

[PATCH v3 15/25] MAINTAINERS: Add Actions Semi Owl section

2017-02-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- v2 -> v3: unchanged v2: new MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b9af886..467121e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1026,6 +1026,16 @@ S: Maintained

[PATCH v3 15/25] MAINTAINERS: Add Actions Semi Owl section

2017-02-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- v2 -> v3: unchanged v2: new MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b9af886..467121e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1026,6 +1026,16 @@ S: Maintained F:

[PATCH v3 12/25] dt-bindings: Add vendor prefix for uCRobotics

2017-02-27 Thread Andreas Färber
Cc: 96boa...@ucrobotics.com Acked-by: Rob Herring Signed-off-by: Andreas Färber --- v1 -> v2 -> v3: unchanged Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v3 12/25] dt-bindings: Add vendor prefix for uCRobotics

2017-02-27 Thread Andreas Färber
Cc: 96boa...@ucrobotics.com Acked-by: Rob Herring Signed-off-by: Andreas Färber --- v1 -> v2 -> v3: unchanged Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt

[PATCH v3 06/25] ARM: Prepare Actions Semi S500

2017-02-27 Thread Andreas Färber
Add ARCH_ACTIONS and mach-actions/owl.c for "actions,s500". Signed-off-by: Andreas Färber --- v2 -> v3: * Selected AMBA, global timer, TWD drivers * Fixed copy in machine definition (Alberto) v1 -> v2: * Renamed ARCH_OWL to ARCH_ACTION (Arnd) * Renamed mach-owl to

[PATCH v3 06/25] ARM: Prepare Actions Semi S500

2017-02-27 Thread Andreas Färber
Add ARCH_ACTIONS and mach-actions/owl.c for "actions,s500". Signed-off-by: Andreas Färber --- v2 -> v3: * Selected AMBA, global timer, TWD drivers * Fixed copy in machine definition (Alberto) v1 -> v2: * Renamed ARCH_OWL to ARCH_ACTION (Arnd) * Renamed mach-owl to mach-actions, leaving

[PATCH v3 09/25] tty: serial: Add Actions Semi Owl UART earlycon

2017-02-27 Thread Andreas Färber
This implements an earlycon for Actions Semi S500/S900 SoCs. Based on LeMaker linux-actions tree. Signed-off-by: Andreas Färber --- v2 -> v3: * Adopted BIT() macro v1 -> v2: * Extended Kconfig help to mention earlycon (Arnd) * Spelled out Actions Semiconductor in

[PATCH v3 09/25] tty: serial: Add Actions Semi Owl UART earlycon

2017-02-27 Thread Andreas Färber
This implements an earlycon for Actions Semi S500/S900 SoCs. Based on LeMaker linux-actions tree. Signed-off-by: Andreas Färber --- v2 -> v3: * Adopted BIT() macro v1 -> v2: * Extended Kconfig help to mention earlycon (Arnd) * Spelled out Actions Semiconductor in Kconfig help * Adopted

[PATCH v3 23/25] soc: actions: Add Owl SPS

2017-02-27 Thread Andreas Färber
Implement S500 Smart Power System power-gating. Based on LeMaker linux-actions tree. Signed-off-by: Andreas Färber --- v3: new drivers/soc/Kconfig | 1 + drivers/soc/Makefile | 1 + drivers/soc/actions/Kconfig | 12 +++

[PATCH v3 23/25] soc: actions: Add Owl SPS

2017-02-27 Thread Andreas Färber
Implement S500 Smart Power System power-gating. Based on LeMaker linux-actions tree. Signed-off-by: Andreas Färber --- v3: new drivers/soc/Kconfig | 1 + drivers/soc/Makefile | 1 + drivers/soc/actions/Kconfig | 12 +++ drivers/soc/actions/Makefile | 1 +

[PATCH v3 00/25] ARM: Initial Actions Semi S500 and S900 enablement

2017-02-27 Thread Andreas Färber
Hello, This series adds initial support for Actions Semiconductor S500 (ARMv7) and S900 (ARMv8) SoCs. v3 has the serial driver working almost equally for both, still glitch on S900. SMP support and power-gating for S500 are implemented, so both get 4 CPUs up.

[PATCH v3 00/25] ARM: Initial Actions Semi S500 and S900 enablement

2017-02-27 Thread Andreas Färber
Hello, This series adds initial support for Actions Semiconductor S500 (ARMv7) and S900 (ARMv8) SoCs. v3 has the serial driver working almost equally for both, still glitch on S900. SMP support and power-gating for S500 are implemented, so both get 4 CPUs up.

[PATCH v3 01/25] dt-bindings: Add vendor prefix for Actions Semi

2017-02-27 Thread Andreas Färber
Actions Semiconductor was listed on NASDAQ as ACTS until Dec 16, 2016. Cc: mp...@actions-semi.com Acked-by: Rob Herring Signed-off-by: Andreas Färber --- v2 -> v3: * Fixed sort order after rename v1 -> v2: * Reverted from "acts" to "actions" (cf. IAP140

[PATCH v3 13/25] dt-bindings: arm: Document Actions Semi S900

2017-02-27 Thread Andreas Färber
The Actions Semi S900 is a quad-core ARM Cortex-A53 SoC. The Bubblegum-96 is a 96Boards Consumer Edition compliant board (4/96). Cc: 96boa...@ucrobotics.com Acked-by: Rob Herring Signed-off-by: Andreas Färber --- v2 -> v3: unchanged v1 -> v2: * Adopted

[PATCH v3 02/25] dt-bindings: arm: Document Actions Semi S500

2017-02-27 Thread Andreas Färber
The Actions Semi S500 is a quad-core ARM Cortex-A9 SoC. The LeMaker Guitar is an SODIMM-format module with that SoC. Acked-by: Rob Herring Signed-off-by: Andreas Färber --- v2 -> v3: unchanged v1 -> v2: * Adopted "actions" vendor prefix * Extended text

[PATCH v3 11/25] ARM: dts: Add Actions Semi S500 and LeMaker Guitar

2017-02-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- v2 -> v3: * Fixed uart2 reg offset * Enlarged timer reg size * Added 2 Hz timer interrupts, interrupt-names * Disabled CPUs 1-3 for now (cf. later patches) * Added Cortex-A9 SCU, global timer, TWD timer/wdt nodes * Added HOSC clock for

[PATCH v3 13/25] dt-bindings: arm: Document Actions Semi S900

2017-02-27 Thread Andreas Färber
The Actions Semi S900 is a quad-core ARM Cortex-A53 SoC. The Bubblegum-96 is a 96Boards Consumer Edition compliant board (4/96). Cc: 96boa...@ucrobotics.com Acked-by: Rob Herring Signed-off-by: Andreas Färber --- v2 -> v3: unchanged v1 -> v2: * Adopted "actions" vendor prefix * Extended

[PATCH v3 02/25] dt-bindings: arm: Document Actions Semi S500

2017-02-27 Thread Andreas Färber
The Actions Semi S500 is a quad-core ARM Cortex-A9 SoC. The LeMaker Guitar is an SODIMM-format module with that SoC. Acked-by: Rob Herring Signed-off-by: Andreas Färber --- v2 -> v3: unchanged v1 -> v2: * Adopted "actions" vendor prefix * Extended text

[PATCH v3 11/25] ARM: dts: Add Actions Semi S500 and LeMaker Guitar

2017-02-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- v2 -> v3: * Fixed uart2 reg offset * Enlarged timer reg size * Added 2 Hz timer interrupts, interrupt-names * Disabled CPUs 1-3 for now (cf. later patches) * Added Cortex-A9 SCU, global timer, TWD timer/wdt nodes * Added HOSC clock for timer v1 -> v2:

[PATCH v3 01/25] dt-bindings: Add vendor prefix for Actions Semi

2017-02-27 Thread Andreas Färber
Actions Semiconductor was listed on NASDAQ as ACTS until Dec 16, 2016. Cc: mp...@actions-semi.com Acked-by: Rob Herring Signed-off-by: Andreas Färber --- v2 -> v3: * Fixed sort order after rename v1 -> v2: * Reverted from "acts" to "actions" (cf. IAP140 "mrvl" vs. "marvell")

[PATCH] pwm: rockchip: State of pwm clock should synchronize with pwm enabled state

2017-02-27 Thread David Wu
From: "david.wu" If the pwm was not enabled at uboot loader, pwm could not work for clock always disabled at pwm driver. The pwm clock is enabled at beginning of pwm_apply(), but disabled at end of pwm_apply(). If the pwm was enabled at uboot loader, pwm clock is always

[PATCH] pwm: rockchip: State of pwm clock should synchronize with pwm enabled state

2017-02-27 Thread David Wu
From: "david.wu" If the pwm was not enabled at uboot loader, pwm could not work for clock always disabled at pwm driver. The pwm clock is enabled at beginning of pwm_apply(), but disabled at end of pwm_apply(). If the pwm was enabled at uboot loader, pwm clock is always enabled unless closed by

[PATCH v3 04/25] clocksource: Add Owl timer

2017-02-27 Thread Andreas Färber
The Actions Semi S500 SoC provides four timers, 2Hz0/1 and 32-bit TIMER0/1. Use TIMER0 as clocksource and TIMER1 as clockevents. Based on LeMaker linux-actions tree. An S500 datasheet can be found on the LeMaker Guitar pages: http://www.lemaker.org/product-guitar-download-29.html

[PATCH v3 07/25] ARM64: Prepare Actions Semi S900

2017-02-27 Thread Andreas Färber
Add ARCH_ACTIONS. Signed-off-by: Andreas Färber --- v2 -> v3: * Selected clocksource driver v1 -> v2: * Renamed ARCH_OWL to ARCH_ACTION (Arnd) arch/arm64/Kconfig.platforms | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/Kconfig.platforms

Re: [PATCH 3/4] drm/bridge: Drivers for megachips-stdpxxxx-ge-b850v3-fw (LVDS-DP++)

2017-02-27 Thread Archit Taneja
On 02/27/2017 07:10 PM, Peter Senna Tschudin wrote: On Wed, Feb 01, 2017 at 04:17:21PM +0530, Archit Taneja wrote: Hi Archit, Hi, Some minor comments: Thank you for the review! On 01/28/2017 07:51 PM, Peter Senna Tschudin wrote: The video processing pipeline on the second output on

[PATCH v3 04/25] clocksource: Add Owl timer

2017-02-27 Thread Andreas Färber
The Actions Semi S500 SoC provides four timers, 2Hz0/1 and 32-bit TIMER0/1. Use TIMER0 as clocksource and TIMER1 as clockevents. Based on LeMaker linux-actions tree. An S500 datasheet can be found on the LeMaker Guitar pages: http://www.lemaker.org/product-guitar-download-29.html

[PATCH v3 07/25] ARM64: Prepare Actions Semi S900

2017-02-27 Thread Andreas Färber
Add ARCH_ACTIONS. Signed-off-by: Andreas Färber --- v2 -> v3: * Selected clocksource driver v1 -> v2: * Renamed ARCH_OWL to ARCH_ACTION (Arnd) arch/arm64/Kconfig.platforms | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/Kconfig.platforms

Re: [PATCH 3/4] drm/bridge: Drivers for megachips-stdpxxxx-ge-b850v3-fw (LVDS-DP++)

2017-02-27 Thread Archit Taneja
On 02/27/2017 07:10 PM, Peter Senna Tschudin wrote: On Wed, Feb 01, 2017 at 04:17:21PM +0530, Archit Taneja wrote: Hi Archit, Hi, Some minor comments: Thank you for the review! On 01/28/2017 07:51 PM, Peter Senna Tschudin wrote: The video processing pipeline on the second output on

[PATCH v3 03/25] dt-bindings: timer: Document Owl timer

2017-02-27 Thread Andreas Färber
The Actions Semi S500 SoC contains a timer block with two 2 Hz and two 32-bit timers. The S900 SoC timer block has four 32-bit timers. Signed-off-by: Andreas Färber --- v2 -> v3: * Adopted interrupt-names * Changed compatible for S500 * Added S900 compatible and interrupt

[PATCH v3 14/25] ARM64: dts: Add Actions Semi S900 and Bubblegum-96

2017-02-27 Thread Andreas Färber
UART0/1/4/6 interrupts are guesses. Cc: 96boa...@ucrobotics.com Signed-off-by: Andreas Färber --- v2 -> v3: * Added remaining UART nodes -- some interrupts are guesses * Added timer node -- only TIMER1 interrupt known v1 -> v2: * Reworded subject * Added memory@0 node

[PATCH v3 03/25] dt-bindings: timer: Document Owl timer

2017-02-27 Thread Andreas Färber
The Actions Semi S500 SoC contains a timer block with two 2 Hz and two 32-bit timers. The S900 SoC timer block has four 32-bit timers. Signed-off-by: Andreas Färber --- v2 -> v3: * Adopted interrupt-names * Changed compatible for S500 * Added S900 compatible and interrupt names v2: new

[PATCH v3 14/25] ARM64: dts: Add Actions Semi S900 and Bubblegum-96

2017-02-27 Thread Andreas Färber
UART0/1/4/6 interrupts are guesses. Cc: 96boa...@ucrobotics.com Signed-off-by: Andreas Färber --- v2 -> v3: * Added remaining UART nodes -- some interrupts are guesses * Added timer node -- only TIMER1 interrupt known v1 -> v2: * Reworded subject * Added memory@0 node for Bubblegum-96

[PATCH v3 10/25] Documentation: kernel-parameters: Document owl earlycon

2017-02-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- v1 -> v2 -> v3: unchanged Documentation/admin-guide/kernel-parameters.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index

[PATCH v3 16/25] tty: serial: owl: Implement console driver

2017-02-27 Thread Andreas Färber
Implement serial console driver to complement earlycon. Based on LeMaker linux-actions tree. Signed-off-by: Andreas Färber --- v2 -> v3: * Adopted BIT() macro * Implemented baudrate setting v2: new drivers/tty/serial/Kconfig | 4 +-

[PATCH v3 10/25] Documentation: kernel-parameters: Document owl earlycon

2017-02-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- v1 -> v2 -> v3: unchanged Documentation/admin-guide/kernel-parameters.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index 986e443..f48a142

[PATCH v3 16/25] tty: serial: owl: Implement console driver

2017-02-27 Thread Andreas Färber
Implement serial console driver to complement earlycon. Based on LeMaker linux-actions tree. Signed-off-by: Andreas Färber --- v2 -> v3: * Adopted BIT() macro * Implemented baudrate setting v2: new drivers/tty/serial/Kconfig | 4 +- drivers/tty/serial/owl-uart.c| 591

[PATCH 2/2] mfd: add TI LMU driver

2017-02-27 Thread Milo Kim
TI LMU (Lighting Management Unit) driver supports lighting devices below. LM3532, LM3631, LM3632, LM3633, LM3695 and LM3697. LMU devices have common features. - I2C interface for accessing device registers - Hardware enable pin control - Backlight brightness control - Notifier for

[PATCH 2/2] mfd: add TI LMU driver

2017-02-27 Thread Milo Kim
TI LMU (Lighting Management Unit) driver supports lighting devices below. LM3532, LM3631, LM3632, LM3633, LM3695 and LM3697. LMU devices have common features. - I2C interface for accessing device registers - Hardware enable pin control - Backlight brightness control - Notifier for

[PATCH 1/2] Documentation: dt-bindings: mfd: add TI LMU device binding information

2017-02-27 Thread Milo Kim
This patch describes overall binding for TI LMU MFD devices. Acked-by: Lee Jones Acked-by: Rob Herring Signed-off-by: Milo Kim --- Documentation/devicetree/bindings/mfd/ti-lmu.txt | 243 +++ 1 file changed, 243

[PATCH 1/2] Documentation: dt-bindings: mfd: add TI LMU device binding information

2017-02-27 Thread Milo Kim
This patch describes overall binding for TI LMU MFD devices. Acked-by: Lee Jones Acked-by: Rob Herring Signed-off-by: Milo Kim --- Documentation/devicetree/bindings/mfd/ti-lmu.txt | 243 +++ 1 file changed, 243 insertions(+) create mode 100644

Re: [PATCH 2/3] thermal: add support for the thermal sensor on Allwinner new SoCs

2017-02-27 Thread Maxime Ripard
On Tue, Feb 28, 2017 at 03:40:53AM +0800, Icenowy Zheng wrote: > From: Ondrej Jirman > > Allwinner SoCs from H3 (including H5, A64, etc) have a new version of > thermal sensor, and needs a new driver for it. > > Add such a driver. > > Currently only H3 is supported, but

Re: [PATCH 2/3] thermal: add support for the thermal sensor on Allwinner new SoCs

2017-02-27 Thread Maxime Ripard
On Tue, Feb 28, 2017 at 03:40:53AM +0800, Icenowy Zheng wrote: > From: Ondrej Jirman > > Allwinner SoCs from H3 (including H5, A64, etc) have a new version of > thermal sensor, and needs a new driver for it. > > Add such a driver. > > Currently only H3 is supported, but other SoCs are easily

[PATCH v3 0/2] Support TI LMU devices

2017-02-27 Thread Milo Kim
Back from 2015! TI LMU core driver got acked but few more efforts were required like backlight, LEDs and others. Recently, Tony Lindgren has been working on porting mainline Linux on Droid 4 xt894. One of LMU devices - LM3532 is used for LCD backlight on that device. I hope this patch-set would

[PATCH v3 0/2] Support TI LMU devices

2017-02-27 Thread Milo Kim
Back from 2015! TI LMU core driver got acked but few more efforts were required like backlight, LEDs and others. Recently, Tony Lindgren has been working on porting mainline Linux on Droid 4 xt894. One of LMU devices - LM3532 is used for LCD backlight on that device. I hope this patch-set would

[PATCH v3 19/25] dt-bindings: arm: cpus: Add S500 enable-method

2017-02-27 Thread Andreas Färber
The Actions Semi S500 SoC requires a special secondary CPU boot procedure. Signed-off-by: Andreas Färber --- v3: new Documentation/devicetree/bindings/arm/cpus.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/cpus.txt

[PATCH v3 19/25] dt-bindings: arm: cpus: Add S500 enable-method

2017-02-27 Thread Andreas Färber
The Actions Semi S500 SoC requires a special secondary CPU boot procedure. Signed-off-by: Andreas Färber --- v3: new Documentation/devicetree/bindings/arm/cpus.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/cpus.txt

[PATCH v3 24/25] ARM: dts: s500: Add SPS node

2017-02-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- v3: new arch/arm/boot/dts/s500.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/s500.dtsi b/arch/arm/boot/dts/s500.dtsi index b4ebd27..e802896 100644 --- a/arch/arm/boot/dts/s500.dtsi +++

[PATCH v3 24/25] ARM: dts: s500: Add SPS node

2017-02-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- v3: new arch/arm/boot/dts/s500.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/s500.dtsi b/arch/arm/boot/dts/s500.dtsi index b4ebd27..e802896 100644 --- a/arch/arm/boot/dts/s500.dtsi +++ b/arch/arm/boot/dts/s500.dtsi @@

[PATCH v3 17/25] ARM64: dts: actions: s900-bubblegum-96: Add fake uart5 clock

2017-02-27 Thread Andreas Färber
Give the serial driver a fixed-clock as input for baudrate 115200. Signed-off-by: Andreas Färber --- v2 -> v3: unchanged v2: new arch/arm64/boot/dts/actions/s900-bubblegum-96.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git

[PATCH v3 22/25] dt-bindings: power: Add Owl SPS power domains

2017-02-27 Thread Andreas Färber
Define power domains for all non-reserved S500 power gates. Signed-off-by: Andreas Färber --- v3: new .../devicetree/bindings/power/actions,owl-sps.txt | 17 + include/dt-bindings/power/s500-powergate.h| 19 +++ 2 files

[PATCH v3 21/25] ARM: dts: s500: Set CPU enable-method

2017-02-27 Thread Andreas Färber
Use a custom S500 enable-method for all CPUs. Signed-off-by: Andreas Färber --- v3: new arch/arm/boot/dts/s500.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/s500.dtsi b/arch/arm/boot/dts/s500.dtsi index 1973181..b4ebd27 100644 ---

[PATCH v3 17/25] ARM64: dts: actions: s900-bubblegum-96: Add fake uart5 clock

2017-02-27 Thread Andreas Färber
Give the serial driver a fixed-clock as input for baudrate 115200. Signed-off-by: Andreas Färber --- v2 -> v3: unchanged v2: new arch/arm64/boot/dts/actions/s900-bubblegum-96.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/actions/s900-bubblegum-96.dts

  1   2   3   4   5   6   7   8   9   10   >