mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-21 06:50:25 +00:00

Initially added, the cma heap was supposed to help with libcamera swisp, however a mistake was made such that the node was never applied as part of the overlay since the change was added to the overlay root ("/") and not with a reference to the target dtb root ("&{/}"). Moveover libcamera doesn't require CMA heap on Qualcomm platforms anymore as it can now use UDMA buffers instead. Drop the CMA heap node. This change has no effect on the final dtb. This reverts commitd40fd02c1f
. Fixes:d40fd02c1f
("arm64: dts: qcom: sdm845-db845c-navigation-mezzanine: Add cma heap for libcamera softisp support") Suggested-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Signed-off-by: Nikita Travkin <nikita@trvn.ru> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Link: https://lore.kernel.org/r/20250227-qcom-nonroot-overlays-v2-2-bde44f708cbe@trvn.ru Signed-off-by: Bjorn Andersson <andersson@kernel.org>
70 lines
1.3 KiB
Text
70 lines
1.3 KiB
Text
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* Copyright (c) 2022, Linaro Ltd.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
/plugin/;
|
|
|
|
#include <dt-bindings/clock/qcom,camcc-sdm845.h>
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
|
|
&camss {
|
|
vdda-phy-supply = <&vreg_l1a_0p875>;
|
|
vdda-pll-supply = <&vreg_l26a_1p2>;
|
|
|
|
status = "okay";
|
|
|
|
ports {
|
|
port@0 {
|
|
csiphy0_ep: endpoint {
|
|
data-lanes = <0 1 2 3>;
|
|
remote-endpoint = <&ov8856_ep>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&cci {
|
|
status = "okay";
|
|
};
|
|
|
|
&cci_i2c0 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
camera@10 {
|
|
compatible = "ovti,ov8856";
|
|
reg = <0x10>;
|
|
|
|
/* CAM0_RST_N */
|
|
reset-gpios = <&tlmm 9 GPIO_ACTIVE_LOW>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&cam0_default>;
|
|
|
|
clocks = <&clock_camcc CAM_CC_MCLK0_CLK>;
|
|
clock-names = "xvclk";
|
|
clock-frequency = <19200000>;
|
|
|
|
/*
|
|
* The &vreg_s4a_1p8 trace is powered on as a,
|
|
* so it is represented by a fixed regulator.
|
|
*
|
|
* The 2.8V vdda-supply and 1.2V vddd-supply regulators
|
|
* both have to be enabled through the power management
|
|
* gpios.
|
|
*/
|
|
dovdd-supply = <&vreg_lvs1a_1p8>;
|
|
avdd-supply = <&cam0_avdd_2v8>;
|
|
dvdd-supply = <&cam0_dvdd_1v2>;
|
|
|
|
port {
|
|
ov8856_ep: endpoint {
|
|
link-frequencies = /bits/ 64
|
|
<360000000 180000000>;
|
|
data-lanes = <1 2 3 4>;
|
|
remote-endpoint = <&csiphy0_ep>;
|
|
};
|
|
};
|
|
};
|
|
};
|