Re: [PATCH 1/4] clk: bcm2835: Move under bcm/ with other Broadcom SoC clk drivers.

2015-09-06 Thread Lee Jones
On Sun, 06 Sep 2015, Eric Anholt wrote: > clk-bcm2835.c predates the drivers under bcm/, but all the new BCM > drivers are going in there so let's follow them. > > Signed-off-by: Eric Anholt > --- > drivers/clk/Makefile | 1 - > drivers/clk/bcm/Makefile | 1 + > drivers/clk/bcm/

Re: thermal: mediatek: Add cpu power cooling model

2015-09-06 Thread Viresh Kumar
On 04-09-15, 17:01, Dawei Chien wrote: > Use Intelligent Power Allocation (IPA) technical to add > static/dynamic power model for binding CPU thermal zone. > The power allocator governor allocates power budget to control > CPU temperature. Sorry but this isn't enough really.. I don't have time to

Re: [RFC v2 4/4] iio: chemical: add SGX VZ89x VOC sensor support

2015-09-06 Thread Matt Ranostay
Thinking this over do we needed a IIO_CHAN_INFO_PROCESSED_OFFSET to signal that it needs to be after the (value - offset) * scale calculation? Thanks, Matt On Sun, Sep 6, 2015 at 9:20 PM, Matt Ranostay wrote: > Also one thing to note here is calculation is ((value - 13) * scale)) > + offset ver

Re: [RFC v2 4/4] iio: chemical: add SGX VZ89x VOC sensor support

2015-09-06 Thread Matt Ranostay
Also one thing to note here is calculation is ((value - 13) * scale)) + offset versus the normal (value + offset) * scale.. Not sure the best way to handle this possibly could be.. Thanks, Matt On Sun, Sep 6, 2015 at 8:13 PM, George McCollister wrote: > > > On Sun, Sep 6, 2015 at 9:39 PM, Matt

Re: [PATCH 2/2] arm64: dts: mt8173: Add thermal zone node for mt8173.

2015-09-06 Thread Daniel Kurtz
On Mon, Sep 7, 2015 at 12:00 PM, Daniel Kurtz wrote: > Hi Dawei, > > On Fri, Sep 4, 2015 at 5:01 PM, Dawei Chien wrote: >> Add thermal zone node to mt8173.dtsi. >> >> Signed-off-by: Dawei Chien >> --- >> This patch is base on following patches >> https://patchwork.kernel.org/patch/6969581/ >> ht

Re: [PATCH 2/2] arm64: dts: mt8173: Add thermal zone node for mt8173.

2015-09-06 Thread Daniel Kurtz
Hi Dawei, On Fri, Sep 4, 2015 at 5:01 PM, Dawei Chien wrote: > Add thermal zone node to mt8173.dtsi. > > Signed-off-by: Dawei Chien > --- > This patch is base on following patches > https://patchwork.kernel.org/patch/6969581/ > https://patchwork.kernel.org/patch/6969571/ > https://patchwork.kern

Re: [PATCH] power: bq24261_charger: Add support for TI BQ24261 charger

2015-09-06 Thread Krzysztof Kozlowski
2015-09-07 2:23 GMT+09:00 Ramakrishna Pallala : > > Add new charger driver support for BQ24261 charger IC. > > BQ24261 charger driver relies on extcon notifications to get the > charger cable type and based on that it will set the charging parameters. > > Signed-off-by: Ramakrishna Pallala > Signe

Re: [PATCH] of_pci_irq: Silence bogus "of_irq_parse_pci() failed ..." messages.

2015-09-06 Thread Frank Rowand
On 9/6/2015 7:16 PM, Frank Rowand wrote: > On 9/6/2015 1:46 PM, Rob Herring wrote: >> On Fri, Sep 4, 2015 at 8:14 PM, Frank Rowand wrote: >>> On 9/4/2015 12:12 PM, David Daney wrote: From: David Daney It is perfectly legitimate for a PCI device to have an PCI_INTERRUPT_PIN val

Re: [PATCH v2 8/8] pinctrl: freescale: imx: imx7d iomuxc-lpsr devicetree bindings

2015-09-06 Thread Shawn Guo
On Tue, Sep 01, 2015 at 05:49:13PM -0500, Adrian Alonso wrote: > Add iomuxc-lpsr devicetree bindings documentation > Provide documentation context as well an example on > pheriperals that could use pad from either iomuxc controller > supported by iMX7D SoC > > Signed-off-by: Adrian Alonso > --- >

[RFC v2 2/4] iio: resistance: add IIO_RESISTANCE channel type

2015-09-06 Thread Matt Ranostay
Signed-off-by: Matt Ranostay --- Documentation/ABI/testing/sysfs-bus-iio | 7 +++ drivers/iio/industrialio-core.c | 1 + include/uapi/linux/iio/types.h | 1 + 3 files changed, 9 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/s

[RFC v2 1/4] iio: chemical: Add IIO_CONCENTRATION channel type

2015-09-06 Thread Matt Ranostay
There are air quality sensors that report data back in parts per million of VOC (Volatile Organic Compounds) which are usually indexed from CO2 or another common pollutant. This patchset adds an IIO_CONCENTRATION type that returns a percentage of substance because no other channels types fit this

[RFC v2 4/4] iio: chemical: add SGX VZ89x VOC sensor support

2015-09-06 Thread Matt Ranostay
Add support for VZ89X sensors VOC and CO2 reporting channels in percentage which can be converted to part per million. Signed-off-by: Matt Ranostay --- .../ABI/testing/sysfs-bus-iio-chemical-vz89x | 30 +++ .../devicetree/bindings/i2c/trivial-devices.txt| 1 + drivers/iio/Kconfig

[RFC v2 3/4] devicetree: add SGX Sensortech vendor id

2015-09-06 Thread Matt Ranostay
Signed-off-by: Matt Ranostay --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index ac5f0c3..281e8f0 100644 --- a/Documentati

[RFC v2 0/4] iio: new chemical sensor framework and channel types

2015-09-06 Thread Matt Ranostay
Changes from RFC v1: * Removed IIO_MOD_PPM/PPB modifiers * Fixed issues with driver that would have caused null readings * Return IIO_VAL_INT_PLUS_MICRO/IIO_VAL_INT_PLUS_NANO for CO2 and VOC channel readings * Return IIO_VAL_INT_PLUS_MICRO for IIO_CHAN_INFO_OFFSET * Add sysfs-bus-iio-chemical-v

Re: [PATCH v4 03/16] drm: bridge: analogix/dp: split exynos dp driver to bridge dir

2015-09-06 Thread Yakir Yang
Hi Krzysztof, 在 09/07/2015 08:22 AM, Krzysztof Kozlowski 写道: On 06.09.2015 16:49, Yakir Yang wrote: Hi Krzysztof, 在 09/04/2015 08:41 AM, Krzysztof Kozlowski 写道: On 03.09.2015 14:30, Yakir Yang wrote: Hi Krzysztof, 在 09/03/2015 08:58 AM, Krzysztof Kozlowski 写道: On 01.09.2015 14:49, Yakir Ya

RE: [PATCH v2 2/8] ARM: imx: imx7d-pinfunc: add gpio1 pad iomux settings

2015-09-06 Thread Duan Andy
From: Shawn Guo Sent: Monday, September 07, 2015 9:01 AM > To: Alonso Lazcano Adrian-B38018 > Cc: linux-arm-ker...@lists.infradead.org; shawn@linaro.org; > linus.wall...@linaro.org; lzn...@gmail.com; linux-g...@vger.kernel.org; > devicetree@vger.kernel.org; robh...@kernel.org; Huang Yongcai-B2

Re: [PATCH] of_pci_irq: Silence bogus "of_irq_parse_pci() failed ..." messages.

2015-09-06 Thread Frank Rowand
On 9/6/2015 1:46 PM, Rob Herring wrote: > On Fri, Sep 4, 2015 at 8:14 PM, Frank Rowand wrote: >> On 9/4/2015 12:12 PM, David Daney wrote: >>> From: David Daney >>> >>> It is perfectly legitimate for a PCI device to have an >>> PCI_INTERRUPT_PIN value of zero. This happens if the device doesn't >

Re: [PATCH v2 6/8] pinctrl: freescale: imx: add shared input select reg support

2015-09-06 Thread Shawn Guo
On Tue, Sep 01, 2015 at 05:49:11PM -0500, Adrian Alonso wrote: > - Add shared input select register support > - imx7d has two iomux controllers iomuxc and iomuxc-lpsr > which share select_input register for daisy chain settings > > Signed-off-by: Adrian Alonso > --- > Changes for V2: Resend >

Re: [PATCH v4 11/16] drm: bridge: analogix/dp: add platform device type support

2015-09-06 Thread Yakir Yang
Hi Krzysztof, 在 09/07/2015 07:55 AM, Krzysztof Kozlowski 写道: On 06.09.2015 13:07, Yakir Yang wrote: Hi Krzysztof, 在 09/04/2015 08:36 AM, Krzysztof Kozlowski 写道: On 01.09.2015 15:07, Yakir Yang wrote: Empty commit message. Please explain here why you want to add platform device type support.

Re: [PATCH v2 5/8] pinctrl: freescale: imx: add ZERO_OFFSET_VALID flag

2015-09-06 Thread Shawn Guo
On Tue, Sep 01, 2015 at 05:49:10PM -0500, Adrian Alonso wrote: > - Add ZERO_OFFSET_VALID flag, on imx7d mux_conf reg > offset is zero for iomuxc-lspr controller > - Do default initialization on parse group function. > > Signed-off-by: Adrian Alonso I do not follow why this patch is needed at a

Re: [PATCH v2 2/8] ARM: imx: imx7d-pinfunc: add gpio1 pad iomux settings

2015-09-06 Thread Shawn Guo
On Tue, Sep 01, 2015 at 05:49:07PM -0500, Adrian Alonso wrote: > - Add imx7 SoC GPIO1 pad iomuxc settings > > - Fix UART input select daisy chain setting values > > Signed-off-by: Adrian Alonso Fugang has a patch [1] doing the same thing. You guys please coordinate on this. Shawn [1] http:

Re: [PATCH v2 1/8] pinctrl: freescale: imx: fix system crash if enable two pinctl instances

2015-09-06 Thread Shawn Guo
On Tue, Sep 01, 2015 at 05:49:06PM -0500, Adrian Alonso wrote: > From: Robin Gong > > Fix system chrash caused by groups whose number is smaller than the number > of groups of the last pinctl instance which is not initialized. > > iMX7D supports two iomux controllers (iomuxc-lpsr and iomuxc) on

Re: [PATCH v3 3/5] ARM: imx_v6_v7_defconfig: enable imx6ul_tsc

2015-09-06 Thread Shawn Guo
On Fri, Aug 28, 2015 at 05:09:34PM +0800, Haibo Chen wrote: > Enable imx6ul touchscreen controller > > Signed-off-by: Haibo Chen Applied 3 ~ 5, thanks. -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majord...@vger.kernel.org More majordomo in

Re: [PATCH v4 03/16] drm: bridge: analogix/dp: split exynos dp driver to bridge dir

2015-09-06 Thread Krzysztof Kozlowski
On 06.09.2015 16:49, Yakir Yang wrote: > Hi Krzysztof, > > 在 09/04/2015 08:41 AM, Krzysztof Kozlowski 写道: >> On 03.09.2015 14:30, Yakir Yang wrote: >>> Hi Krzysztof, >>> >>> 在 09/03/2015 08:58 AM, Krzysztof Kozlowski 写道: On 01.09.2015 14:49, Yakir Yang wrote: > Split the dp core driver fr

Re: [PATCH v4 11/16] drm: bridge: analogix/dp: add platform device type support

2015-09-06 Thread Krzysztof Kozlowski
On 06.09.2015 13:07, Yakir Yang wrote: > Hi Krzysztof, > > 在 09/04/2015 08:36 AM, Krzysztof Kozlowski 写道: >> On 01.09.2015 15:07, Yakir Yang wrote: >> >> Empty commit message. Please explain here why you want to add platform >> device type support. >> >> Actually the title is confusing. You are no

[PATCH v2] Documentation: add Device tree bindings for hwmon/nct7802

2015-09-06 Thread Constantine Shulyupin
Changed in v2: - Removed nct7802,reg-init - Added registers initialization by names Introduced in v1: - nct7802,reg-init Signed-off-by: Constantine Shulyupin --- --- .../devicetree/bindings/hwmon/nct7802.txt | 24 ++ 1 file changed, 24 insertions(+) create mode 10

Re: [PATCH v2 07/10] dts/ls2085a: Update DTSI to add support of various peripherals

2015-09-06 Thread Rob Herring
On Sat, Sep 5, 2015 at 3:37 AM, Sharma Bhupesh wrote: >> From: pku@gmail.com [mailto:pku@gmail.com] >> Sent: Saturday, September 05, 2015 2:33 AM >> On Fri, Sep 4, 2015 at 2:05 AM, Bhupesh Sharma >> wrote: >> > This patch updates the LS2085a DTSI (DTS Include) file to add support >> > for

Re: [PATCH] of_pci_irq: Silence bogus "of_irq_parse_pci() failed ..." messages.

2015-09-06 Thread Rob Herring
On Fri, Sep 4, 2015 at 8:14 PM, Frank Rowand wrote: > On 9/4/2015 12:12 PM, David Daney wrote: >> From: David Daney >> >> It is perfectly legitimate for a PCI device to have an >> PCI_INTERRUPT_PIN value of zero. This happens if the device doesn't >> use interrupts, or on PCIe devices, where onl

[PATCH 2/4] clk: bcm2835: Add binding docs for the new platform clock driver.

2015-09-06 Thread Eric Anholt
Previously we've only supported a few fixed clocks based on assumptions about how the firmware sets up the clocks, but this binding will let us control the actual (audio power domain) clock manager. Signed-off-by: Eric Anholt --- .../bindings/clock/brcm,bcm2835-cprman.txt | 45 ++

[PATCH 1/4] clk: bcm2835: Move under bcm/ with other Broadcom SoC clk drivers.

2015-09-06 Thread Eric Anholt
clk-bcm2835.c predates the drivers under bcm/, but all the new BCM drivers are going in there so let's follow them. Signed-off-by: Eric Anholt --- drivers/clk/Makefile | 1 - drivers/clk/bcm/Makefile | 1 + drivers/clk/bcm/clk-bcm2835.c | 60 ++

[PATCH 3/4] clk: bcm2835: Add support for programming the audio domain clocks.

2015-09-06 Thread Eric Anholt
This adds support for enabling, disabling, and setting the rate of the audio domain clocks. It will be necessary for setting the pixel clock for HDMI in the VC4 driver and let us write a cpufreq driver. It will also improve compatibility with user changes to the firmware's config.txt, since our p

[PATCH 4/4] ARM: bcm2835: Switch to using the new clock driver support.

2015-09-06 Thread Eric Anholt
This will give us the ability to set the pixel and HDMI state machine clocks for the VC4 KMS driver, change the CPU frequency, and potentially gate clocks in the future (once we also write a power domain driver). It also gives the uart an explicit clock reference, so that we don't need to change t

Raspberry Pi native clock driver

2015-09-06 Thread Eric Anholt
After my last firmware clocks posting, Gordon at Raspberry Pi pointed that you can, in fact, touch the clocks from the ARM side. This is the driver that resulted from that. With debug printfs at boot the clock frequencies from .recalc_rate() are looking good, a few are definitely corrected compar

Re: [PATCH] ARM: dts: sun4i: Add dts file for the pov protab2-ips9 tablet

2015-09-06 Thread Maxime Ripard
On Sat, Sep 05, 2015 at 10:21:59AM +0200, Hans de Goede wrote: > The Point of View protab2-ips9 is a tablet with a 9" ips 1024x768 lcd screen, > microsd slot, headphones, mini hdmi, mini usb b and power barrel connectors. > > It uses a rtl8188cus usb wifi chip and a RDA 5875Y bluetooth chip attach

Re: [PATCH RESEND] ARM: dts: Fix Makefile target for sun4i-a10-itead-iteaduino-plus

2015-09-06 Thread Maxime Ripard
On Fri, Sep 04, 2015 at 08:49:34AM -0400, Josh Boyer wrote: > Commit 79ae3e66f8d (ARM: dts: sun4i: Add Iteaduino Plus A10) added a new > make target for the sun4i-a10-itead-iteaduino-plus dts file, but mistakenly > used .dts instead of the correct .dtb suffix. This resulted in a build error > like

Re: [PATCH 2/2] mtd: spi-nor: Add driver for Cadence Quad SPI Flash Controller.

2015-09-06 Thread Marek Vasut
On Saturday, September 05, 2015 at 01:45:01 AM, vikas wrote: > Hi, > > On 08/21/2015 02:20 AM, Marek Vasut wrote: > > From: Graham Moore > > > > Add support for the Cadence QSPI controller. This controller is > > present in the Altera SoCFPGA SoCs and this driver has been tested > > on the Cyclo

Re: [PATCH v17 1/4] dt-bindings: add document of Rockchip power domains

2015-09-06 Thread Caesar Wang
Kevin, 在 2015年09月03日 02:12, Kevin Hilman 写道: Caesar Wang writes: This add the necessary binding documentation for the power domains found on Rockchip SoCs. Signed-off-by: jinkun.hong Signed-off-by: Caesar Wang --- Changes in v17: - add the decription in detail for RK3288 SoCs. Changes i

[PATCH v3 0/2] arm64: Support Hisilicon Hip05-D02 board

2015-09-06 Thread Ding Tianhong
Hip05-D02 Development Board is based on Cortex-A57, this patchset contains initial support for Hip05-D02 Soc and Board. Initial support is minimal and includes just the arch configuration, device tree configuration. PSCI is enabled in device tree and there is no problem to boot all the 16 cores, a

Re: [PATCH 1/2] ASoC: atmel-classd: add the Audio Class D Amplifier code

2015-09-06 Thread Wu, Songjun
On 9/3/2015 19:37, Mark Brown wrote: On Tue, Sep 01, 2015 at 01:41:40PM +0800, Songjun Wu wrote: +static const char * const mono_text[] = { + "stereo", "mono" +}; + +static SOC_ENUM_SINGLE_DECL(classd_mono_enum, + CLASSD_INTPMR, CLASSD_INTPMR_MONO_SHIFT, +

Re: [PATCH 2/2] ASoC: atmel-classd: DT binding for Class D audio amplifier driver

2015-09-06 Thread Wu, Songjun
On 9/3/2015 19:43, Mark Brown wrote: On Tue, Sep 01, 2015 at 01:41:41PM +0800, Songjun Wu wrote: +classd: classd@fc048000 { + compatible = "atmel,sama5d2-classd"; + reg = <0xfc048000 0x100>; + interrupts = <59 IRQ_TYPE_LEVEL_HIGH 7>; + d

[PATCH v3 2/2] arm64: dts: add dts files for Hisilicon Hip05-D02 Development Board

2015-09-06 Thread Ding Tianhong
Add initial dtsi file to support Hisilicon Hip05-D02 Board with support of CPUs in four clusters and each cluster has quard Cortex-A57. Also add dts file to support Hip05-D02 development board. Signed-off-by: Ding Tianhong Signed-off-by: Kefeng Wang --- arch/arm64/boot/dts/hisilicon/Makefile

[PATCH v3 1/2] arm64: hip05-d02: Document devicetree bindings for Hisilicon Hip05-D02 Board

2015-09-06 Thread Ding Tianhong
This patch adds documentation for the devicetree bindings used by the DT files of Hisilicon Hip05-D02 development board. Signed-off-by: Ding Tianhong --- Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree

[PATCH] power: bq24261_charger: Add support for TI BQ24261 charger

2015-09-06 Thread Ramakrishna Pallala
Add new charger driver support for BQ24261 charger IC. BQ24261 charger driver relies on extcon notifications to get the charger cable type and based on that it will set the charging parameters. Signed-off-by: Ramakrishna Pallala Signed-off-by: Jennt TC --- .../devicetree/bindings/power/bq24261

Re: [PATCH v4 14/16] drm: bridge: analogix/dp: try force hpd after plug in lookup failed

2015-09-06 Thread Yakir Yang
Hi Rob, 在 09/05/2015 05:46 AM, Rob Herring 写道: On Wed, Sep 2, 2015 at 11:27 PM, Yakir Yang wrote: Hi Rob, 在 09/03/2015 04:17 AM, Rob Herring 写道: On Tue, Sep 1, 2015 at 1:14 AM, Yakir Yang wrote: Some edp screen do not have hpd signal, so we can't just return failed when hpd plug in detect

Re: [PATCH V6 3/3] ARM: mxs: enable ocotp for i.MX23 and i.MX28

2015-09-06 Thread Shawn Guo
On Wed, Aug 12, 2015 at 10:21:56PM +, Stefan Wahren wrote: > This patch enables On Chip OTP support for i.MX23 and i.MX28 SoCs, > but keeps the old compatible string. > > Signed-off-by: Stefan Wahren > --- > arch/arm/boot/dts/imx23.dtsi |7 +-- > arch/arm/boot/dts/imx28.dtsi |7 +

Re: [PATCH v4 03/16] drm: bridge: analogix/dp: split exynos dp driver to bridge dir

2015-09-06 Thread Yakir Yang
Hi Krzysztof, 在 09/04/2015 08:41 AM, Krzysztof Kozlowski 写道: On 03.09.2015 14:30, Yakir Yang wrote: Hi Krzysztof, 在 09/03/2015 08:58 AM, Krzysztof Kozlowski 写道: On 01.09.2015 14:49, Yakir Yang wrote: Split the dp core driver from exynos directory to bridge directory, and rename the core driv

Re: [PATCH v6 4/6] ARM: dts: imx7d-sdb: add eMMC5.0 support

2015-09-06 Thread Shawn Guo
On Tue, Aug 11, 2015 at 07:38:29PM +0800, Haibo Chen wrote: > imx7d-sdb board has a eMMC5.0 on usdhc3. This eMMC support HS400. > This patch add usdhc3 support for HS400 > > Signed-off-by: Haibo Chen Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the

Re: [PATCH] ARM: dts: imx6ul: add pm_power_off support

2015-09-06 Thread Shawn Guo
On Fri, Aug 07, 2015 at 10:28:33PM +0800, Anson Huang wrote: > i.MX6UL can be powered off by programming SNVS. > > When long press ON/OFF button(5 seconds), > PMIC_ON_REQ pin will be set to low and external > PMIC will be powered off. > > And system can be powered on by long press ON/OFF > button