Re: [PATCH v3 5/5] riscv: dts: add initial board data for the SiFive HiFive Unleashed

2019-06-08 Thread Antony Pavlov
lt;0>; > + spi-max-frequency = <5000>; > + m25p,fast-read; > + spi-tx-bus-width = <4>; > + spi-rx-bus-width = <4>; > + }; > +}; > + > +&qspi2 { > + status = "okay"; > + mmc@0 { > + compatible = "mmc-spi-slot"; > + reg = <0>; > + spi-max-frequency = <2000>; > + voltage-ranges = <3300 3300>; > + disable-wp; > + }; > +}; > -- > 2.20.1 > > > ___ > linux-riscv mailing list > linux-ri...@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv -- Best regards,   Antony Pavlov

[PATCH v3 2/2] MIPS: use generic GCC library routines from lib/

2018-01-31 Thread Antony Pavlov
ned-off-by: Antony Pavlov Cc: Palmer Dabbelt Cc: Matt Redfearn Cc: James Hogan Cc: Ralf Baechle Cc: linux-m...@linux-mips.org Cc: linux-kernel@vger.kernel.org --- arch/mips/Kconfig | 5 + arch/mips/lib/Makefile | 2 +- arch/mips/lib/ashldi3.c | 30 -- arc

[PATCH v3 1/2] Add notrace to lib/ucmpdi2.c

2018-01-31 Thread Antony Pavlov
From: Palmer Dabbelt As part of the MIPS conversion to use the generic GCC library routines, Matt Redfearn discovered that I'd missed a notrace on __ucmpdi2(). This patch rectifies the problem. CC: Matt Redfearn CC: Antony Pavlov Signed-off-by: Palmer Dabbelt Reviewed-by: Matt Red

[PATCH v3 0/2] MIPS: use generic GCC library routines from lib/

2018-01-31 Thread Antony Pavlov
the CONFIG_* options in arch/mips/Kconfig alphabetically; * add notrace to lib/ucmpdi2.c. Antony Pavlov (1): MIPS: use generic GCC library routines from lib/ Palmer Dabbelt (1): Add notrace to lib/ucmpdi2.c arch/mips/Kconfig | 5 + arch/mips/lib/Makefile | 2 +- arch/mips/lib

[PATCH v2 1/2] Add notrace to lib/ucmpdi2.c

2018-01-30 Thread Antony Pavlov
From: Palmer Dabbelt As part of the MIPS conversion to use the generic GCC library routines, Matt Redfearn discovered that I'd missed a notrace on __ucmpdi2(). This patch rectifies the problem. CC: Matt Redfearn CC: Antony Pavlov Signed-off-by: Palmer Dabbelt --- lib/ucmpdi2.c | 2

[PATCH v2 2/2] MIPS: use generic GCC library routines from lib/

2018-01-30 Thread Antony Pavlov
ned-off-by: Antony Pavlov Cc: Palmer Dabbelt Cc: Matt Redfearn Cc: James Hogan Cc: Ralf Baechle Cc: linux-m...@linux-mips.org Cc: linux-kernel@vger.kernel.org --- arch/mips/Kconfig | 5 + arch/mips/lib/Makefile | 2 +- arch/mips/lib/ashldi3.c | 30 -- arc

[PATCH v2 0/2] MIPS: use generic GCC library routines from lib/

2018-01-30 Thread Antony Pavlov
Changes since v1 patch series (https://www.linux-mips.org/archives/linux-mips/2018-01/msg00394.html): * sort the CONFIG_* options in arch/mips/Kconfig alphabetically; * add notrace to lib/ucmpdi2.c. Antony Pavlov (1): MIPS: use generic GCC library routines from lib/ Palmer Dabbelt (1

Re: [PATCH] MIPS: use generic GCC library routines from lib/

2018-01-18 Thread Antony Pavlov
several > > architectures. > > > > This commit removes several generic GCC library > > routines from arch/mips/lib/ in favour of similar > > routines from lib/. > > > > Signed-off-by: Antony Pavlov > > Cc: Palmer Dabbelt > > Cc: Ralf Baechle &

Re: [PATCH] MIPS: use generic GCC library routines from lib/

2018-01-17 Thread Antony Pavlov
On Wed, 17 Jan 2018 09:03:48 + Matt Redfearn wrote: > Hi, > > On Wed, Jan 17, 2018 at 09:51:21AM +0300, Antony Pavlov wrote: > > The commit b35cd9884fa5 ("lib: Add shared copies of > > some GCC library routines") makes it possible > > to share ge

[PATCH] MIPS: use generic GCC library routines from lib/

2018-01-16 Thread Antony Pavlov
ned-off-by: Antony Pavlov Cc: Palmer Dabbelt Cc: Ralf Baechle Cc: linux-m...@linux-mips.org Cc: linux-kernel@vger.kernel.org --- arch/mips/Kconfig | 5 + arch/mips/lib/Makefile | 2 +- arch/mips/lib/ashldi3.c | 30 -- arch/mips/lib/ashr

Re: [PATCH] MIPS: ath79: Add initial support for the HAPROXY Aloha Pocket board

2016-10-04 Thread Antony Pavlov
really disturbing. > > I will push a dts instead. Please note that currently some led's names in device tree files are wrong (e.g. dragino2 device tree https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/mips/boot/dts/qca/ar9331_dragino_ms14.dts . My bad! I have just copied led's names from OpenWRT platform files). Please see the 'LED Device Naming' chapter for correct led naming scheme: http://lxr.free-electrons.com/source/Documentation/leds/leds-class.txt#L41 --  Best regards,   Antony Pavlov

Re: [PATCH] MIPS: devicetree: fix cpu interrupt controller node-names

2016-05-24 Thread Antony Pavlov
On Mon, 23 May 2016 10:47:16 -0500 Rob Herring wrote: > On Mon, May 23, 2016 at 6:39 AM, Antony Pavlov > wrote: > > Here is the quote from [1]: > > > > The unit-address must match the first address specified > > in the reg property of the node. I

[PATCH] MIPS: devicetree: fix cpu interrupt controller node-names

2016-05-23 Thread Antony Pavlov
patch adjusts MIPS dts-files and devicetree binding documentation in accordance with [1]. [1] Power.org(tm) Standard for Embedded Power Architecture(tm) Platform Requirements (ePAPR). Version 1.1 – 08 April 2011. Chapter 2.2.1.1 Node Name Requirements Signed-off-by: Antony Pavlov

[PATCH] fixup! MIPS: ath79: Disable platform code for OF boards.

2016-03-31 Thread Antony Pavlov
--- arch/mips/ath79/setup.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/mips/ath79/setup.c b/arch/mips/ath79/setup.c index 897f49a..7adab18 100644 --- a/arch/mips/ath79/setup.c +++ b/arch/mips/ath79/setup.c @@ -215,9 +215,11 @@ void __init plat_mem_setup(void)

Re: [PATCH] MIPS: ath79: fix build failure

2016-03-31 Thread Antony Pavlov
On Wed, 30 Mar 2016 23:56:18 +0200 Ralf Baechle wrote: > On Wed, Mar 30, 2016 at 10:13:29PM +0300, Antony Pavlov wrote: > > > It is very strange because my original patch has this closing brace. > > Please see my original patch > > https://www.linux-mips.org/archives/lin

Re: [PATCH] MIPS: ath79: fix build failure

2016-03-30 Thread Antony Pavlov
up); > > It turns out to be a simple error of a missed closing brace. > > Fixes: f63ba725caa7 ("MIPS: ath79: Disable platform code for OF boards.") > Cc: Antony Pavlov > Signed-off-by: Sudip Mukherjee > --- > > Build log of next-20160330 is at: > https:/

Re: Nonterministic hang during bootconsole/console handover on ath79

2016-03-21 Thread Antony Pavlov
definitely on THRE, Can you use EJTAG to prove your theory? --  Best regards,   Antony Pavlov

WARNING: DT compatible string vendor "mips" appears un-documented

2016-03-19 Thread Antony Pavlov
; vendor string: linux$ grep MIPS Documentation/devicetree/bindings/vendor-prefixes.txt mtiImagination Technologies Ltd. (formerly MIPS Technologies Inc.) Can we add an another one vendor string for MIPS? Any advice and suggestions will be greatly appreciated! --  Best regards,   Antony Pavlov

Re: [RFC v5 07/15] usb: ehci: add vbus-gpio parameter

2016-02-18 Thread Antony Pavlov
On Thu, 18 Feb 2016 21:31:20 +0300 Sergei Shtylyov wrote: > On 02/18/2016 09:06 PM, Antony Pavlov wrote: [...] > > so I use regulator in the TL-MR3020 board dts file: > > > > reg_usb_vbus: reg_usb_vbus { > > compatible = "regulator-fixed&

Re: [RFC v5 07/15] usb: ehci: add vbus-gpio parameter

2016-02-18 Thread Antony Pavlov
On Thu, 18 Feb 2016 11:12:43 -0500 (EST) Alan Stern wrote: > On Tue, 9 Feb 2016, Antony Pavlov wrote: > > > This patch retrieves and configures the vbus control gpio via > > the device tree. > > > > This patch is based on a ehci-s5p.c commit fd81d59c90d38661 >

Re: [RFC v5 07/15] usb: ehci: add vbus-gpio parameter

2016-02-09 Thread Antony Pavlov
On Tue, 9 Feb 2016 23:15:20 +0100 Alban wrote: > On Tue, 9 Feb 2016 11:13:53 +0300 > Antony Pavlov wrote: > > > This patch retrieves and configures the vbus control gpio via > > the device tree. > > Wouldn't using a regulator be better than hard coding th

[RFC v5 07/15] usb: ehci: add vbus-gpio parameter

2016-02-09 Thread Antony Pavlov
This patch retrieves and configures the vbus control gpio via the device tree. This patch is based on a ehci-s5p.c commit fd81d59c90d38661 ("USB: ehci-s5p: Add vbus setup function to the s5p ehci glue layer"). Signed-off-by: Antony Pavlov Cc: Alan Stern Cc: Greg Kroah-Hartman

phy: please review ATH79 USB phy driver

2016-01-31 Thread Antony Pavlov
w the patches? --  Best regards,   Antony Pavlov

Re: [PATCH v4 12/12] MIPS: Add basic support for the TL-WR1043ND version 1

2015-06-22 Thread Antony Pavlov
gt;; > + }; > + > + partition@2 { > + label = "art"; > + reg = <0x7F 0x01>; > + read-only; > +

Re: [PATCH v4 12/12] MIPS: Add basic support for the TL-WR1043ND version 1

2015-06-22 Thread Antony Pavlov
On Sat, 20 Jun 2015 12:51:37 +0200 Alban wrote: > On Mon, 15 Jun 2015 10:42:13 +0300 > Antony Pavlov wrote: > > > On Wed, 10 Jun 2015 23:58:11 +0200 > > Alban wrote: > > > > > On Mon, 8 Jun 2015 13:17:58 +0300 > > > Antony Pavlov wrote: >

Re: [PATCH v4 12/12] MIPS: Add basic support for the TL-WR1043ND version 1

2015-06-15 Thread Antony Pavlov
On Wed, 10 Jun 2015 23:58:11 +0200 Alban wrote: > On Mon, 8 Jun 2015 13:17:58 +0300 > Antony Pavlov wrote: > > > IMHO AR9132 SoC can't work without external oscilator. > > > > Can we just move basic extosc declaration to SoC dt file > > (ar9132.dtsi)?

Re: [PATCH v4 12/12] MIPS: Add basic support for the TL-WR1043ND version 1

2015-06-08 Thread Antony Pavlov
scillator { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <4000>; }; ... ahb { apb { ... pll-controller@1805 { ... clocks = <&extosc>; ...

Re: Looking for good references for ARM driver development

2014-11-20 Thread Antony Pavlov
azzoni-device-tree-dummies/petazzoni-device-tree-dummies.pdf ** see also http://www.youtube.com/watch?v=m_NyYEBxfn8 * https://archive.fosdem.org/2013/schedule/event/arm_in_the_linux_kernel/attachments/slides/273/export/events/attachments/arm_in_the_linux_kernel/slides/273/arm_support_kernel.pdf

[RFC] kbuild: fix ld-option function

2013-04-02 Thread Antony Pavlov
m /tmp/1.o $ mips-linux-gcc -x c /dev/null -c -o /tmp/1.o $ ls -la /tmp/1.o -rw-r--r-- 1 antony antony 778 Apr 2 20:40 /tmp/1.o Signed-off-by: Antony Pavlov --- scripts/Kbuild.include |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Kbuild.include b/scr