Re: [PATCH 1/2] drm: bridge: sil902x

2016-01-06 Thread Sascha Hauer
On Wed, Jan 06, 2016 at 10:35:37AM -0500, Ilia Mirkin wrote: > On Wed, Jan 6, 2016 at 10:26 AM, Sascha Hauer wrote: > > On Wed, Jan 06, 2016 at 02:53:30PM +0100, Boris Brezillon wrote: > >> Hi Sascha, > >> > >> On Wed, 6 Jan 2016 14:47:36 +0100 > >&

Re: [PATCH 1/2] drm: bridge: sil902x

2016-01-06 Thread Sascha Hauer
On Wed, Jan 06, 2016 at 02:53:30PM +0100, Boris Brezillon wrote: > Hi Sascha, > > On Wed, 6 Jan 2016 14:47:36 +0100 > Sascha Hauer wrote: > > > Hi Boris, > > > > On Wed, Jan 06, 2016 at 12:25:50PM +0100, Boris Brezillon wrote: > > > Add basic

Re: [PATCH 1/2] drm: bridge: sil902x

2016-01-06 Thread Sascha Hauer
Hi Boris, On Wed, Jan 06, 2016 at 12:25:50PM +0100, Boris Brezillon wrote: > Add basic support for the sil902x RGB -> HDMI bridge. > This driver does not support audio output yet. > > Signed-off-by: Boris Brezillon > --- > Hello, > > This patch is only adding basic support for the sil9022 chip.

Re: [PATCH v3 2/4] devicetree: bindings: let thermal-sensor point to other thermal zones

2016-01-04 Thread Sascha Hauer
On Wed, Nov 25, 2015 at 03:09:44PM +, Javi Merino wrote: > The thermal-sensor property of the thermal zone node accepts phandles to > thermal sensors. However, thermal zones can be created as an > aggregation of other thermal zones. Extend the thermal-sensors property > to allow phandles to o

Re: [PATCH 1/3] ARM: dts: imx: Add basic dts support for imx6qp

2015-12-11 Thread Sascha Hauer
On Fri, Dec 11, 2015 at 06:45:20PM +0800, Bai Ping wrote: > The i.MX6Qual Plus processor is an high performance SOC of i.MX6 family. Qual is German for pain. Is that what you mean? Sascha -- Pengutronix e.K. | | Industrial Linux Solutions

Re: [PATCH] net/macb: add support for resetting PHY using GPIO

2015-12-11 Thread Sascha Hauer
On Fri, Dec 11, 2015 at 10:40:22AM +0100, Gregory CLEMENT wrote: > Hi Sascha, > > On ven., déc. 11 2015, Sascha Hauer wrote: > > > On Thu, Dec 10, 2015 at 04:08:08PM +0100, Gregory CLEMENT wrote: > >> Hi Sascha, > >> > >> On jeu., déc. 10 2015,

Re: [PATCH] net/macb: add support for resetting PHY using GPIO

2015-12-11 Thread Sascha Hauer
On Thu, Dec 10, 2015 at 04:08:08PM +0100, Gregory CLEMENT wrote: > Hi Sascha, > > On jeu., déc. 10 2015, Sascha Hauer wrote: > > > Hi Gregory, > > > > On Wed, Dec 09, 2015 at 06:49:43PM +0100, Gregory CLEMENT wrote: > >> With device tree it is no

Re: [PATCH] net/macb: add support for resetting PHY using GPIO

2015-12-09 Thread Sascha Hauer
Hi Gregory, On Wed, Dec 09, 2015 at 06:49:43PM +0100, Gregory CLEMENT wrote: > With device tree it is no more possible to reset the PHY at board > level. Furthermore, doing in the driver allow to power down the PHY when > the network interface is no more used. > > The patch introduces a new optio

Re: [RFC][PATCH] misc: Introduce reboot_reason driver

2015-12-09 Thread Sascha Hauer
Hi John, On Tue, Dec 08, 2015 at 01:29:22PM -0800, John Stultz wrote: > This patch adds a basic driver to allow for commands like > "reboot bootloader" and "reboot recovery" to communicate this > reboot-reason to the bootloader. > > This is commonly done on Android devices, in order to reboot > t

Re: [RFC][PATCH] misc: Introduce reboot_reason driver

2015-12-09 Thread Sascha Hauer
Hi John, Only a small comment On Tue, Dec 08, 2015 at 01:29:22PM -0800, John Stultz wrote: > +static int reboot_reason_probe(struct platform_device *pdev) > +{ > + struct resource *res; > + u32 val; > + int i; > + > + /* initialize the reasons */ > + for (i = 0; i < MAX_REASON

Re: [RFC][PATCH] misc: Introduce reboot_reason driver

2015-12-09 Thread Sascha Hauer
On Tue, Dec 08, 2015 at 04:13:35PM -0800, John Stultz wrote: > On Tue, Dec 8, 2015 at 1:52 PM, Arnd Bergmann wrote: > > > > On Tuesday 08 December 2015 13:29:22 John Stultz wrote: > > > > > diff --git a/arch/arm/boot/dts/qcom-apq8064-nexus7-flo.dts > > > b/arch/arm/boot/dts/qcom-apq8064-nexus7-fl

Re: [PATCH 1/3] usb: misc: generic_onboard_hub: add generic onboard USB HUB driver

2015-12-08 Thread Sascha Hauer
On Tue, Dec 08, 2015 at 05:26:56PM +0800, Peter Chen wrote: > On Tue, Dec 08, 2015 at 07:19:05AM +0100, Sascha Hauer wrote: > > > + hub_data = devm_kzalloc(dev, sizeof(*hub_data), GFP_KERNEL); > > > + if (!hub_data) > > > + return -ENOMEM; &g

Re: [PATCH 1/3] usb: misc: generic_onboard_hub: add generic onboard USB HUB driver

2015-12-07 Thread Sascha Hauer
On Tue, Dec 08, 2015 at 09:37:48AM +0800, Peter Chen wrote: > Current USB HUB driver lacks of platform interfaces to configure > external signal on HUB chip, eg, the PHY input clock and gpio reset > pin for HUB, these kinds of HUBs are usually soldered at the board, > and they are not hot-plug USB

Re: [PATCH 1/2] bus: imx-weim: assert GPIO at boot in order to connect NOR

2015-12-07 Thread Sascha Hauer
On Sat, Dec 05, 2015 at 07:30:56PM -0800, alchai...@gmail.com wrote: > From: Alison Chaiken > > PAD_EIM_D18 must be pulled low at boot in order for the parallel NOR > connected to the EIM switch to probe properly. Otherwise > cfi_qry_present() may return "U-V-]" rather than "Q-R-Y" if the > PAD_

[PATCH 1/2] dt-bindings: soc: Add supplies for Mediatek SCPSYS unit

2015-11-30 Thread Sascha Hauer
The power domains in the SCPSYS unit are supplied by regulators. Add the properties for them to the binding document. Signed-off-by: Sascha Hauer Cc: devicetree@vger.kernel.org --- Documentation/devicetree/bindings/soc/mediatek/scpsys.txt | 12 1 file changed, 12 insertions

[PATCH 2/2] dt-bindings: iio: adc: Update mcp342x binding for the mcp3421

2015-11-27 Thread Sascha Hauer
The mcp3421 is the single channel variant of the mcp342x family and can be supported by the mcp342x driver. Signed-off-by: Sascha Hauer Cc: devicetree@vger.kernel.org --- Documentation/devicetree/bindings/iio/adc/mcp3422.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a

Re: [PATCH 2/3] thermal: Add Mediatek thermal controller support

2015-11-18 Thread Sascha Hauer
On Fri, Nov 13, 2015 at 11:26:37AM +, Javi Merino wrote: > On Fri, Nov 13, 2015 at 11:09:12AM +0100, Sascha Hauer wrote: > > On Wed, Nov 11, 2015 at 08:27:47AM +0100, Sascha Hauer wrote: > > > On Tue, Nov 10, 2015 at 10:26:30AM -0800, Eduardo Valentin wrote: > > > &

Re: [PATCH 2/3] thermal: Add Mediatek thermal controller support

2015-11-18 Thread Sascha Hauer
On Mon, Nov 09, 2015 at 04:39:37PM +0200, Andy Shevchenko wrote: > On Mon, Nov 9, 2015 at 12:13 PM, Sascha Hauer wrote: > > This adds support for the Mediatek thermal controller found on MT8173 > > and likely other SoCs. > > The controller is a bit special. It does not have

Re: [PATCH 2/3] thermal: Add Mediatek thermal controller support

2015-11-13 Thread Sascha Hauer
On Wed, Nov 11, 2015 at 08:27:47AM +0100, Sascha Hauer wrote: > On Tue, Nov 10, 2015 at 10:26:30AM -0800, Eduardo Valentin wrote: > > On Tue, Nov 10, 2015 at 12:05:54PM +, Javi Merino wrote: > > > On Mon, Nov 09, 2015 at 11:13:32AM +0100,

Re: [PATCH 2/3] thermal: Add Mediatek thermal controller support

2015-11-10 Thread Sascha Hauer
On Tue, Nov 10, 2015 at 10:26:30AM -0800, Eduardo Valentin wrote: > On Tue, Nov 10, 2015 at 12:05:54PM +, Javi Merino wrote: > > On Mon, Nov 09, 2015 at 11:13:32AM +0100, Sascha Hauer wrote: > > > > > > + > > > +/* > > > + * The MT8173 thermal

[PATCH v10] Add Mediatek thermal support

2015-11-09 Thread Sascha Hauer
This series adds support for the thermal sensors included in the MT8173 SoC. Currently only basic temperature reading is supported without any interrupt support. The cpufreq driver for MT8173 is currently under review, so there's no real cooling device available in mainline. Until this is availab

[PATCH 2/3] thermal: Add Mediatek thermal controller support

2015-11-09 Thread Sascha Hauer
using AHB bus accesses, so we need the APMIXEDSYS physical address aswell. Signed-off-by: Sascha Hauer --- drivers/thermal/Kconfig | 8 + drivers/thermal/Makefile | 1 + drivers/thermal/mtk_thermal.c | 619 ++ 3 files changed, 628 insertions

[PATCH 1/3] dt-bindings: thermal: Add binding document for Mediatek thermal controller

2015-11-09 Thread Sascha Hauer
This adds the device tree binding documentation for the mediatek thermal controller found on Mediatek MT8173 and other SoCs. Signed-off-by: Sascha Hauer Reviewed-by: Daniel Kurtz --- .../bindings/thermal/mediatek-thermal.txt | 43 ++ 1 file changed, 43 insertions

[PATCH 3/3] ARM64: dts: mt8173: Add thermal/auxadc device nodes

2015-11-09 Thread Sascha Hauer
This adds the thermal controller and auxadc nodes to the Mediatek MT8173 dtsi file. Signed-off-by: Sascha Hauer Reviewed-by: Daniel Kurtz --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi

Re: [PATCH] mtd: ofpart: drop undocumented, nonfunctional 'lock' property

2015-10-27 Thread Sascha Hauer
Hi Brian, On Mon, Oct 26, 2015 at 06:56:06PM -0700, Brian Norris wrote: > The 'lock' property of a partition does nothing, because it effectively > only sets the flags for the partition device, not the master device. And > no MTD driver checks for MTD_POWERUP_LOCK in the partition device, only > t

Re: [PATCH 2/3] nvmem: mediatek: Add Mediatek EFUSE driver

2015-10-26 Thread Sascha Hauer
On Mon, Oct 26, 2015 at 09:56:24AM +, Srinivas Kandagatla wrote: > >+.val_bits = 32, > >+.reg_stride = 4, > >+}; > >+ > >+static int mtk_efuse_probe(struct platform_device *pdev) > >+{ > >+struct device *dev = &pdev->dev; > >+struct resource *res; > >+struct nvmem_device *nv

Re: [PATCH 1/3] dt-bindings: add document of mediatek efuse driver

2015-10-26 Thread Sascha Hauer
On Mon, Oct 26, 2015 at 09:56:14AM +, Srinivas Kandagatla wrote: > > > On 16/10/15 09:39, andrew-ct.c...@mediatek.com wrote: > >From: Andrew-CT Chen > > > >Add Mediatek MT8173 EFUSE Devicetree binding file > > > >Signed-off-by: Andrew-CT Chen > > Looks good to me, minor comment below. > >

Re: [PATCH 0/3] Mediatek EFUSE Support

2015-10-18 Thread Sascha Hauer
one who motivated using nvmem for the efuses and having reviewed the first internal version of this driver, this version looks ok to me. Reviewed-by: Sascha Hauer Sascha -- Pengutronix e.K. | | Industrial Linux Solutions

Re: [PATCH 3/4] mmc: mediatek: Add tune support

2015-10-14 Thread Sascha Hauer
On Thu, Oct 15, 2015 at 10:46:20AM +0800, Chaotian Jing wrote: > On Wed, 2015-10-14 at 12:05 +0200, Ulf Hansson wrote: > > On 13 October 2015 at 11:37, Chaotian Jing > > wrote: > > > Add CMD19/CMD21 support for EMMC/SD/SDIO tuning > > > Add HS400 mode support > > > > > > Signed-off-by: Chaotian J

Re: [PATCH 3/4] mmc: mediatek: Add tune support

2015-10-14 Thread Sascha Hauer
Hi, On Tue, Oct 13, 2015 at 05:37:57PM +0800, Chaotian Jing wrote: > @@ -1260,6 +1547,16 @@ static int msdc_drv_probe(struct platform_device *pdev) > goto host_free; > } > > + host->src_clk_parent = clk_get_parent(host->src_clk); > + host->hs400_src = devm_clk_get(&pd

Re: [PATCH 5/5] arm64: dts: spi bus dts support multiple devices

2015-10-13 Thread Sascha Hauer
On Wed, Oct 14, 2015 at 11:23:35AM +0800, Leilk Liu wrote: > This patch support multiple devices for MT8173. The subject of this patch and also the above sentence should contain the board name this patch is changing so that the reader knows this is about a single board, and not arm64 in general.

Re: [PATCH 00/37] ARM: dts: Fix fixed regulators enable GPIO polarity

2015-10-12 Thread Sascha Hauer
> This patch series fixes those issues in all the DT sources after locating the > errors using the following script. Nice. For the i.MX boards: Reviewed-by: Sascha Hauer Sascha -- Pengutronix e.K. | | Industrial Linux Solutions

Re: [PATCH 2/3] thermal: Add Mediatek thermal controller support

2015-09-30 Thread Sascha Hauer
Hi Punit, On Wed, Sep 30, 2015 at 10:36:14AM +0100, Punit Agrawal wrote: > Hi Sascha, > > Re-posting a comment from v7. Perhaps you missed it... Uh, sorry. In fact I didn't miss it and I thought I have answered it. Appearantly I haven't. > > + struct mtk_thermal *mt = bank->mt; > > + int te

Re: [PATCH 2/3] thermal: Add Mediatek thermal controller support

2015-09-29 Thread Sascha Hauer
Hi Vladimir, On Wed, Sep 23, 2015 at 09:31:12PM +0300, Vladimir Zapolskiy wrote: > Hi Sascha, > > in case of OF_DYNAMIC enabled of_parse_phandle() requires of_node_put(), > which is fine to place right here. > > > + if (auxadc_phys_base == OF_BAD_ADDR) { > > + dev_err(&pdev->dev, "Ca

Re: [PATCH 2/3] thermal: Add Mediatek thermal controller support

2015-09-29 Thread Sascha Hauer
Hi Eduardo, On Tue, Sep 29, 2015 at 04:04:40PM -0700, Eduardo Valentin wrote: > On Wed, Sep 23, 2015 at 03:37:42PM +0200, Sascha Hauer wrote: > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include >

[PATCH 1/3] dt-bindings: thermal: Add binding document for Mediatek thermal controller

2015-09-23 Thread Sascha Hauer
This adds the device tree binding documentation for the mediatek thermal controller found on Mediatek MT8173 and other SoCs. Signed-off-by: Sascha Hauer Reviewed-by: Daniel Kurtz --- .../bindings/thermal/mediatek-thermal.txt | 38 ++ include/dt-bindings/thermal

[PATCH v9] Add Mediatek thermal support

2015-09-23 Thread Sascha Hauer
CNVAcdkMsEwpNWT1lf8+18ng brXWYXcDCniwr1Ye31NuakGdkWLzSolbpmWS5ValUtA/K9flfZBcnqJ5obF8ooD1 cMnyq4FMpYozhgRYoPVD3pooIBl+yqKNmNtphBftyozZKgPfdOjhPkoCx0hlpBuH 270RN+jva0dOJWk+FXGR =bcx6 -END PGP SIGNATURE- commit de42d22304311e6d5d711b85e66a281fe1035ba2 Author: Sascha Hauer Date: Tue May 12

[PATCH 2/3] thermal: Add Mediatek thermal controller support

2015-09-23 Thread Sascha Hauer
using AHB bus accesses, so we need the APMIXEDSYS physical address aswell. Signed-off-by: Sascha Hauer Reviewed-by: Daniel Kurtz --- drivers/thermal/Kconfig | 8 + drivers/thermal/Makefile | 1 + drivers/thermal/mtk_thermal.c | 537 ++ 3

[PATCH 3/3] ARM64: dts: mt8173: Add thermal/auxadc device nodes

2015-09-23 Thread Sascha Hauer
Signed-off-by: Sascha Hauer Reviewed-by: Daniel Kurtz --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index d18ee42..3b18f37 100644 --- a/arch

Re: [PATCH 2/3] thermal: Add Mediatek thermal controller support

2015-09-22 Thread Sascha Hauer
On Tue, Sep 22, 2015 at 03:30:47PM +0800, Daniel Kurtz wrote: > On Mon, Sep 14, 2015 at 3:32 PM, Daniel Kurtz wrote: > > > > Hi Sascha, > > > > On Mon, Aug 31, 2015 at 3:34 PM, Sascha Hauer > > wrote: > > > This adds support for the Mediatek thermal c

Re: [PATCH 0/5] New Atmel PIO4 pinctrl/gpio driver

2015-09-15 Thread Sascha Hauer
Hi Ludovic, On Mon, Sep 07, 2015 at 03:12:10PM +0200, Ludovic Desroches wrote: > Hi Sascha, > > Any comments about this version? Maybe you missed it since you answered > me on the RFC version. Of course I'll do the changes you requested for > the next version (remove gpio_request_*() stuff and ad

Re: [PATCH 2/5] pinctrl: dt-binding: Add DT binding documentation for Atmel PIO4

2015-09-15 Thread Sascha Hauer
nc.h file to get the > +right representation of the pin. > + > +Optional properties: > +- GENERIC_PINCONFIG: generic pinconfig options to use, bias-disable, > +bias-pull-down, bias-pull-up, drive-open-drain, input-schmitt-enable, > +input-debounce, output-low, output-high

Re: [PATCH 2/3] mtd: mtk-nor: mtk serial flash controller driver

2015-09-08 Thread Sascha Hauer
On Tue, Sep 08, 2015 at 05:49:55PM +0800, Bayi Cheng wrote: > add spi nor flash driver for mediatek controller > > Signed-off-by: Bayi Cheng > --- > drivers/mtd/spi-nor/Kconfig | 7 + > drivers/mtd/spi-nor/Makefile | 1 + > drivers/mtd/spi-nor/mtk_nor.c | 533 > ++

Re: [PATCH 1/3] doc: dt: add documentation for Mediatek spi-nor controller

2015-09-08 Thread Sascha Hauer
On Tue, Sep 08, 2015 at 05:49:54PM +0800, Bayi Cheng wrote: > Add device tree binding documentation for serial flash with > Mediatek serial flash controller > > Signed-off-by: Bayi Cheng > --- > Documentation/devicetree/bindings/mtd/mtk_nor.txt | 25 > +++ > 1 file changed,

Re: [PATCH 1/3] dt-bindings: thermal: Add binding document for Mediatek thermal controller

2015-08-31 Thread Sascha Hauer
On Mon, Aug 31, 2015 at 09:34:04AM +0200, Sascha Hauer wrote: > Signed-off-by: Sascha Hauer > Reviewed-by: Daniel Kurtz Uh, still forgot the commit log. Will add something like: This adds the device tree binding documentation for the mediatek thermal controller found on Mediatek MT81

[PATCH v8] Add Mediatek thermal support

2015-08-31 Thread Sascha Hauer
This series adds support for the thermal sensors included in the MT8173 SoC. Currently only basic temperature reading is supported without any interrupt support. The cpufreq driver for MT8173 is currently under review, so there's no real cooling device available in mainline. Until this is availabl

[PATCH 1/3] dt-bindings: thermal: Add binding document for Mediatek thermal controller

2015-08-31 Thread Sascha Hauer
Signed-off-by: Sascha Hauer Reviewed-by: Daniel Kurtz --- .../bindings/thermal/mediatek-thermal.txt | 38 ++ include/dt-bindings/thermal/mt8173.h | 13 2 files changed, 51 insertions(+) create mode 100644 Documentation/devicetree/bindings

[PATCH 3/3] ARM64: dts: mt8173: Add thermal/auxadc device nodes

2015-08-31 Thread Sascha Hauer
Signed-off-by: Sascha Hauer Reviewed-by: Daniel Kurtz --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 27237a1..ddacb86 100644 --- a/arch

[PATCH 2/3] thermal: Add Mediatek thermal controller support

2015-08-31 Thread Sascha Hauer
using AHB bus accesses, so we need the APMIXEDSYS physical address aswell. Signed-off-by: Sascha Hauer Reviewed-by: Daniel Kurtz --- drivers/thermal/Kconfig | 8 + drivers/thermal/Makefile | 1 + drivers/thermal/mtk_thermal.c | 537 ++ 3

Re: [PATCH 1/3] dt-bindings: thermal: Add binding document for Mediatek thermal controller

2015-08-31 Thread Sascha Hauer
vice tree maintainers. I've added a few folks here. Please keep > > them in the loop for future postings. > > > > Sascha Hauer writes: > > > >> Signed-off-by: Sascha Hauer > >> Reviewed-by: Daniel Kurtz > > > > P

Re: [PATCH v7 0/9] Fixes and new clocks support for Mediatek MT8173

2015-08-19 Thread Sascha Hauer
t;> and not controlled in CCF. > > > > For the whole series: > > Reviewed-by: Daniel Kurtz > > Hi Sascha, > > Are you happy with these patches now? Yes. Acked-by: Sascha Hauer Sascha -- Pengutronix e.K. |

Re: [PATCH v6 7/9] clk: mediatek: Add subsystem clocks of MT8173

2015-08-06 Thread Sascha Hauer
On Thu, Aug 06, 2015 at 05:13:21PM +0800, Daniel Kurtz wrote: > On Thu, Aug 6, 2015 at 5:00 PM, James Liao wrote: > > Hi Sascha, > > > > On Thu, 2015-08-06 at 10:53 +0200, Sascha Hauer wrote: > >> On Thu, Aug 06, 2015 at 04:23:51PM +0800, James Liao wrote: > >&

Re: [PATCH v3 3/8] soc: Mediatek: Add SCPSYS CPU power domain driver

2015-08-06 Thread Sascha Hauer
On Thu, Aug 06, 2015 at 10:59:02AM +0800, Scott Shu wrote: > On Wed, 2015-08-05 at 10:50 +0200, Sascha Hauer wrote: > > don't do this then it indeed doesn't make much sense to put it into the > > same file. > > > > From what I see we would need to c

Re: [PATCH v6 5/9] clk: mediatek: Fix rate and dependency of MT8173 clocks

2015-08-06 Thread Sascha Hauer
On Thu, Aug 06, 2015 at 04:35:32PM +0800, James Liao wrote: > Hi Sascha, > > On Wed, 2015-08-05 at 08:53 +0200, Sascha Hauer wrote: > > On Tue, Aug 04, 2015 at 04:16:54PM +0800, James Liao wrote: > > > -static const struct mtk_fixed_factor root_clk_alias[] __init

Re: [PATCH v6 7/9] clk: mediatek: Add subsystem clocks of MT8173

2015-08-06 Thread Sascha Hauer
On Thu, Aug 06, 2015 at 04:23:51PM +0800, James Liao wrote: > Hi Sascha, > > On Wed, 2015-08-05 at 08:46 +0200, Sascha Hauer wrote: > > On Tue, Aug 04, 2015 at 04:16:56PM +0800, James Liao wrote: > > > static const struct mtk_fixed_clk fixed_clks[] __initcon

Re: [PATCH v3 5/8] ARM: mediatek: add smp bringup code for MT6580

2015-08-05 Thread Sascha Hauer
On Wed, Aug 05, 2015 at 06:47:03PM +0200, Matthias Brugger wrote: > On Tuesday, August 04, 2015 09:54:21 PM Scott Shu wrote: > > Add support for cpu enable-method "mediatek,mt6580-smp" for booting > > secondary CPUs on MT6580. > > > > Signed-off-by: Scott Shu > > --- > > arch/arm/mach-mediatek/p

Re: [PATCH v3 3/8] soc: Mediatek: Add SCPSYS CPU power domain driver

2015-08-05 Thread Sascha Hauer
On Tue, Aug 04, 2015 at 09:54:19PM +0800, Scott Shu wrote: > This adds a CPU power domain driver for the Mediatek SCPSYS unit on > MT6580. > > Signed-off-by: Scott Shu > --- > drivers/soc/mediatek/mtk-scpsys.c | 250 > +++ > include/linux/soc/mediatek/scpsys.h

Re: [PATCH v6 7/9] clk: mediatek: Add subsystem clocks of MT8173

2015-08-05 Thread Sascha Hauer
On Wed, Aug 05, 2015 at 03:41:49PM +0800, Daniel Kurtz wrote: > On Wed, Aug 5, 2015 at 3:36 PM, Sascha Hauer wrote: > > On Wed, Aug 05, 2015 at 03:26:29PM +0800, Daniel Kurtz wrote: > >> On Wed, Aug 5, 2015 at 2:46 PM, Sascha Hauer > >> wrote: > >> > O

Re: [PATCH v6 7/9] clk: mediatek: Add subsystem clocks of MT8173

2015-08-05 Thread Sascha Hauer
On Wed, Aug 05, 2015 at 03:26:29PM +0800, Daniel Kurtz wrote: > On Wed, Aug 5, 2015 at 2:46 PM, Sascha Hauer wrote: > > On Tue, Aug 04, 2015 at 04:16:56PM +0800, James Liao wrote: > >> Most multimedia subsystem clocks will be accessed by multiple > >> drivers, so it

Re: [PATCH v6 5/9] clk: mediatek: Fix rate and dependency of MT8173 clocks

2015-08-04 Thread Sascha Hauer
On Tue, Aug 04, 2015 at 04:16:54PM +0800, James Liao wrote: > Remove the dependency from clk_null, and give all root clocks a > typical rate, include clkph_mck_o, usb_syspll_125m and hdmitx_dig_cts. > > dpi_ck was removed due to no clock reference to it. > > Replace parent clock of infra_cpum wit

Re: [PATCH v6 7/9] clk: mediatek: Add subsystem clocks of MT8173

2015-08-04 Thread Sascha Hauer
On Tue, Aug 04, 2015 at 04:16:56PM +0800, James Liao wrote: > Most multimedia subsystem clocks will be accessed by multiple > drivers, so it's a better way to manage these clocks in CCF. > This patch adds clock support for MM, IMG, VDEC, VENC and VENC_LT > subsystems. > > Signed-off-by: James Liao

Re: [PATCH 02/10] usb: chipidea: define stream mode disable for both roles

2015-07-28 Thread Sascha Hauer
On Wed, Jul 29, 2015 at 07:51:55AM +0200, Sascha Hauer wrote: > Hi Peter, > > On Wed, Jul 29, 2015 at 10:42:06AM +0800, Peter Chen wrote: > > The system bus and chipidea IP have different limitations for > > both host and device mode. > > For example, with below err

Re: [PATCH 02/10] usb: chipidea: define stream mode disable for both roles

2015-07-28 Thread Sascha Hauer
Hi Peter, On Wed, Jul 29, 2015 at 10:42:06AM +0800, Peter Chen wrote: > The system bus and chipidea IP have different limitations for > both host and device mode. > For example, with below errata, we need to enable SDIS(Stream Disable Mode) > at host mode. But we don't want it for device mode at t

Re: [PATCH v4 2/7] clk: mediatek: Fix rate and dependency of MT8173 clocks

2015-07-26 Thread Sascha Hauer
On Fri, Jul 24, 2015 at 07:10:14PM +0800, Daniel Kurtz wrote: > On Fri, Jul 24, 2015 at 11:02 AM, James Liao > wrote: > > Remove the dependency from clk_null, and give all root clocks a > > typical rate, include clkph_mck_o, usb_syspll_125m and hdmitx_dig_cts. > > > > dpi_ck was removed due to no

Re: [RESEND PATCH 2/2] pinctrl: introduce complex pin description

2015-07-15 Thread Sascha Hauer
On Wed, Jul 15, 2015 at 10:45:42AM +0200, Ludovic Desroches wrote: > On Tue, Jul 14, 2015 at 08:13:59AM +0200, Sascha Hauer wrote: > > On Wed, Jun 10, 2015 at 05:04:57PM +0200, Ludovic Desroches wrote: > > > Using a string to describe a pin in the device tree can be not

Re: [PATCH v2 1/5] dt-bindings: Add usb3.0 phy binding for MT65xx SoCs

2015-07-14 Thread Sascha Hauer
On Tue, Jul 14, 2015 at 02:19:51PM +0800, chunfeng yun wrote: > hi, > On Fri, 2015-07-10 at 07:10 +0200, Sascha Hauer wrote: > > On Wed, Jul 08, 2015 at 05:41:03PM +0800, Chunfeng Yun wrote: > > > add a DT binding documentation of usb3.0 phy for MT65xx > > > SoCs from

Re: [RESEND PATCH 1/2] pinctrl: change function behavior for per pin muxing controllers

2015-07-13 Thread Sascha Hauer
On Mon, Jul 13, 2015 at 02:07:45PM +0200, Linus Walleij wrote: > On Tue, Jun 30, 2015 at 11:17 AM, Nicolas Ferre > wrote: > > > - no agreement on 3 points: > > 1/ ways to use groups in generic pinctrl > > 2/ ways to describe a comprehensive configuration in device tree > > 3/ readability of a sy

Re: [RESEND PATCH 2/2] pinctrl: introduce complex pin description

2015-07-13 Thread Sascha Hauer
On Wed, Jun 10, 2015 at 05:04:57PM +0200, Ludovic Desroches wrote: > Using a string to describe a pin in the device tree can be not enough. > Some controllers may need extra information to fully describe a pin. It > concerns mainly controllers which have a per pin muxing approach which > don't fit

Re: [RESEND PATCH 1/2] pinctrl: change function behavior for per pin muxing controllers

2015-07-13 Thread Sascha Hauer
On Thu, Jun 18, 2015 at 02:33:48PM +0200, Ludovic Desroches wrote: > On Wed, Jun 17, 2015 at 09:55:56AM -0600, Stephen Warren wrote: > > On 06/17/2015 06:38 AM, Ludovic Desroches wrote: > > >Hi Stephen, > > > > > >On Mon, Jun 15, 2015 at 09:58:05AM -0600, Stephen Warren wrote: > > >>On 06/10/2015 0

Re: [PATCH v3 0/3] Fixes for MT8173 PLLs

2015-07-12 Thread Sascha Hauer
o (3): > clk: mediatek: Fix PLL registers setting flow > clk: mediatek: Fix calculation of PLL rate settings > clk: mediatek: Add MT8173 MMPLL change rate support Acked-by: Sascha Hauer Sascha -- Pengutronix e.K. | | Industria

Re: [PATCH v2 3/5] usb: phy: add usb3.0 phy driver for mt65xx SoCs

2015-07-09 Thread Sascha Hauer
On Wed, Jul 08, 2015 at 05:41:05PM +0800, Chunfeng Yun wrote: > Signed-off-by: Chunfeng Yun > --- > drivers/usb/phy/Kconfig | 10 + > drivers/usb/phy/Makefile | 1 + > drivers/usb/phy/phy-mt65xx-usb3.c | 856 > ++ > 3 files changed, 867 i

Re: [PATCH v2 1/5] dt-bindings: Add usb3.0 phy binding for MT65xx SoCs

2015-07-09 Thread Sascha Hauer
On Wed, Jul 08, 2015 at 05:41:03PM +0800, Chunfeng Yun wrote: > add a DT binding documentation of usb3.0 phy for MT65xx > SoCs from Mediatek. > > Signed-off-by: Chunfeng Yun > --- > .../devicetree/bindings/usb/mt65xx-u3phy.txt | 34 > ++ > 1 file changed, 34 insertions

Re: [PATCH] arm64: dts: mt8173: add clock_null

2015-07-07 Thread Sascha Hauer
On Wed, Jul 08, 2015 at 10:37:21AM +0800, Eddie Huang wrote: > On Tue, 2015-07-07 at 23:10 +0800, Daniel Kurtz wrote: > > On Tue, Jul 7, 2015 at 10:36 PM, Sascha Hauer > > wrote: > > > On Tue, Jul 07, 2015 at 10:15:29PM +0800, Daniel Kurtz wrote: > > >> On

Re: [PATCH] arm64: dts: mt8173: add clock_null

2015-07-07 Thread Sascha Hauer
On Tue, Jul 07, 2015 at 10:15:29PM +0800, Daniel Kurtz wrote: > On Tue, Jul 7, 2015 at 9:07 PM, Sascha Hauer wrote: > > On Thu, Jun 18, 2015 at 01:29:11PM +0800, Eddie Huang wrote: > >> Add clk_null, which represents clocks that can not / need not > >> controlled by so

Re: [PATCH] arm64: dts: mt8173: add clock_null

2015-07-07 Thread Sascha Hauer
On Thu, Jun 18, 2015 at 01:29:11PM +0800, Eddie Huang wrote: > Add clk_null, which represents clocks that can not / need not > controlled by software. > There are many clocks' parent set to clk_null. > > Signed-off-by: James Liao > Signed-off-by: Eddie Huang > --- > Base on 4.1-rc1 > > Change-I

Re: [PATCH] arm64: dts: mt8173: add clock_null

2015-06-30 Thread Sascha Hauer
On Tue, Jun 30, 2015 at 05:07:09PM +0800, James Liao wrote: > Hi Heiko, > > There are 4 clocks which are derived from clk_null directly in current > topckgen implementation: > > clkph_mck_o, dpi_ck, usb_syspll_125m, hdmitx_dig_cts > > Our designer mentioned 2 things about external clocks:

Re: [PATCH v2 3/4] spi: mediatek: Add spi bus for Mediatek MT8173

2015-06-30 Thread Sascha Hauer
On Wed, Jul 01, 2015 at 12:06:02PM +0800, Daniel Kurtz wrote: > Hi Leilk, > > Please see comments inline... > > On Mon, Jun 29, 2015 at 9:04 PM, Leilk Liu wrote: > > This patch adds basic spi bus for MT8173. > > > > Signed-off-by: Leilk Liu > > Signed-off-by: Eddie Huang > > --- > > drivers/s

[PATCH 4/4] ARM64: MediaTek MT8173: Add SCPSYS device node

2015-06-23 Thread Sascha Hauer
This adds the SCPSYS device node to the MT8173 dtsi file. Signed-off-by: Sascha Hauer --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 924fdb6

[PATCH 3/4] soc: Mediatek: Add SCPSYS power domain driver

2015-06-23 Thread Sascha Hauer
AFE audio driver. Signed-off-by: Sascha Hauer --- drivers/soc/mediatek/Kconfig | 10 + drivers/soc/mediatek/Makefile| 1 + drivers/soc/mediatek/mtk-scpsys.c| 487 +++ include/dt-bindings/power/mt8173-power.h | 15 + 4 files changed

[PATCH 1/4] soc: mediatek: Add infracfg misc driver support

2015-06-23 Thread Sascha Hauer
This adds support for some miscellaneous bits of the infracfg controller. The mtk_infracfg_set/clear_bus_protection functions are necessary for the scpsys power domain driver to handle the bus protection bits which are contained in the infacfg register space. Signed-off-by: Sascha Hauer

[PATCH v6] Mediatek SCPSYS power domain support

2015-06-23 Thread Sascha Hauer
Just a small update to this series with a memory corruption bug fixed. This series adds support for the MediaTek SCPSYS unit. The SCPSYS unit handles several power management related tasks such as thermal measurement, DVFS, interrupt filter and low level sleep control. The initial support only c

[PATCH 2/4] dt-bindings: soc: Add documentation for the MediaTek SCPSYS unit

2015-06-23 Thread Sascha Hauer
This adds documentation for the MediaTek SCPSYS unit found in MT8173 SoCs. Signed-off-by: Sascha Hauer --- .../devicetree/bindings/soc/mediatek/scpsys.txt| 41 ++ 1 file changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/mediatek

Re: [PATCH 3/4] soc: Mediatek: Add SCPSYS power domain driver

2015-06-22 Thread Sascha Hauer
On Mon, Jun 22, 2015 at 09:53:59PM +0800, Daniel Kurtz wrote: > On Mon, Jun 22, 2015 at 2:35 PM, Sascha Hauer wrote: > > This adds a power domain driver for the Mediatek SCPSYS unit. > > > > The System Control Processor System (SCPSYS) has several power > > management

[PATCH 2/4] dt-bindings: soc: Add documentation for the MediaTek SCPSYS unit

2015-06-21 Thread Sascha Hauer
This adds documentation for the MediaTek SCPSYS unit found in MT8173 SoCs. Signed-off-by: Sascha Hauer --- .../devicetree/bindings/soc/mediatek/scpsys.txt| 41 ++ 1 file changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/mediatek

[PATCH 1/4] soc: mediatek: Add infracfg misc driver support

2015-06-21 Thread Sascha Hauer
This adds support for some miscellaneous bits of the infracfg controller. The mtk_infracfg_set/clear_bus_protection functions are necessary for the scpsys power domain driver to handle the bus protection bits which are contained in the infacfg register space. Signed-off-by: Sascha Hauer

[PATCH 3/4] soc: Mediatek: Add SCPSYS power domain driver

2015-06-21 Thread Sascha Hauer
AFE audio driver. Signed-off-by: Sascha Hauer --- drivers/soc/mediatek/Kconfig | 10 + drivers/soc/mediatek/Makefile| 1 + drivers/soc/mediatek/mtk-scpsys.c| 487 +++ include/dt-bindings/power/mt8173-power.h | 15 + 4 files changed

[PATCH v5] Mediatek SCPSYS power domain support

2015-06-21 Thread Sascha Hauer
--END PGP SIGNATURE- commit 5e33965ca0b265401349229773ee7a3732a63388 Author: Sascha Hauer Date: Mon Mar 9 08:41:36 2015 +0100 ARM64: MediaTek MT8173: Add SCPSYS device node This adds the SCPSYS device node to the MT8173 dtsi file. Signed-off-by: Sascha Hauer diff --git a/arch/arm64/boot/

[PATCH 4/4] ARM64: MediaTek MT8173: Add SCPSYS device node

2015-06-21 Thread Sascha Hauer
This adds the SCPSYS device node to the MT8173 dtsi file. Signed-off-by: Sascha Hauer --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 924fdb6

Re: [PATCH 6/8] ARM: dts: imx: add imx6ul and imx6ul evk board support

2015-06-17 Thread Sascha Hauer
On Wed, Jun 17, 2015 at 11:39:27PM +0800, frank...@freescale.com wrote: > From: Frank Li > > +&uart1 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_uart1>; > + status = "okay"; > +}; > + > +&uart2 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_uart2>; >

Re: [PATCH 2/8] ARM: imx: add imx6ul clk tree support

2015-06-17 Thread Sascha Hauer
On Wed, Jun 17, 2015 at 11:39:23PM +0800, frank...@freescale.com wrote: > From: Frank Li > > Add imx6ul support > > Signed-off-by: Anson Huang > Signed-off-by: Bai Ping > Signed-off-by: Fugang Duan > Signed-off-by: Frank Li > --- > drivers/clk/imx/Makefile | 1 + > drivers

Re: [PATCH v5 04/11] nvmem: Add a simple NVMEM framework for consumers

2015-06-17 Thread Sascha Hauer
On Tue, Jun 16, 2015 at 03:29:25PM -0700, Stephen Boyd wrote: > On 05/21/2015 09:43 AM, Srinivas Kandagatla wrote: > > + /* if it's not end on byte boundary */ > > + if ((nbits + bit_offset) % BITS_PER_BYTE) { > > + /* setup the last byte with msb bits from nvmem */ > > + rc

Re: [PATCH 5/5] ARM64: MediaTek MT8173: Add SCPSYS device node

2015-06-17 Thread Sascha Hauer
On Tue, Jun 16, 2015 at 11:17:53AM -0700, Kevin Hilman wrote: > Sascha Hauer writes: > > > This adds the SCPSYS device node to the MT8173 dtsi file. > > > > Signed-off-by: Sascha Hauer > > --- > > arch/arm64/boot/dts/mediatek/mt8173.dtsi | 10 +

Re: [PATCH 3/5] soc: Mediatek: Add SCPSYS power domain driver

2015-06-15 Thread Sascha Hauer
Hi Ulf, On Wed, Jun 10, 2015 at 04:47:01PM +0200, Ulf Hansson wrote: > On 9 June 2015 at 10:47, Sascha Hauer wrote: > > This adds a power domain driver for the Mediatek SCPSYS unit. > > > > The System Control Processor System (SCPSYS) has several power > > management

Re: [PATCH v3 2/2] arm64: dts: mt8173: Add I2C device node

2015-06-14 Thread Sascha Hauer
On Fri, Jun 12, 2015 at 08:28:51PM +0800, Daniel Kurtz wrote: > Hi Eddie, > > On Fri, Jun 12, 2015 at 5:27 PM, Eddie Huang wrote: > > > > Add MT8173 I2C device nodes, include I2C controllers and pins. > > MT8173 has six I2C controllers, from i2c0 to i2c6, exclude i2c5. > > The 6th I2C controller

Re: [PATCH V2] added device tree support to gpio-generic driver

2015-06-11 Thread Sascha Hauer
On Thu, Jun 11, 2015 at 01:42:16PM +0300, Alexander Shiyan wrote: > Hello. > > Четверг, 11 июня 2015, 12:32 +02:00 от Romain Baeriswyl > : > > This patch adds support of device tree to the gpio-generic driver. > > > > Signed-off-by: Romain Baeriswyl > > --- > > The only issue how the directio

[PATCH 4/5] ARM64: MediaTek: Add generic pm domain support

2015-06-09 Thread Sascha Hauer
Enable support for generic power domains in the config. Signed-off-by: Sascha Hauer --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 7796af4..ba8469c 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -185,6 +185,7

[PATCH 3/5] soc: Mediatek: Add SCPSYS power domain driver

2015-06-09 Thread Sascha Hauer
AFE audio driver. Signed-off-by: Sascha Hauer --- drivers/soc/mediatek/Kconfig | 9 + drivers/soc/mediatek/Makefile| 1 + drivers/soc/mediatek/mtk-scpsys.c| 490 +++ include/dt-bindings/power/mt8173-power.h | 15 + 4 files changed

[PATCH 2/5] dt-bindings: soc: Add documentation for the MediaTek SCPSYS unit

2015-06-09 Thread Sascha Hauer
This adds documentation for the MediaTek SCPSYS unit found in MT8173 SoCs. Signed-off-by: Sascha Hauer --- .../devicetree/bindings/soc/mediatek/scpsys.txt| 34 ++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/mediatek

[PATCH 1/5] soc: mediatek: Add infracfg misc driver support

2015-06-09 Thread Sascha Hauer
This adds support for some miscellaneous bits of the infracfg controller. The mtk_infracfg_set/clear_bus_protection functions are necessary for the scpsys power domain driver to handle the bus protection bits which are contained in the infacfg register space. Signed-off-by: Sascha Hauer

[PATCH v4] Mediatek SCPSYS power domain support

2015-06-09 Thread Sascha Hauer
warning messages when errors occur - add NULL pointer check for kmalloc -------- Sascha Hauer (5): soc: mediatek: Add infracfg misc driver support dt-bindings: soc: Add documentation for the MediaTek SCPSYS unit soc: Mediatek: A

  1   2   3   4   >