Thread (14 messages) 14 messages, 2 authors, 2016-12-29
STALE3440d

[PATCH 4/6] ARM: mach-mx35_3ds: Remove camera support

From: Magnus Lilja <hidden>
Date: 2016-12-29 18:41:47

Hi

On 26 December 2016 at 13:56, Fabio Estevam [off-list ref] wrote:
quoted hunk ↗ jump to hunk
From: Fabio Estevam <redacted>

Since commit c93cc61475ebbe6e66 ("[media] staging/media: remove deprecated
mx3 driver") the mx3 camera driver has been removed, so remove the camera
support from the board file as well.

Signed-off-by: Fabio Estevam <redacted>
---
 arch/arm/mach-imx/mach-mx35_3ds.c | 88 ---------------------------------------
 1 file changed, 88 deletions(-)
diff --git a/arch/arm/mach-imx/mach-mx35_3ds.c b/arch/arm/mach-imx/mach-mx35_3ds.c
index c8c2e09..64fc161 100644
--- a/arch/arm/mach-imx/mach-mx35_3ds.c
+++ b/arch/arm/mach-imx/mach-mx35_3ds.c
...
quoted hunk ↗ jump to hunk
@@ -321,10 +260,6 @@ static struct regulator_consumer_supply vcam_consumers[] = {
        REGULATOR_SUPPLY("VDDA", "0-000a"),
 };

-static struct regulator_consumer_supply vaudio_consumers[] = {
-       REGULATOR_SUPPLY("cmos_vio", "soc-camera-pdrv.0"),
-};
-
 static struct regulator_init_data sw1_init = {
        .constraints = {
                .name = "SW1",
@@ -405,18 +340,6 @@ static struct regulator_init_data vvideo_init = {
        }
 };

-static struct regulator_init_data vaudio_init = {
-       .constraints = {
-               .name = "VAUDIO",
-               .min_uV = 2300000,
-               .max_uV = 3000000,
-               .valid_ops_mask = REGULATOR_CHANGE_VOLTAGE,
-               .boot_on = 1
-       },
-       .num_consumer_supplies = ARRAY_SIZE(vaudio_consumers),
-       .consumer_supplies = vaudio_consumers,
-};
-
 static struct regulator_init_data vcam_init = {
        .constraints = {
                .name = "VCAM",
@@ -460,7 +383,6 @@ static struct mc13xxx_regulator_init_data mx35_3ds_regulators[] = {
        { .id = MC13892_VDIG, .init_data = &vdig_init },
        { .id = MC13892_VUSB2, .init_data = &vusb2_init },
        { .id = MC13892_VVIDEO, .init_data = &vvideo_init },
-       { .id = MC13892_VAUDIO, .init_data = &vaudio_init },
        { .id = MC13892_VCAM, .init_data = &vcam_init },
Umm, did you really mean to remove VAUDIO/vaudio_init stuff in this
camera related patch?

Regards, Magnus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help