aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
Commit message (Collapse)AuthorAgeFilesLines
* arm64: dts: imx8mq-librem5: set regulators boot-onMartin Kepplinger2021-01-291-0/+13
| | | | | | | Expect all those regulators to be turned on initially. Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
* arm64: dts: imx8mq-librem5: enable the LCD panelMartin Kepplinger2021-01-291-2/+51
| | | | | | | | This enables the Librem5's ft8006p based LCD panel driven by the imx8mq's Northwest Logic DSI IP core and mxsfb display controller. Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
* arm64: dts: imx8mq-librem5: Add LCD_1V8 regulatorGuido Günther2021-01-291-0/+15
| | | | | | | | It's a supply for to touch and LCD. Signed-off-by: Guido Günther <agx@sigxcpu.org> Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
* arm64: dts: imx8mq-librem5: Add usb-c chip as supplier for the chargerGuido Günther2021-01-291-0/+1
| | | | | | | | The tps65982 feeds the bq25895 charge controller on the Librem 5. Signed-off-by: Guido Günther <agx@sigxcpu.org> Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
* arm64: dts: imx8mq-librem5: Don't mark buck3 as always onGuido Günther2021-01-291-1/+0
| | | | | | | | With the pmic driver fixed we can now shut off the regulator in the gpc. Signed-off-by: Guido Günther <agx@sigxcpu.org> Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
* arm64: dts: imx8mq-librem5: Mark charger IRQ as High-ZGuido Günther2021-01-291-1/+1
| | | | | | | | | This is consistent with other IRQs and makes keeps currents low. Signed-off-by: Guido Günther <agx@sigxcpu.org> Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
* arm64: dts: imx8mq-librem5: Move usdhc clocks assignment to board DTMartin Kepplinger2021-01-111-0/+4
| | | | | | | | | | | According to commit e045f044e84e ("arm64: dts: imx8mq: Move usdhc clocks assignment to board DT") add the clocks assignment to imx8mq-librem5.dtsi too. Fixes: e045f044e84e ("arm64: dts: imx8mq: Move usdhc clocks assignment to board DT") Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
* arm64: dts: imx8mq-librem5: add pinctrl for the touchscreen descriptionMartin Kepplinger2021-01-111-0/+9
| | | | | | | | | | In order for the touchscreen interrupt line to work, describe it properly. Otherwise it can work if defaults are ok, but we cannot be sure. Fixes: 8f0216b006e5 ("arm64: dts: Add a device tree for the Librem 5 phone") Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
* arm64: dts: imx8mq-librem5: add vin-supply to VDD_1V8Martin Kepplinger2021-01-111-7/+8
| | | | | | | buck7 is the supply here. Also, fix alphabetical ordering. Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
* arm64: dts: imx8mq-librem5: align GPIO hog names with dtschemaKrzysztof Kozlowski2020-10-261-1/+1
| | | | | | | dtschema expects GPIO hogs to end with 'hog' suffix. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
* arm64: dts: imx8mq-librem5: correct GPIO hog propertyKrzysztof Kozlowski2020-09-221-1/+1
| | | | | | | Correct the name of property for GPIO specifier in GPIO hog. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
* arm64: dts: imx8mq: correct interrupt flagsKrzysztof Kozlowski2020-09-221-1/+2
| | | | | | | | | | | | | | | | GPIO_ACTIVE_x flags are not correct in the context of interrupt flags. These are simple defines so they could be used in DTS but they will not have the same meaning: 1. GPIO_ACTIVE_HIGH = 0 = IRQ_TYPE_NONE 2. GPIO_ACTIVE_LOW = 1 = IRQ_TYPE_EDGE_RISING Correct the interrupt flags, assuming the author of the code wanted same logical behavior behind the name "ACTIVE_xxx", this is: ACTIVE_LOW => IRQ_TYPE_LEVEL_LOW Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Acked-By: Tim Harvey <tharvey@gateworks.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
* arm64: dts: imx8mq-librem5: Add interrupt-names to ti,tps6598xKrzysztof Kozlowski2020-09-131-0/+1
| | | | | | | | | | | The ti,tps6598x binding requires interrupt-names property. The driver does not really use it but the hardware could have more interrupt lines connected. This fixes dtbs_check warning: arch/arm64/boot/dts/freescale/imx8mq-librem5-r2.dt.yaml: usb-pd@3f: 'interrupt-names' is a required property Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
* arm64: dts: imx8mq-librem5: Drop interrupt-names in PMICKrzysztof Kozlowski2020-09-131-1/+0
| | | | | | | | | | | | The 'interrupt-names' property is not described in dtschema, not used by the driver and does not really make sense as its value is simple 'irq'. Drop it to fix dtbs_check warnings like: arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dt.yaml: pmic@4b: 'interrupt-names' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
* arm64: dts: imx8mq-librem5: Align regulator names with schemaKrzysztof Kozlowski2020-09-131-15/+15
| | | | | | | | | | Device tree schema expects regulator names to be lowercase. This fixes dtbs_check warnings like: pmic@4b: regulators:LDO1:regulator-name:0: 'LDO1' does not match '^ldo[1-7]$' Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
* arm64: dts: Add a device tree for the Librem 5 phoneAngus Ainslie (Purism)2020-08-231-0/+1105
Add a devicetree description for the Librem 5 phone. 4 hardware revisions have been available. Some revisions include changes that need different software to be run. So far, r3 ("Dogwood") is one such example, see: "Aspen" r0 not supported (very few devices exist) "Birch" r1 supported by r2 "Chestnut" r2 added by this patch "Dogwood" r3 added by this patch "Evergreen" r4 tba / most likely supported by r3 See https://puri.sm/products/librem-5/ for more information. This boots to a working console with working WWAN modem, wifi usdhc, IMU sensor device, proximity sensor, haptic motor, gpio keys, GNSS and LEDs. Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: Angus Ainslie (Purism) <angus@akkea.ca> Signed-off-by: Guido Günther <agx@sigxcpu.org> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com> (for the audio part) Reviewed-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>