Skip to content

Commit

Permalink
Merge remote-tracking branch 'nxp-linux-sdk/imx_5.4.y' into imx_5.4.y…
Browse files Browse the repository at this point in the history
…_android

Conflicts:
	drivers/mxc/gpu-viv/hal/kernel/inc/gc_feature_database.h
	drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_version.h
	drivers/mxc/gpu-viv/hal/os/linux/kernel/allocator/default/gc_hal_kernel_allocator_gfp.c
	drivers/mxc/gpu-viv/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx.c

Change-Id: I32a62ecd8d9de89363f380143b3bdf99164d8c6c
Signed-off-by: Jindong <[email protected]>
  • Loading branch information
JDYue committed Aug 17, 2020
2 parents 0ee0149 + ca331e5 commit b27a8ba
Show file tree
Hide file tree
Showing 59 changed files with 4,694 additions and 722 deletions.
3 changes: 2 additions & 1 deletion Documentation/ioctl/ioctl-number.rst
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@ Code Seq# Include File Comments
'I' 00-0F drivers/isdn/divert/isdn_divert.h conflict!
'I' 40-4F linux/mISDNif.h conflict!
'J' 00-1F drivers/scsi/gdth_ioctl.h
'K' all linux/kd.h
'K' all linux/kd.h conflict!
'K' 00-01 linux/caam_keygen.h conflict! caam driver
'L' 00-1F linux/loop.h conflict!
'L' 10-1F drivers/scsi/mpt3sas/mpt3sas_ctl.h conflict!
'L' 20-2F linux/lightnvm.h
Expand Down
5 changes: 3 additions & 2 deletions arch/arm64/boot/dts/freescale/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mp-evk.dtb imx8mp-evk-root.dtb imx8mp-evk-inmate.d
imx8mp-evk-it6263-lvds-dual-channel.dtb \
imx8mp-evk-jdi-wuxga-lvds-panel.dtb imx8mp-ab2.dtb imx8mp-evk-sof-wm8960.dtb \
imx8mp-evk-dsp.dtb imx8mp-evk-ov2775.dtb imx8mp-evk-basler.dtb imx8mp-evk-pcie-ep.dtb \
imx8mp-evk-spdif-lb.dtb imx8mp-evk-dsp-lpa.dtb
imx8mp-evk-spdif-lb.dtb imx8mp-evk-dsp-lpa.dtb imx8mp-evk-ov2775-ov5640.dtb \
imx8mp-evk-basler-ov5640.dtb imx8mp-evk-dual-ov2775.dtb
dtb-$(CONFIG_ARCH_MXC) += imx8mq-evk.dtb imx8mq-evk-rpmsg.dtb imx8mq-evk-pcie1-m2.dtb imx8mq-evk-usd-wifi.dtb \
imx8mq-evk-usdhc2-m2.dtb imx8mq-evk-pcie-ep.dtb \
imx8mq-evk-no-product.dtb imx8mq-evk-no-dynamic_partition.dtb \
Expand Down Expand Up @@ -165,7 +166,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx8qxp-mek.dtb imx8qxp-mek-dsp.dtb imx8qxp-mek-ov5640
dtb-$(CONFIG_ARCH_MXC) += imx8qxp-mek-dom0.dtb imx8qxp-mek-root.dtb \
imx8qxp-mek-inmate.dtb
dtb-$(CONFIG_ARCH_MXC) += imx8dxl-evk.dtb imx8dxl-evk-rpmsg.dtb \
imx8dxl-evk-enet0.dtb imx8dxl-evk-enet0-tja1100.dtb imx8dxl-evk-pcie.dtb \
imx8dxl-evk-enet0.dtb imx8dxl-evk-enet0-tja1100.dtb \
imx8dxl-evk-lpspi-slave.dtb \
imx8dxl-evk-pcie-ep.dtb \
imx8dxl-ddr3-val.dtb imx8dxl-evk-root.dtb imx8dxl-evk-inmate.dtb
Expand Down
12 changes: 0 additions & 12 deletions arch/arm64/boot/dts/freescale/imx8dxl-evk-pcie.dts

This file was deleted.

2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/freescale/imx8dxl-evk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@
ext_osc = <0>;
epdev_on-supply = <&epdev_on>;
reserved-region = <&rpmsg_reserved>;
status = "disabled";
status = "okay";
};

&pcieb_ep{
Expand Down
2 changes: 2 additions & 0 deletions arch/arm64/boot/dts/freescale/imx8mm.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -689,6 +689,8 @@
caam_snvs: caam-snvs@30370000 {
compatible = "fsl,imx6q-caam-snvs";
reg = <0x30370000 0x10000>;
clocks = <&clk IMX8MM_CLK_SNVS_ROOT>;
clock-names = "ipg";
};

snvs: snvs@30370000 {
Expand Down
2 changes: 2 additions & 0 deletions arch/arm64/boot/dts/freescale/imx8mn.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -714,6 +714,8 @@
caam_snvs: caam-snvs@30370000 {
compatible = "fsl,imx6q-caam-snvs";
reg = <0x30370000 0x10000>;
clocks = <&clk IMX8MN_CLK_SNVS_ROOT>;
clock-names = "ipg";
};

snvs: snvs@30370000 {
Expand Down
76 changes: 76 additions & 0 deletions arch/arm64/boot/dts/freescale/imx8mp-evk-basler-ov5640.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Copyright 2020 NXP
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/

#include "imx8mp-evk.dts"

&i2c2 {
/delete-node/ov5640_mipi@3c;

basler_camera@36 {
compatible = "basler,basler-camera-vvcam", "basler-camera-vvcam";
reg = <0x36>;
csi_id = <0x00>;
status = "okay";

port {
basler_ep_0: endpoint {
data-lanes = <1 2 3 4>;
clock-lanes = <0>;
link-frequencies = /bits/ 64 <248000000>;
remote-endpoint = <&mipi_csi0_ep>;
};
};
};
};

&mipi_csi_0 {
status = "okay";

port@0 {
mipi_csi0_ep: endpoint {
remote-endpoint = <&basler_ep_0>;
data-lanes = <4>;
csis-hs-settle = <16>;
};
};
};

&mipi_csi_1 {
status = "okay";
};

&ov5640_1 {
powerdown-gpios = <&gpio2 11 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
csi_id = <1>;

status = "okay";
};

&isi_0 {
status = "disabled";
};

&isi_1 {
status = "okay";
};

&isp_0 {
status = "okay";
};

&dewarp {
status = "okay";
};
39 changes: 33 additions & 6 deletions arch/arm64/boot/dts/freescale/imx8mp-evk-basler.dts
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,52 @@
* GNU General Public License for more details.
*/

#include "imx8mp-evk-ov2775.dts"

&ov2775_0 {
status = "disabled";
};
#include "imx8mp-evk.dts"

&i2c2 {
/delete-node/ov5640_mipi@3c;

basler_camera@36 {
compatible = "basler,basler-camera-vvcam", "basler-camera-vvcam";
reg = <0x36>;
csi_id = <0x00>;
status = "okay";

port {
endpoint {
basler_ep_0: endpoint {
data-lanes = <1 2 3 4>;
clock-lanes = <0>;
link-frequencies = /bits/ 64 <248000000>;
remote-endpoint = <&mipi_csi0_ep>;
};
};
};
};

&mipi_csi_0 {
status = "okay";

port@0 {
mipi_csi0_ep: endpoint {
remote-endpoint = <&basler_ep_0>;
data-lanes = <4>;
csis-hs-settle = <16>;
};
};
};

&cameradev {
status = "okay";
};

&isi_0 {
status = "disabled";
};

&isp_0 {
status = "okay";
};

&dewarp {
status = "okay";
};
4 changes: 4 additions & 0 deletions arch/arm64/boot/dts/freescale/imx8mp-evk-dsp-lpa.dts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@

#include "imx8mp-evk-dsp.dts"

&usdhc2 {
non-removable;
};

&i2c3 {
codec: wm8960@1a {
compatible = "wlf,wm8960,lpa";
Expand Down
127 changes: 127 additions & 0 deletions arch/arm64/boot/dts/freescale/imx8mp-evk-dual-ov2775.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Copyright 2020 NXP
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/

#include "imx8mp-evk.dts"

&i2c2 {
/delete-node/ov5640_mipi@3c;

ov2775_0: ov2775_mipi@36 {
compatible = "ovti,ov2775";
reg = <0x36>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_csi0_pwn>, <&pinctrl_csi0_rst>, <&pinctrl_csi_mclk>;
clocks = <&clk IMX8MP_CLK_IPP_DO_CLKO2>;
clock-names = "csi_mclk";
assigned-clocks = <&clk IMX8MP_CLK_IPP_DO_CLKO2>;
assigned-clock-parents = <&clk IMX8MP_CLK_24M>;
assigned-clock-rates = <24000000>;
csi_id = <0>;
pwn-gpios = <&gpio2 11 GPIO_ACTIVE_HIGH>;
rst-gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
mclk = <24000000>;
mclk_source = <0>;
status = "okay";

port {
ov2775_mipi_0_ep: endpoint {
data-lanes = <1 2 3 4>;
clock-lanes = <0>;
remote-endpoint = <&mipi_csi0_ep>;
};
};

};
};

&i2c3 {
clock-frequency = <100000>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c3>;
status = "okay";

/delete-node/ov5640_mipi@3c;

ov2775_1: ov2775_mipi@36 {
compatible = "ovti,ov2775";
reg = <0x36>;
clocks = <&clk IMX8MP_CLK_IPP_DO_CLKO2>;
clock-names = "csi_mclk";
assigned-clocks = <&clk IMX8MP_CLK_IPP_DO_CLKO2>;
assigned-clock-parents = <&clk IMX8MP_CLK_24M>;
assigned-clock-rates = <24000000>;
csi_id = <1>;
mclk = <24000000>;
mclk_source = <0>;
status = "okay";

port {
ov2775_mipi_1_ep: endpoint {
data-lanes = <1 2 3 4>;
clock-lanes = <0>;
remote-endpoint = <&mipi_csi1_ep>;
};
};
};
};

&cameradev {
status = "okay";
};

&isi_0 {
status = "disabled";
};

&isi_1 {
status = "disabled";
};

&isp_0 {
status = "okay";
};

&isp_1 {
status = "okay";
};

&dewarp {
status = "okay";
};

&mipi_csi_0 {
status = "okay";

port@0 {
endpoint {
remote-endpoint = <&ov2775_mipi_0_ep>;
data-lanes = <4>;
csis-hs-settle = <16>;
};
};
};

&mipi_csi_1 {
status = "okay";

port@1 {
reg = <1>;
mipi_csi1_ep: endpoint {
remote-endpoint = <&ov2775_mipi_1_ep>;
data-lanes = <4>;
csis-hs-settle = <16>;
};
};
};
Loading

0 comments on commit b27a8ba

Please sign in to comment.