- Sep 30, 2021
-
-
Martin Kepplinger authored
-
Martin Kepplinger authored
-
Martin Kepplinger authored
-
-
-
-
Compile in the interconnect and devfreq drivers for the i.MX8MQ. Also compile in the powersave devfreq governor. Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
-
On probe, if the dts node contains a valid icc path, then look for the fsl,icc-rate property and get the rate. Also set the icc bandwidth for that path to the nominal rate needed for sdhc to function right. Then enable and disable the path every time the sdhc is used or not. This will result in reducing the clock speeds along the icc path for each pl301 and NoC, but still meet the requirements for all the other icc consumers. Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
-
On probe, if the dts node contains a valid icc path, then look for the fsl,icc-rate property and get the rate. Also set the icc bandwidth for that path to the nominal rate needed for fec to function right. Then enable and disable the path every time the fec is used or not. This will result in reducing the clock speeds along the icc path for each pl301 and NoC, but still meet the requirements for all the other icc consumers. Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
-
We add all the properties necessary to control the interconnect based on the required rates all the way from consumers to the dram. The fsl,icc-rate specifies the minimum required rate the consumer needs in order to operate. For now, only the fec, usdhc1 and usdhc2 are added as consumers. Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
-
The icc node will be probed by the imx8mq interconnect driver. Will look-up the NoC and all the pl301s (identified by fsl,icc-id property) and will assign the corresponding icc node to each one of them. Then, it will register the icc provider. Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
-
Add all the pl301s found on i.MX8MQ, according to the bus diagram. Each pl301 has its own clock, icc id and opp table. They are probed by the imx-bus driver. Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
-
The fsl,icc-id property here is used to link the icc node registered by the imx8mq interconnect driver with the noc device. Remove the fsl,ddrc property since it will not be used anymore. Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
-
The aggregate function will return whatever is the highest rate for that specific node. The imx_icc_get_bw sets the initial avg and peak to 0 in order to avoid setting them to INT_MAX by the interconnect core. Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
-
The i.MX8MQ driver will probe based on the compatible string instead of using device data in imx-bus devfreq driver. Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
-
According to the bus diagram, there are two more pl301s that need to be added here. The pl301_per_m which is an intermediary node between pl301_main and its masters: usdhc1, usdhc2 and sdma. The pl301_wakeup is an intermediary node between pl301_main and its masters, in this case all the SAIs. Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
-
Now that the imx generic interconnect doesn't use the imx_icc_node_adj_desc, we remove it from all the i.MX8M platform drivers. Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
-
In order to be able to have more than one NoCs in the interconnect net we need to decouple the NoC from the dram. So instead of using the imx_icc_node_adj_desc, we use the fsl,icc-id property that is in each NoC (or pl301) to the icc node (based on the id) to it. Along with all the NoC and pl301 nodes in the dts we will have a interconnect dedicated node. This node will be the actual device of the icc provider. Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
-
By switching to powersave governor, we allow the imx8m-ddrc to always run at minimum rate needed by all the running masters. Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
-
The link between an imx-bus device and its icc id will be done through the fsl,icc-id property in each dts node. The imx interconnect driver will pick up all the dts nodes that have that property defined and will link them to the rightfull icc id. Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
-
By switching to powersave governor, we allow the imx-bus to always run at minimum rate needed by all the running masters. Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
-
According to the bus diagram, there are two more pl301s that need to be added here. The pl301_per_m which is an intermediary node between pl301_main and its masters: usdhc1, usdhc2 and sdma. The pl301_wakeup is an intermediary node between pl301_main and its masters, in this case all the SAIs. Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
-
- Sep 29, 2021
-
-
Martin Kepplinger authored
some tools like v4l2-compliance let users select a media device based on the bus_info string which can be quite convenient. Use a unique string for that. This also fixes the following v4l2-compliance warning: warn: v4l2-test-media.cpp(52): empty bus_info Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-
Martin Kepplinger authored
-
Martin Kepplinger authored
Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
-
Martin Kepplinger authored
This reverts commit 907f0a30.
-
Martin Kepplinger authored
the amplifier uses it too: [ 5.413600] imx8mq-pinctrl 30330000.pinctrl: pin MX8MQ_IOMUXC_SPDIF_TX already requested by 30240000. gpio; cannot claim for speaker-amp [ 5.425984] imx8mq-pinctrl 30330000.pinctrl: pin-122 (speaker-amp) status -22
-
Martin Kepplinger authored
the pinctrl was duplicated and the driver doesnt load when the led is there too.
-
Martin Kepplinger authored
-
The default behavior on kernel panic is to hang indefinitely, which isn't great for a battery powered device where investigating a panic after it happened may not even be feasible. Therefore, set up the kernel so it reboots on panic. For debugging, this can be disabled at runtime by calling `sysctl kernel.panic=0`. A delay before rebooting can be set by replacing `0` with a number of seconds.
-
Allow the dw9714 to control the regulator Signed-off-by: Angus Ainslie <angus@akkea.ca>
-
We need this driver for (big) camera focus Signed-off-by: Angus Ainslie <angus@akkea.ca>
-
mxsfb queries this from us so return a meaningful format. Signed-off-by: Guido Günther <guido.gunther@puri.sm>
-
Martin Kepplinger authored
This reverts commit 018d33de.
-
- Sep 27, 2021
-
-
Martin Kepplinger authored
replace the (deprecated) open() implementation with the init_cfg() implementation.
-
The default of 5ms is too low. Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
-
Martin Kepplinger authored
This reverts commit 442aa361.
-
Martin Kepplinger authored
-
Martin Kepplinger authored
-
Martin Kepplinger authored
-