- 17 9月, 2022 4 次提交
-
-
由 Angus Ainslie 提交于
Add the connector properties to the USB type-c stanza to enable (PD) role-switching on the Librem 5 phone. Signed-off-by: NAngus Ainslie <angus@akkea.ca> Signed-off-by: NMartin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
由 Sebastian Krzyszkowiak 提交于
This allows the userspace to notice that there's not enough current provided to charge the battery, and also fixes issues with 0% SOC values being considered invalid. Signed-off-by: NSebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm> Signed-off-by: NMartin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
由 Guido Günther 提交于
Describe the RGB notification leds on the Librem 5 phone. Use the common defines so we're sure to adhere to the common patterns, use predefined led colors and functions so we're being warned in case of deprecations. Signed-off-by: NGuido Günther <agx@sigxcpu.org> Signed-off-by: NMartin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
由 Martin Kepplinger 提交于
Describe the focus motor that will be used for the rear camera - even though the rear camera sensor driver is not yet in the mainline. The focus motor is a separate device and can be controlled already. Signed-off-by: NMartin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
- 19 6月, 2022 1 次提交
-
-
由 Krzysztof Kozlowski 提交于
The node names should be generic and DT schema expects certain pattern (e.g. with key/button/switch). Signed-off-by: NKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
- 08 4月, 2022 4 次提交
-
-
由 Angus Ainslie 提交于
This partition will hold a squashfs firmware jail. Only one read-only partition is needed. Signed-off-by: NAngus Ainslie <angus@akkea.ca> Signed-off-by: NMartin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
由 Guido Günther 提交于
1,5A is what's used by the type-c controller on the Librem 5 board so increase ti,boost-max-current to 1,5A too. Signed-off-by: NGuido Günther <agx@sigxcpu.org> Signed-off-by: NMartin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
由 Martin Kepplinger 提交于
That pin is not connected on the board so no need to describe it. Signed-off-by: NMartin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
由 Martin Kepplinger 提交于
They turn on the display currently so to be consistent, let's make them wake the system from suspend as well. Signed-off-by: NMartin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
- 11 2月, 2022 1 次提交
-
-
由 Lucas Stach 提交于
Without a OPP table or a downstream TF-A running on the system the DDRC will fail to probe, as it has no means to scale the DRAM frequency in that case. This however will block the bus scaling driver to come up and this in turn prevents other devices that hook into the interconnect from probing. If the DDRC is disabled, the interconnect driver will simply ignore it. As most systems don't want to scale the DRAM frequency, disable the node by default and only enable it on the systems that actually uses this capability and provides a valid OPP table in the DT. Signed-off-by: NLucas Stach <dev@lynxeye.de> Reviewed-by: NFabio Estevam <festevam@gmail.com> Acked-by: NMartin Kepplinger <martin.kepplinger@puri.sm> Reviewed-by: NGuido Günther <agx@sigxcpu.org> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
- 29 1月, 2022 1 次提交
-
-
由 Martin Kepplinger 提交于
Since the previous commit fixed a hardware description bug for imx8mq, we need to fix up all DT users like this. The mipi_csi port@0 is connected to the sensor, not port@1. Fixes: fed76035 ("arm64: dts: imx8mq-librem5: describe the selfie cam") Signed-off-by: NMartin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
- 22 11月, 2021 2 次提交
-
-
由 Martin Kepplinger 提交于
Enable the CSI1 MIPI RX controller and CSI1 bridge on the SoC. Describe the Librem 5 front-facing camera, connected to the CSI1 MIPI. the following sets formats, streams 10 frames and saves one: #!/bin/bash WIDTH=1632 HEIGHT=1224 SKIP=10 media-ctl -d "platform:30a90000.csi" --set-v4l2 "'csi':0 [fmt:SGBRG10/${WIDTH}x${HEIGHT} colorspace:raw]" media-ctl -d "platform:30a90000.csi" --set-v4l2 "'imx8mq-mipi-csi2 30a70000.csi':0 [fmt:SGBRG10/${WIDTH}x${HEIGHT} colorspace:raw]" media-ctl -d "platform:30a90000.csi" --set-v4l2 "'hi846 2-0020':0 [fmt:SGBRG10/${WIDTH}x${HEIGHT} colorspace:raw]" media-ctl -d "platform:30a90000.csi" -l "'hi846 2-0020':0 -> 'imx8mq-mipi-csi2 30a70000.csi':0 [1]" v4l2-ctl -d "/dev/v4l/by-path/platform-30a90000.csi-video-index0" --set-fmt-video=width=${WIDTH},height=${HEIGHT},pixelformat=GB16 --stream-mmap --stream-to=$WIDTH.raw --stream-skip=$SKIP --stream-count=1 Signed-off-by: NMartin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
由 Martin Kepplinger 提交于
CAMERA_PWR_EN controls two different power supplies that cameras will use. The hardware killswitch controls a third one. Describe that appropriately. The pinctrl that describes the gpio that is used in 2 places here is added to the pmic. This is done because pmic is powered early enough to make sure this will work. When we would have put the same pinctrl property into the 2 regulator nodes (instead of the pmic), we'd get: imx8mq-pinctrl 30330000.pinctrl: pin MX8MQ_IOMUXC_GPIO1_IO00 already requested by regulator-csi-1v8; cannot claim for regulator-vcam-2v8 imx8mq-pinctrl 30330000.pinctrl: pin-10 (regulator-vcam-2v8) status -22 imx8mq-pinctrl 30330000.pinctrl: could not request pin 10 (MX8MQ_IOMUXC_GPIO1_IO00) from group camerapwrgrp on device 30330000.pinctrl Signed-off-by: NMartin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
- 21 11月, 2021 1 次提交
-
-
由 Arnaud Ferraris 提交于
A new 'chassis-type' root node property has recently been approved for the device-tree specification, in order to provide a simple way for userspace to detect the device form factor and adjust their behavior accordingly. This patch fills in this property for end-user devices (such as laptops, smartphones and tablets) based on NXP ARM64 processors. Signed-off-by: NArnaud Ferraris <arnaud.ferraris@collabora.com> Reviewed-by: NGuido Günther <agx@sigxcpu.org> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
- 15 10月, 2021 7 次提交
-
-
由 Sebastian Krzyszkowiak 提交于
The default of 5ms is too low. Signed-off-by: NSebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm> Signed-off-by: NMartin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
由 Angus Ainslie 提交于
This is needed for the 1LV Cyress WiFi module to probe correctly. It also helps improve GNSS sensitivity. Signed-off-by: NAngus Ainslie <angus@akkea.ca> Signed-off-by: NMartin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
由 Angus Ainslie 提交于
Some wifi cards need reset asserted until after the power supplies have been enabled. So wire up the W_DISABLE signal for the SDIO port (WIFI_REG_ON net) and the BT_REG_ON net to use it for power sequencing. Signed-off-by: NAngus Ainslie <angus@akkea.ca> Signed-off-by: NMartin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
由 Angus Ainslie 提交于
The redpine wifi card takes some time to wake up. Wait for it. Signed-off-by: NAngus Ainslie <angus@akkea.ca> Signed-off-by: NMartin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
由 Guido Günther 提交于
Connect the wifi power regulator to the corresponding GPIO. Signed-off-by: NGuido Günther <agx@sigxcpu.org> Signed-off-by: NMartin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
由 Sebastian Krzyszkowiak 提交于
Fix wrong pinctrl assignments. Signed-off-by: NSebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm> Suggested-by: NEric Kuzmenko <eric.kuzmenko@puri.sm> Signed-off-by: NMartin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
由 Martin Kepplinger 提交于
Add the missing description for the reset gpio to the panels DT description. Signed-off-by: NMartin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
- 22 9月, 2021 1 次提交
-
-
由 Krzysztof Kozlowski 提交于
Align the name of operating-points node to dtschema to fix warnings like: ddrc-opp-table: $nodename:0: 'ddrc-opp-table' does not match '^opp-table(-[a-z0-9]+)?$' Signed-off-by: NKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
- 29 3月, 2021 1 次提交
-
-
由 Guido Günther 提交于
There was an additional alias in the specifier it hogged line 27 instead of line 1. Signed-off-by: NGuido Günther <agx@sigxcpu.org> Signed-off-by: NMartin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
- 15 3月, 2021 2 次提交
-
-
由 Angus Ainslie 提交于
These sections should be read only as they contain important data. Signed-off-by: NAngus Ainslie <angus@akkea.ca> Signed-off-by: NMartin Kepplinger <martin.kepplinger@puri.sm> Reviewed-by: NKrzysztof Kozlowski <krzk@kernel.org> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
由 Guido Günther 提交于
IMX8MQ_AUDIO_PLL1 and IMX8MQ_AUDIO_PLL2 are setup to the same rates right on the clock controller. Signed-off-by: NGuido Günther <agx@sigxcpu.org> Signed-off-by: NMartin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
- 29 1月, 2021 6 次提交
-
-
由 Martin Kepplinger 提交于
Expect all those regulators to be turned on initially. Signed-off-by: NMartin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
由 Martin Kepplinger 提交于
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: NMartin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
由 Guido Günther 提交于
It's a supply for to touch and LCD. Signed-off-by: NGuido Günther <agx@sigxcpu.org> Signed-off-by: NMartin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
由 Guido Günther 提交于
The tps65982 feeds the bq25895 charge controller on the Librem 5. Signed-off-by: NGuido Günther <agx@sigxcpu.org> Signed-off-by: NMartin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
由 Guido Günther 提交于
With the pmic driver fixed we can now shut off the regulator in the gpc. Signed-off-by: NGuido Günther <agx@sigxcpu.org> Signed-off-by: NMartin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
由 Guido Günther 提交于
This is consistent with other IRQs and makes keeps currents low. Signed-off-by: NGuido Günther <agx@sigxcpu.org> Signed-off-by: NMartin Kepplinger <martin.kepplinger@puri.sm> Reviewed-by: NKrzysztof Kozlowski <krzk@kernel.org> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
- 11 1月, 2021 3 次提交
-
-
由 Martin Kepplinger 提交于
According to commit e045f044 ("arm64: dts: imx8mq: Move usdhc clocks assignment to board DT") add the clocks assignment to imx8mq-librem5.dtsi too. Fixes: e045f044 ("arm64: dts: imx8mq: Move usdhc clocks assignment to board DT") Signed-off-by: NMartin Kepplinger <martin.kepplinger@puri.sm> Reviewed-by: NKrzysztof Kozlowski <krzk@kernel.org> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
由 Martin Kepplinger 提交于
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: 8f0216b0 ("arm64: dts: Add a device tree for the Librem 5 phone") Signed-off-by: NMartin Kepplinger <martin.kepplinger@puri.sm> Reviewed-by: NKrzysztof Kozlowski <krzk@kernel.org> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
由 Martin Kepplinger 提交于
buck7 is the supply here. Also, fix alphabetical ordering. Signed-off-by: NMartin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
- 26 10月, 2020 1 次提交
-
-
由 Krzysztof Kozlowski 提交于
dtschema expects GPIO hogs to end with 'hog' suffix. Signed-off-by: NKrzysztof Kozlowski <krzk@kernel.org> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
- 22 9月, 2020 2 次提交
-
-
由 Krzysztof Kozlowski 提交于
Correct the name of property for GPIO specifier in GPIO hog. Signed-off-by: NKrzysztof Kozlowski <krzk@kernel.org> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
由 Krzysztof Kozlowski 提交于
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: NKrzysztof Kozlowski <krzk@kernel.org> Acked-By: NTim Harvey <tharvey@gateworks.com> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
- 13 9月, 2020 3 次提交
-
-
由 Krzysztof Kozlowski 提交于
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: NKrzysztof Kozlowski <krzk@kernel.org> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
由 Krzysztof Kozlowski 提交于
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: NKrzysztof Kozlowski <krzk@kernel.org> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
由 Krzysztof Kozlowski 提交于
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: NKrzysztof Kozlowski <krzk@kernel.org> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-