Re: [linux-sunxi][PATCH 2/2] ARM: dts: sun4i: Add rikomagic mk802+ board

2015-12-08 Thread Julian Calaby
SOFTWARE OR THE USE OR > + * OTHER DEALINGS IN THE SOFTWARE. > + */ > + > +/dts-v1/; > +#include "sun4i-a10-mk802.dtsi" > + > +/ { > + model = "Rikomagic MK802+"; > + compatible = "rikomagic,mk802-1gb", "allwinner,sun4i-a10&qu

Re: [linux-sunxi] [PATCH] spi: dts: sun4i: Add support for inter-word wait cycles using the SPI Wait Clock Register

2015-11-20 Thread Julian Calaby
Hi Marcus, On Fri, Nov 20, 2015 at 7:45 PM, Marcus Weseloh wrote: > Hi Julian, > > 2015-11-19 23:59 GMT+01:00 Julian Calaby : >> Should you possibly hide the 3 clock periods from the user? >> >> I.e. they set whatever they want for the wdelay, we set it to the >

Re: [linux-sunxi] [PATCH] spi: dts: sun4i: Add support for inter-word wait cycles using the SPI Wait Clock Register

2015-11-19 Thread Julian Calaby
> SPI clock periods (plus a constant 3 clock periods) before transmitting > the next word. Should you possibly hide the 3 clock periods from the user? I.e. they set whatever they want for the wdelay, we set it to the closest number we can that's greater or equal to what they ask for. Tha

Re: [linux-sunxi] [PATCH v4 2/6] clk: sunxi: Add H3 clocks support

2015-11-04 Thread Julian Calaby
Hi Maxime, On Thu, Nov 5, 2015 at 3:23 AM, Maxime Ripard wrote: > Hi Julian, > > On Wed, Oct 28, 2015 at 10:12:09AM +1100, Julian Calaby wrote: >> > + of_property_for_each_u32(node, "clock-indices", prop, p, index) { >> > + of_property_

Re: [linux-sunxi] [PATCH v4 2/6] clk: sunxi: Add H3 clocks support

2015-10-27 Thread Julian Calaby
clk_parent = AHB1; > + else if (index >= 64 && index <= 95) > + clk_parent = APB1; > + else if (index >= 96 && index <= 127) > + clk_parent = APB2; A way to make this reusable in the

Re: [linux-sunxi] [PATCH 2/6] clk: sunxi: Add H3 clocks support

2015-10-21 Thread Julian Calaby
clk_name[i] != '_' && > - clk_name[i] != '\0'; i++) { > + clk_name[i] != '\0'; i++) > base_name[i] = clk_name[i]; &

Re: [linux-sunxi] [PATCH 2/6] mfd: axp20x: Split the driver into core and i2c bits

2015-10-14 Thread Julian Calaby
AXP288 power management IC (PMIC). > + If you say Y here you get support for the X-Powers AXP series I2C > + based power management ICs (PMICs). > This driver include only the core APIs. You have to select > individual > components like regulators

Re: [PATCH 13/25] scsi: hisi_sas: add path from phyup irq to SAS framework

2015-10-12 Thread Julian Calaby
have lost the actual warnings here. > Please review and possibly fold the followup patch. Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/ -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the bod

Re: [linux-sunxi] Re: Re-using sun5i-a13.dtsi for the r8 ?

2015-08-24 Thread Julian Calaby
Hi Maxime, On Tue, Aug 25, 2015 at 3:14 PM, Maxime Ripard wrote: > On Tue, Aug 25, 2015 at 10:24:51AM +1000, Julian Calaby wrote: >> Hi Maxime, >> >> On Tue, Aug 25, 2015 at 12:26 AM, Maxime Ripard >> wrote: >> > Hi, >> > >> > On Fri,

Re: [linux-sunxi] Re: Re-using sun5i-a13.dtsi for the r8 ?

2015-08-24 Thread Julian Calaby
not, then yeah, we'll have to make another > DTSI. IMHO that's enough of a change to warrant a new DTSI, I feel that someone's going to use the lack of DTSI as "proof" that we don't support the R8 or try to use the tv encoder on an A13. Thanks, -- Julian

Re: [linux-sunxi] [PATCH] ARM: dts: sunxi: Raise minimum CPU voltage for sun7i-a20 to a level all boards can supply

2015-08-03 Thread Julian Calaby
Hi Maxime, On Mon, Aug 3, 2015 at 7:34 PM, Maxime Ripard wrote: > On Mon, Aug 03, 2015 at 11:03:52AM +0200, Timo Sigurdsson wrote: >> Hi again, >> >> Julian Calaby schrieb am 03.08.2015 06:22: >> > My only real objection here is are there boards that can go down

Re: [linux-sunxi] [PATCH] ARM: dts: sunxi: Raise minimum CPU voltage for sun7i-a20 to a level all boards can supply

2015-08-02 Thread Julian Calaby
Hi Chen-Yu, On Mon, Aug 3, 2015 at 12:37 PM, Chen-Yu Tsai wrote: > Hi, > > On Mon, Aug 3, 2015 at 7:35 AM, Julian Calaby wrote: >> Hi Timo, >> >> On Mon, Aug 3, 2015 at 5:23 AM, Timo Sigurdsson >> wrote: >>> sun7i-a20.dtsi contains an cpufreq operatin

Re: [linux-sunxi] [PATCH] ARM: dts: sunxi: Raise minimum CPU voltage for sun7i-a20 to a level all boards can supply

2015-08-02 Thread Julian Calaby
ernatively, would it make sense to modify the code that uses this to use frequencies with voltages specified that are lower than can be supplied with the lowest voltage it can?) Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/ -- To u

Re: [linux-sunxi] [PATCH 1/4] ARM: dts: sunxi: Add regulator-boot-on to usb host port regulator nodes

2015-06-22 Thread Julian Calaby
Hi Hans, On Mon, Jun 22, 2015 at 6:28 PM, Hans de Goede wrote: > Hi, > > On 22-06-15 02:30, Julian Calaby wrote: >> >> Hi Hans, >> >> On Sun, Jun 21, 2015 at 1:40 AM, Hans de Goede >> wrote: >>> >>> u-boot will have turned on the power

Re: [linux-sunxi] [PATCH 1/4] ARM: dts: sunxi: Add regulator-boot-on to usb host port regulator nodes

2015-06-21 Thread Julian Calaby
t; harddisks. Stupid question: shouldn't u-boot set this property? Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/ -- To unsubscribe from this list: send the line "unsubscribe devicetree" in

Re: [linux-sunxi] [PATCH] ARM: dts: sun8i: Add dts file for the GA10H-A33 tablet

2015-06-02 Thread Julian Calaby
Hi Jon, On Wed, Jun 3, 2015 at 10:40 AM, jonsm...@gmail.com wrote: > On Tue, Jun 2, 2015 at 8:35 PM, Julian Calaby wrote: >> Hi Jon, >> >> On Wed, Jun 3, 2015 at 6:20 AM, jonsm...@gmail.com >> wrote: >>> Resend with plain text for image links >>&g

Re: [linux-sunxi] [PATCH] ARM: dts: sun8i: Add dts file for the GA10H-A33 tablet

2015-06-02 Thread Julian Calaby
G/tree/master/kernel/drivers/net/wireless/rda5990 (Code implies GPL but is missing copyright / license notices, might be for an older part.) On an unrelated note, is MediaTek buying up every last small manufacturer of WiFi parts? Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile

Re: [linux-sunxi] [PATCH 1/2] clk: sunxi: Add support for the usb-clk on sun8i a23 and a33 SoCs

2015-06-01 Thread Julian Calaby
the 3th phy, but not exactly the same bits so we need > a new compatible for this. Minor spelling note: it's "3rd" not "3th". Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/ -- To unsubscribe from this lis

Re: [PATCH v3 2/2] ata: ahci_xgene: Add AHCI Support for 2nd HW version of APM X-Gene SoC AHCI SATA Host controller.

2015-05-03 Thread Julian Calaby
2f79f9e35b ("ahci_xgene: Removing NCQ support from the APM X-Gene > SoC AHCI SATA Host Controller driver") Won't this mean that the 1st HW version won't work properly? Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/prof

Re: [linux-sunxi] [PATCH 3/3] MTD: m25p80: Add option to limit SPI transfer size.

2015-04-30 Thread Julian Calaby
jected as the maximum transfer size is a property of the SPI controller, not the device and should be exported to the device driver from the controller, not specified in the device's binding. Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles

Re: [PATCH] of: return NUMA_NO_NODE from fallback of_node_to_nid()

2015-04-08 Thread Julian Calaby
ff ff 49 89 c5 e9 ce fd ff ff 31 c0 90 e9 74 ff > ff ff 49 c7 04 04 00 00 00 00 e9 05 ff ff ff 4c 89 e7 ff d0 e9 d9 fe ff ff > <0f> 0b 4c 8b 73 38 44 89 e7 81 cf 00 00 20 00 4c 89 f6 48 c1 ee > [0.028000] RIP [] new_slab+0x30c/0x3c0 > [0.028000] RSP > [0.028039] ---[ en

Re: [linux-sunxi] [PATCH 09/15] ARM: dts: sun4i: Add USB Dual Role Controller

2015-03-09 Thread Julian Calaby
USB_MUSB_SUNXI > tristate "Allwinner (sunxi)" > depends on ARCH_SUNXI > + depends on NOP_USB_XCEIV Shouldn't this be in a different patch? Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/ -- To unsubsc

Re: [linux-sunxi] [PATCH 4/9] rc: sunxi-cir: Add support for an optional reset controller

2014-11-20 Thread Julian Calaby
clk_disable_unprepare(ir->clk); > clk_disable_unprepare(ir->apb_clk); > + if (ir->rst) > + reset_control_assert(ir->rst); > > spin_lock_irqsave(&ir->ir_lock, flags); > /* disable IR IRQ */ > -- > 2.1.0 >

Re: [linux-sunxi] [PATCH 2/4] simplefb: Add support for enumerating simplefb dt nodes in /chosen

2014-11-13 Thread Julian Calaby
re infinite nodes in the devicetree, >>> which would make the devicetree infinitely large, so this will never happen. >> >> If there are 1 frame buffers, the loop will continue beyond that, >> as the index will be truncated to 4 digits due to the size of name[]. >&

Re: [linux-sunxi] [PATCH 2/4] simplefb: Add support for enumerating simplefb dt nodes in /chosen

2014-11-12 Thread Julian Calaby
(ret) > + return ret; > + > + for (i = 0; ; i++) { > + snprintf(name, sizeof(name), "framebuffer%d", i); This smells like an infinite loop: we can be pretty sure that no hardware will ever exist with more than (I think?) framebuffers,

Re: [linux-sunxi] Re: Fixing boot-time hiccups in your display

2014-10-05 Thread Julian Calaby
ommand > at the right point in the bootscript. It is also not fatal if the > command is inserted at the wrong point, things will just needlessly > flicker. It not even fatal if you never run this command, you'll just > leave clocks/regulators turned on that could be turned off.