<r...@kernel.org>
Signed-off-by: Zhiyong Tao <zhiyong@mediatek.com>
---
.../auxadc.txt => iio/adc/mt6577_auxadc.txt} | 18 +-
1 file changed, 13 insertions(+), 5 deletions(-)
rename Documentation/devicetree/bindings/{soc/mediatek/auxadc.txt =>
iio/adc
NFO_OFFSET' and 'IIO_CHAN_INFO_SCALE' in
'MT65XX_AUXADC_CHANNEL' channel type.
6).Add check case when auxadc power on failure. if auxadc power on failure,
clk_disable_unprepare should be executed.
7).Put 'platform_set_drvdata' before 'iio_device_register'.
8).Fix coding style and spelling error
The commit adds auxadc nodes to the Mediatek MT2701 dtsi file.
Signed-off-by: Zhiyong Tao <zhiyong@mediatek.com>
---
This patch dependents on "Add clock support for Mediatek MT2701"[1].
Please accept this patch together with [1].
[1]http://lists.infradead.org/pipermail/lin
-by: Zhiyong Tao <zhiyong@mediatek.com>
---
drivers/iio/adc/Kconfig | 13 ++
drivers/iio/adc/Makefile|1 +
drivers/iio/adc/mt6577_auxadc.c | 291 +++
3 files changed, 305 insertions(+)
create mode 100644 drivers/iio/adc/mt6577_auxadc.c
ystem]
>
> url:
> https://github.com/0day-ci/linux/commits/Zhiyong-Tao/AUXADC-Mediatek-auxadc-driver/20160722-041141
> base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git
> for-next
> config: arm-at91_dt_defconfig (attached as .config)
> compiler: arm-
<r...@kernel.org>
Signed-off-by: Zhiyong Tao <zhiyong@mediatek.com>
---
.../auxadc.txt => iio/adc/mt6577_auxadc.txt} | 18 +-
1 file changed, 13 insertions(+), 5 deletions(-)
rename Documentation/devicetree/bindings/{soc/mediatek/auxadc.txt =>
iio/adc
The commit adds auxadc nodes to the Mediatek MT2701 dtsi file.
Signed-off-by: Zhiyong Tao <zhiyong@mediatek.com>
---
arch/arm/boot/dts/mt2701.dtsi |9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi
index 4
-by: Zhiyong Tao <zhiyong@mediatek.com>
---
drivers/iio/adc/Kconfig | 13 ++
drivers/iio/adc/Makefile|1 +
drivers/iio/adc/mt6577_auxadc.c | 289 +++
3 files changed, 303 insertions(+)
create mode 100644 drivers/iio/adc/mt6577_auxadc.c
'platform_set_drvdata' before 'iio_device_register'.
8).Fix coding style and spelling error.
Zhiyong Tao (3):
dt-bindings: auxadc: Add binding document for Mediatek auxadc.
iio: adc: mt2701: Add Mediatek auxadc driver for mt2701.
arm: dts: mt2701: Add auxadc node.
.../auxadc.txt => iio/
On Mon, 2016-07-18 at 18:12 +0100, Jonathan Cameron wrote:
> On 11/07/16 07:39, Zhiyong Tao wrote:
> > Add Mediatek auxadc driver based on iio.
> > It will register a device in iio and support iio.
> > So thermal can read auxadc channel to sample data by iio device.
> >
On Wed, 2016-07-20 at 14:02 +0800, zhiyong tao wrote:
> On Mon, 2016-07-18 at 18:12 +0100, Jonathan Cameron wrote:
> > On 11/07/16 07:39, Zhiyong Tao wrote:
> > > Add Mediatek auxadc driver based on iio.
> > > It will register a device in iio and support iio.
>
On Mon, 2016-07-11 at 14:39 +0800, Zhiyong Tao wrote:
> The commit adds the device tree binding documentation for the mediatek
> auxadc found on Mediatek MT2701.
> Thermal gets auxadc sample data by iio device.
> So the commit changes auxadc device tree binding documentation from
>
' and 'IIO_CHAN_INFO_SCALE' in
'MT65XX_AUXADC_CHANNEL' channel type.
6).Add check case when auxadc power on failure. if auxadc power on failure,
clk_disable_unprepare should be executed.
7).Put 'platform_set_drvdata' before 'iio_device_register'.
8).Fix coding style and spelling error.
Zhiyong Tao (3):
dt-bindings
The commit adds the device tree binding documentation for the mediatek
auxadc found on Mediatek MT2701.
Thermal gets auxadc sample data by iio device.
So the commit changes auxadc device tree binding documentation from
/soc/mediatek/auxadc.txt to /iio/adc/mt65xx_auxadc.txt.
Signed-off-by: Zhiyong
-by: Zhiyong Tao <zhiyong@mediatek.com>
---
drivers/iio/adc/Kconfig | 13 ++
drivers/iio/adc/Makefile|1 +
drivers/iio/adc/mt6577_auxadc.c | 301 +++
3 files changed, 315 insertions(+)
create mode 100644 drivers/iio/adc/mt6577_auxadc.c
The commit adds auxadc nodes to the Mediatek MT2701 dtsi file.
Signed-off-by: Zhiyong Tao <zhiyong@mediatek.com>
---
arch/arm/boot/dts/mt2701.dtsi |9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi
index 4
-by: Zhiyong Tao <zhiyong@mediatek.com>
---
drivers/iio/adc/Kconfig | 26 +++---
drivers/iio/adc/Makefile|2 +-
drivers/iio/adc/mt6577_auxadc.c | 186 +++
3 files changed, 104 insertions(+), 110 deletions(-)
diff --git a/drivers/i
.
6).Add check case when auxadc power on failure. if auxadc power on failure,
clk_disable_unprepare should be executed.
7).Put 'platform_set_drvdata' before 'iio_device_register'.
8).Fix coding style and spelling error.
Zhiyong Tao (2):
dt-bindings: auxadc: Add binding document for Mediatek
The commit adds the device tree binding documentation for the mediatek
auxadc found on Mediatek MT2701.
Thermal gets auxadc sample data by iio device.
So the commit changes auxadc device tree binding documentation from
/soc/mediatek/auxadc.txt to /iio/adc/mt65xx_auxadc.txt.
Signed-off-by: Zhiyong
on failure. if auxadc power on failure,
clk_disable_unprepare should be executed.
7).Put 'platform_set_drvdata' before 'iio_device_register'.
8).Fix coding style and spelling error.
Zhiyong Tao (3):
dt-bindings: auxadc: Add binding document for Mediatek auxadc.
iio: adc: mt2701: Add Mediatek auxadc
The commit adds auxadc nodes to the Mediatek MT2701 dtsi file.
Signed-off-by: Zhiyong Tao <zhiyong@mediatek.com>
---
arch/arm/boot/dts/mt2701.dtsi |9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi
index 4
-by: Zhiyong Tao <zhiyong@mediatek.com>
---
drivers/iio/adc/Kconfig | 13 ++
drivers/iio/adc/Makefile|1 +
drivers/iio/adc/mt6577_auxadc.c | 294 +++
3 files changed, 308 insertions(+)
create mode 100644 drivers/iio/adc/mt6577_auxadc.c
The commit adds the device tree binding documentation for the mediatek
auxadc found on Mediatek MT2701.
Thermal gets auxadc sample data by iio device.
So the commit changes auxadc device tree binding documentation from
/soc/mediatek/auxadc.txt to /iio/adc/mt6577_auxadc.txt.
Signed-off-by: Zhiyong
On Sun, 2016-08-21 at 19:58 +0100, Jonathan Cameron wrote:
> On 18/08/16 08:11, Zhiyong Tao wrote:
> > The commit adds auxadc nodes to the Mediatek MT2701 dtsi file.
> >
> > Signed-off-by: Zhiyong Tao <zhiyong@mediatek.com>
> > ---
> > This patch depend
-by: Zhiyong Tao <zhiyong@mediatek.com>
---
drivers/iio/adc/Kconfig | 13 ++
drivers/iio/adc/Makefile|1 +
drivers/iio/adc/mt6577_auxadc.c | 291 +++
3 files changed, 305 insertions(+)
create mode 100644 drivers/iio/adc/mt6577_auxadc.c
<r...@kernel.org>
Signed-off-by: Zhiyong Tao <zhiyong@mediatek.com>
---
.../auxadc.txt => iio/adc/mt6577_auxadc.txt} | 18 +-
1 file changed, 13 insertions(+), 5 deletions(-)
rename Documentation/devicetree/bindings/{soc/mediatek/auxadc.txt =>
iio/adc
The commit adds auxadc nodes to the Mediatek MT2701 dtsi file.
Signed-off-by: Zhiyong Tao <zhiyong@mediatek.com>
---
This patch dependents on "Add clock support for Mediatek MT2701"[1].
Please accept this patch together with [1].
[1]http://lists.infradead.org/pipermail/lin
ta' before 'iio_device_register'.
8).Fix coding style and spelling error.
Zhiyong Tao (3):
dt-bindings: auxadc: Add binding document for Mediatek auxadc.
iio: adc: mt2701: Add Mediatek auxadc driver for mt2701.
arm: dts: mt2701: Add auxadc node.
.../auxadc.txt => iio/adc/mt6577_auxadc.txt} |
The commit adds mt2712 compatible node in binding document.
Signed-off-by: Zhiyong Tao <zhiyong@mediatek.com>
---
.../devicetree/bindings/pinctrl/pinctrl-mt65xx.txt |1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt65xx.
" and add "spec_dir_get" in "pinctrl-mt2701.c"
and "pinctrl-mtk-common.c".
5)Change "port_mask" from "7" to "6" for EINT.
6)Remove generic pull config condition in "mtk_pconf_set_pull_select".
7)Change "arg"
This series includes three patches:
1.Add mt2712 compatible node in binding document.
2.Add mt2712 pinctrl device node.
3.Add mt2712 pinctrl driver.
Zhiyong Tao (3):
dt-bindings: pinctrl: mt2712: add binding document
arm64: dts: mt2712: add pintcrl device node.
pinctrl: add mt2712 pinctrl
The commit includes two change:
1)add pintcrl device node for mt2712.
2)add pinfunc file for mt2712.
Signed-off-by: Zhiyong Tao <zhiyong@mediatek.com>
---
arch/arm64/boot/dts/mediatek/mt2712-pinfunc.h | 1014 +
arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 1
On Tue, 2017-08-01 at 17:14 +0800, Yingjoe Chen wrote:
>
> Hi Zhiyong,
>
>
>
> On Mon, 2017-07-31 at 16:22 +0800, Zhiyong Tao wrote:
> <...>
> > 3)Add "spec_dir_set" and "spec_dir_get" in "mtk_pinctrl_devdata".
> >
On Tue, 2017-08-01 at 16:44 +0800, Yingjoe Chen wrote:
> On Mon, 2017-07-31 at 16:22 +0800, Zhiyong Tao wrote:
> > This series includes three patches:
> > 1.Add mt2712 compatible node in binding document.
> > 2.Add mt2712 pinctrl device node.
> > 3.Add mt2712 pinctrl d
The commit adds mt7622 compatible node in binding document.
Signed-off-by: Zhiyong Tao <zhiyong@mediatek.com>
---
.../devicetree/bindings/iio/adc/mt6577_auxadc.txt |1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/iio/adc/mt6577_auxadc.
This patch supports auxadc suspend/resume flow.
Disable auxadc clk and power in suspend function.
Enable axuadc clk and power in resume function.
Signed-off-by: Zhiyong Tao <zhiyong@mediatek.com>
---
drivers/iio/adc/mt6577_auxadc.c | 37 +
1 file c
This commit adds mt7622 compatible node.
Signed-off-by: Zhiyong Tao <zhiyong@mediatek.com>
---
drivers/iio/adc/mt6577_auxadc.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/iio/adc/mt6577_auxadc.c b/drivers/iio/adc/mt6577_auxadc.c
index 2dd7c74..4a2cd9e 100644
--- a/d
These patches are first version of Mediatek auxadc driver for mt7622.
These patches include three patches.
The First patch adds mt7622 compatible node in binding document.
The second patch adds support for suspend/resume.
The last patch adds mt7622 compatible node in auxadc driver.
Zhiyong Tao (3
The commit adds mt7622 compatible node in binding document.
Signed-off-by: Zhiyong Tao <zhiyong@mediatek.com>
---
.../devicetree/bindings/iio/adc/mt6577_auxadc.txt |1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/iio/adc/mt6577_auxadc.
ed" for suspend/resume.
3).Change "dev_pm_ops" to "SIMPLE_DEV_PM_OPS".
Zhiyong Tao (3):
dt-bindings: adc: mt7622: add binding document
iio: adc: mt7622: add support for suspend/resume.
iio: adc: mt7622: Add compatible node for mt7622.
.../devicetree/bindings/iio/
This patch supports auxadc suspend/resume flow.
Disable auxadc clk and power in suspend function.
Enable axuadc clk and power in resume function.
Signed-off-by: Zhiyong Tao <zhiyong@mediatek.com>
---
drivers/iio/adc/mt6577_auxadc.c | 38 ++
This commit adds mt7622 compatible node.
Signed-off-by: Zhiyong Tao <zhiyong@mediatek.com>
---
drivers/iio/adc/mt6577_auxadc.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/iio/adc/mt6577_auxadc.c b/drivers/iio/adc/mt6577_auxadc.c
index c174b73..4224fc0 100644
--- a/d
On Sat, 2017-06-24 at 21:02 +0100, Jonathan Cameron wrote:
> On Thu, 22 Jun 2017 13:44:34 +0800
> Zhiyong Tao <zhiyong@mediatek.com> wrote:
>
> > This commit adds mt7622 compatible node.
> >
> > Signed-off-by: Zhiyong Tao <zhiyong@mediat
On Sat, 2017-06-24 at 21:00 +0100, Jonathan Cameron wrote:
> On Thu, 22 Jun 2017 13:44:33 +0800
> Zhiyong Tao <zhiyong@mediatek.com> wrote:
>
> > This patch supports auxadc suspend/resume flow.
> > Disable auxadc clk and power in suspend function.
> > Enab
On Sat, 2017-06-24 at 21:02 +0100, Jonathan Cameron wrote:
> On Thu, 22 Jun 2017 13:44:32 +0800
> Zhiyong Tao <zhiyong@mediatek.com> wrote:
>
> > The commit adds mt7622 compatible node in binding document.
> >
> > Signed-off-by: Zhiy
The commit adds mt2712 compatible node in binding document.
Signed-off-by: Zhiyong Tao <zhiyong@mediatek.com>
---
.../devicetree/bindings/iio/adc/mt6577_auxadc.txt |1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/iio/adc/mt6577_auxadc.
This commit adds mt2712 compatible node.
Signed-off-by: Zhiyong Tao <zhiyong@mediatek.com>
---
drivers/iio/adc/mt6577_auxadc.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/iio/adc/mt6577_auxadc.c b/drivers/iio/adc/mt6577_auxadc.c
index 414cf44..70bfa1e 100644
--- a/d
Add auxadc device node for MT2712.
Signed-off-by: Zhiyong Tao <zhiyong@mediatek.com>
---
This patch dependents on "Mediatek MT2712 clock and scpsys support"[1].
Please accept this patch together with [1].
[1]http://lists.infradead.org/pipermail/linux-mediatek/2017-Septe
This series includes three patches:
1.Add mt2712 auxadc compatible node in binding document.
2.Add mt2712 auxadc compatible node in "mt6577_auxadc.c".
2.Add mt2712 auxadc device node.
Zhiyong Tao (3):
dt-bindings: adc: mt2712: add binding document
iio: adc: mt2712: Add compa
On Thu, 2017-08-03 at 10:00 +0800, Yingjoe Chen wrote:
> On Wed, 2017-08-02 at 14:03 +0800, Zhiyong Tao wrote:
> > On Tue, 2017-08-01 at 17:14 +0800, Yingjoe Chen wrote:
> > >
> > > Hi Zhiyong,
> > >
> > >
> > >
> > > On Mon, 2017
This patch adds pinctrl file for mt2712.
Signed-off-by: Zhiyong Tao <zhiyong@mediatek.com>
---
arch/arm64/boot/dts/mediatek/mt2712-pinfunc.h | 1129 +
1 file changed, 1129 insertions(+)
create mode 100644 arch/arm64/boot/dts/mediatek/mt2712-pinfunc.h
diff
)GPIO16~17 direction setting is changed as generic pins in mt2712 E2,
So remove GPIO16~17 special direction setting and remove apmixedsys node in
pinctrl device node.
3)Add pinmux define in "mt2712-pinfunc.h" and "pinctrl-mtk-mt2712.h" for mt2712
E2 design.
Zhiyong Tao (4):
arm
The commit includes mt2712 pinctrl driver.
Signed-off-by: Zhiyong Tao <zhiyong@mediatek.com>
---
drivers/pinctrl/mediatek/Kconfig |7 +
drivers/pinctrl/mediatek/Makefile |1 +
drivers/pinctrl/mediatek/pinctrl-mt2712.c | 639
drivers/p
This patch adds pintcrl device node for mt2712.
Signed-off-by: Zhiyong Tao <zhiyong@mediatek.com>
---
arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 18 ++
1 file changed, 18 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi
b/arch/arm64/boot/dts/me
For generic pins, parameter "arg" is 0 or 1.
For special pins, bias-disable is set by R0R1,
so we need transmited "00" to set bias-disable
When we set "bias-disable" as high-z property,
the parameter should be "MTK_PUPD_SET_R1R0_00".
Signed-off-b
On Wed, 2018-02-28 at 15:49 +0800, Zhiyong Tao wrote:
> On Wed, 2018-02-28 at 15:33 +0800, Sean Wang wrote:
> > On Mon, 2018-02-26 at 16:34 +0800, Zhiyong Tao wrote:
> > > For generic pins, parameter "arg" is 0 or 1.
> > > For special pins, bias-disable is set
The commit includes mt2712 pinctrl driver.
Signed-off-by: Zhiyong Tao <zhiyong@mediatek.com>
---
drivers/pinctrl/mediatek/Kconfig |7 +
drivers/pinctrl/mediatek/Makefile |1 +
drivers/pinctrl/mediatek/pinctrl-mt2712.c | 634 +
drivers/p
For generic pins, parameter "arg" is 0 or 1.
For special pins, bias-disable is set by R0R1,
so we need transmited "00" to set bias-disable
When we set "bias-disable" as high-z property,
the parameter should be "MTK_PUPD_SET_R1R0_00".
Signed-off-b
This patch adds pinctrl file for mt2712.
Signed-off-by: Zhiyong Tao <zhiyong@mediatek.com>
Reviewed-by: Rob Herring <r...@kernel.org>
---
arch/arm64/boot/dts/mediatek/mt2712-pinfunc.h | 1123 +
1 file changed, 1123 insertions(+)
create mode 100644 arch/ar
This patch adds pintcrl device node for mt2712.
Signed-off-by: Zhiyong Tao <zhiyong@mediatek.com>
---
arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 18 ++
1 file changed, 18 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi
b/arch/arm64/boot/dts/me
in
pinctrl device node.
3)Add pinmux define in "mt2712-pinfunc.h" and "pinctrl-mtk-mt2712.h" for mt2712
E2 design.
Zhiyong Tao (5):
arm64: dts: mt2712: add pintcrl file
arm64: dts: mt2712: add pintcrl device node.
pinctrl: add mt2712 pinctrl driver
pintcrl: support bia
On Thu, 2018-03-01 at 15:43 +0800, Sean Wang wrote:
> On Thu, 2018-03-01 at 11:47 +0800, Zhiyong Tao wrote:
> > On Wed, 2018-02-28 at 15:49 +0800, Zhiyong Tao wrote:
> > > On Wed, 2018-02-28 at 15:33 +0800, Sean Wang wrote:
> > > > On Mon, 2018-02-26 at
This patch adds pinctrl file for mt2712.
Signed-off-by: Zhiyong Tao <zhiyong@mediatek.com>
---
arch/arm64/boot/dts/mediatek/mt2712-pinfunc.h | 1123 +
1 file changed, 1123 insertions(+)
create mode 100644 arch/arm64/boot/dts/mediatek/mt2712-pinfunc.h
diff
of generic and special pins.
2)GPIO16~17 direction setting is changed as generic pins in mt2712 E2,
So remove GPIO16~17 special direction setting and remove apmixedsys node in
pinctrl device node.
3)Add pinmux define in "mt2712-pinfunc.h" and "pinctrl-mtk-mt2712.h" for mt2712
E2 des
The commit includes mt2712 pinctrl driver.
Signed-off-by: Zhiyong Tao <zhiyong@mediatek.com>
---
drivers/pinctrl/mediatek/Kconfig |7 +
drivers/pinctrl/mediatek/Makefile |1 +
drivers/pinctrl/mediatek/pinctrl-mt2712.c | 632
drivers/p
For generic pins, parameter "arg" is 0 or 1.
For special pins, bias-disable is set by R0R1,
so we need transmited "00" to set bias-disable
When we set "bias-disable" as high-z property,
the parameter should be "MTK_PUPD_SET_R1R0_00".
Signed-off-b
This patch adds pintcrl device node for mt2712.
Signed-off-by: Zhiyong Tao <zhiyong@mediatek.com>
---
arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 18 ++
1 file changed, 18 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi
b/arch/arm64/boot/dts/me
On Wed, 2018-02-28 at 15:14 +0800, Sean Wang wrote:
> Hi, Zhiyong
>
> all seems better than v1, but some nitpicking is addressed as below
>
> Sean
>
> On Mon, 2018-02-26 at 16:34 +0800, Zhiyong Tao wrote:
> > The commit includes mt2712 pinctrl driver.
> >
On Wed, 2018-02-28 at 14:42 +0800, Sean Wang wrote:
> On Mon, 2018-02-26 at 16:33 +0800, Zhiyong Tao wrote:
> > This patch adds pinctrl file for mt2712.
> >
> > Signed-off-by: Zhiyong Tao <zhiyong@mediatek.com>
> > ---
> > arch/arm64/bo
On Wed, 2018-02-28 at 15:33 +0800, Sean Wang wrote:
> On Mon, 2018-02-26 at 16:34 +0800, Zhiyong Tao wrote:
> > For generic pins, parameter "arg" is 0 or 1.
> > For special pins, bias-disable is set by R0R1,
> > so we need transmited "00" to set bias-disab
On Wed, 2018-02-28 at 15:49 +0800, Zhiyong Tao wrote:
> On Wed, 2018-02-28 at 15:33 +0800, Sean Wang wrote:
> > On Mon, 2018-02-26 at 16:34 +0800, Zhiyong Tao wrote:
> > > For generic pins, parameter "arg" is 0 or 1.
> > > For special pins, bias-disable is set
This patch adds pinctrl file for mt2712.
Signed-off-by: Zhiyong Tao
Reviewed-by: Rob Herring
---
arch/arm64/boot/dts/mediatek/mt2712-pinfunc.h | 1123 +
1 file changed, 1123 insertions(+)
create mode 100644 arch/arm64/boot/dts/mediatek/mt2712-pinfunc.h
diff --git
This patch adds pintcrl device node for mt2712.
Signed-off-by: Zhiyong Tao
---
arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 18 ++
1 file changed, 18 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi
b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi
index d7688bc
in
pinctrl device node.
3)Add pinmux define in "mt2712-pinfunc.h" and "pinctrl-mtk-mt2712.h" for mt2712
E2 design.
Zhiyong Tao (5):
arm64: dts: mt2712: add pintcrl file
arm64: dts: mt2712: add pintcrl device node.
pinctrl: add mt2712 pinctrl driver
pintcrl: support bia
The commit includes mt2712 pinctrl driver.
Signed-off-by: Zhiyong Tao
---
drivers/pinctrl/mediatek/Kconfig |7 +
drivers/pinctrl/mediatek/Makefile |1 +
drivers/pinctrl/mediatek/pinctrl-mt2712.c | 634 +
drivers/pinctrl/mediatek/pinctrl-mtk-mt2712.h
For generic pins, parameter "arg" is 0 or 1.
For special pins, bias-disable is set by R0R1,
so we need transmited "00" to set bias-disable
When we set "bias-disable" as high-z property,
the parameter should be "MTK_PUPD_SET_R1R0_00".
Signed-off-by: Zh
" and add "spec_dir_get" in "pinctrl-mt2701.c"
and "pinctrl-mtk-common.c".
5)Change "port_mask" from "7" to "6" for EINT.
6)Remove generic pull config condition in "mtk_pconf_set_pull_select".
7)Change "arg" to &q
This series includes three patches:
1.Add mt2712 compatible node in binding document.
2.Add mt2712 pinctrl device node.
3.Add mt2712 pinctrl driver.
Zhiyong Tao (3):
dt-bindings: pinctrl: mt2712: add binding document
arm64: dts: mt2712: add pintcrl device node.
pinctrl: add mt2712 pinctrl
The commit includes two change:
1)add pintcrl device node for mt2712.
2)add pinfunc file for mt2712.
Signed-off-by: Zhiyong Tao
---
arch/arm64/boot/dts/mediatek/mt2712-pinfunc.h | 1014 +
arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 18 +
2 files changed, 1032
The commit adds mt2712 compatible node in binding document.
Signed-off-by: Zhiyong Tao
---
.../devicetree/bindings/pinctrl/pinctrl-mt65xx.txt |1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt65xx.txt
b/Documentation/devicetree/bindings
On Thu, 2017-08-03 at 10:00 +0800, Yingjoe Chen wrote:
> On Wed, 2017-08-02 at 14:03 +0800, Zhiyong Tao wrote:
> > On Tue, 2017-08-01 at 17:14 +0800, Yingjoe Chen wrote:
> > >
> > > Hi Zhiyong,
> > >
> > >
> > >
> > > On Mon, 2017
The commit adds mt2712 compatible node in binding document.
Signed-off-by: Zhiyong Tao
---
.../devicetree/bindings/iio/adc/mt6577_auxadc.txt |1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/iio/adc/mt6577_auxadc.txt
b/Documentation/devicetree/bindings
This commit adds mt2712 compatible node.
Signed-off-by: Zhiyong Tao
---
drivers/iio/adc/mt6577_auxadc.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/iio/adc/mt6577_auxadc.c b/drivers/iio/adc/mt6577_auxadc.c
index 414cf44..70bfa1e 100644
--- a/drivers/iio/adc/mt6577_auxadc.c
Add auxadc device node for MT2712.
Signed-off-by: Zhiyong Tao
---
This patch dependents on "Mediatek MT2712 clock and scpsys support"[1].
Please accept this patch together with [1].
[1]http://lists.infradead.org/pipermail/linux-mediatek/2017-September/010461.html
---
arch/arm6
This series includes three patches:
1.Add mt2712 auxadc compatible node in binding document.
2.Add mt2712 auxadc compatible node in "mt6577_auxadc.c".
2.Add mt2712 auxadc device node.
Zhiyong Tao (3):
dt-bindings: adc: mt2712: add binding document
iio: adc: mt2712: Add compa
On Tue, 2017-08-01 at 16:44 +0800, Yingjoe Chen wrote:
> On Mon, 2017-07-31 at 16:22 +0800, Zhiyong Tao wrote:
> > This series includes three patches:
> > 1.Add mt2712 compatible node in binding document.
> > 2.Add mt2712 pinctrl device node.
> > 3.Add mt2712 pinctrl d
On Tue, 2017-08-01 at 17:14 +0800, Yingjoe Chen wrote:
>
> Hi Zhiyong,
>
>
>
> On Mon, 2017-07-31 at 16:22 +0800, Zhiyong Tao wrote:
> <...>
> > 3)Add "spec_dir_set" and "spec_dir_get" in "mtk_pinctrl_devdata".
> >
For generic pins, parameter "arg" is 0 or 1.
For special pins, bias-disable is set by R0R1,
so we need transmited "00" to set bias-disable
When we set "bias-disable" as high-z property,
the parameter should be "MTK_PUPD_SET_R1R0_00".
Signed-off-by: Zh
)GPIO16~17 direction setting is changed as generic pins in mt2712 E2,
So remove GPIO16~17 special direction setting and remove apmixedsys node in
pinctrl device node.
3)Add pinmux define in "mt2712-pinfunc.h" and "pinctrl-mtk-mt2712.h" for mt2712
E2 design.
Zhiyong Tao (4):
arm
The commit includes mt2712 pinctrl driver.
Signed-off-by: Zhiyong Tao
---
drivers/pinctrl/mediatek/Kconfig |7 +
drivers/pinctrl/mediatek/Makefile |1 +
drivers/pinctrl/mediatek/pinctrl-mt2712.c | 639
drivers/pinctrl/mediatek/pinctrl-mtk-mt2712.h
This patch adds pinctrl file for mt2712.
Signed-off-by: Zhiyong Tao
---
arch/arm64/boot/dts/mediatek/mt2712-pinfunc.h | 1129 +
1 file changed, 1129 insertions(+)
create mode 100644 arch/arm64/boot/dts/mediatek/mt2712-pinfunc.h
diff --git a/arch/arm64/boot/dts/mediatek
This patch adds pintcrl device node for mt2712.
Signed-off-by: Zhiyong Tao
---
arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 18 ++
1 file changed, 18 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi
b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi
index d7688bc
On Thu, 2018-03-01 at 15:43 +0800, Sean Wang wrote:
> On Thu, 2018-03-01 at 11:47 +0800, Zhiyong Tao wrote:
> > On Wed, 2018-02-28 at 15:49 +0800, Zhiyong Tao wrote:
> > > On Wed, 2018-02-28 at 15:33 +0800, Sean Wang wrote:
> > > > On Mon, 2018-02-26 at
of generic and special pins.
2)GPIO16~17 direction setting is changed as generic pins in mt2712 E2,
So remove GPIO16~17 special direction setting and remove apmixedsys node in
pinctrl device node.
3)Add pinmux define in "mt2712-pinfunc.h" and "pinctrl-mtk-mt2712.h" for mt2712
E2 des
This patch adds pinctrl file for mt2712.
Signed-off-by: Zhiyong Tao
---
arch/arm64/boot/dts/mediatek/mt2712-pinfunc.h | 1123 +
1 file changed, 1123 insertions(+)
create mode 100644 arch/arm64/boot/dts/mediatek/mt2712-pinfunc.h
diff --git a/arch/arm64/boot/dts/mediatek
The commit includes mt2712 pinctrl driver.
Signed-off-by: Zhiyong Tao
---
drivers/pinctrl/mediatek/Kconfig |7 +
drivers/pinctrl/mediatek/Makefile |1 +
drivers/pinctrl/mediatek/pinctrl-mt2712.c | 632
drivers/pinctrl/mediatek/pinctrl-mtk-mt2712.h
This patch adds pintcrl device node for mt2712.
Signed-off-by: Zhiyong Tao
---
arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 18 ++
1 file changed, 18 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi
b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi
index d7688bc
For generic pins, parameter "arg" is 0 or 1.
For special pins, bias-disable is set by R0R1,
so we need transmited "00" to set bias-disable
When we set "bias-disable" as high-z property,
the parameter should be "MTK_PUPD_SET_R1R0_00".
Signed-off-by: Zh
On Wed, 2018-02-28 at 15:14 +0800, Sean Wang wrote:
> Hi, Zhiyong
>
> all seems better than v1, but some nitpicking is addressed as below
>
> Sean
>
> On Mon, 2018-02-26 at 16:34 +0800, Zhiyong Tao wrote:
> > The commit includes mt2712 pinctrl driver.
> >
On Wed, 2018-02-28 at 14:42 +0800, Sean Wang wrote:
> On Mon, 2018-02-26 at 16:33 +0800, Zhiyong Tao wrote:
> > This patch adds pinctrl file for mt2712.
> >
> > Signed-off-by: Zhiyong Tao
> > ---
> > arch/arm64/boot/dts/mediatek/mt2712-pinfunc.h | 1129
> >
1 - 100 of 238 matches
Mail list logo