[PATCH 2/4] mach-s5pv310: Add resource definitions for mipi-csis
Kukjin Kim
kgene.kim at samsung.com
Thu Dec 2 23:36:20 EST 2010
Sylwester Nawrocki wrote:
>
> Add IRQ and register base address definitions for mipi-csis devices.
>
> Signed-off-by: Sylwester Nawrocki <s.nawrocki at samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
> ---
> arch/arm/mach-s5pv310/include/mach/irqs.h | 3 +++
> arch/arm/mach-s5pv310/include/mach/map.h | 5 +++++
> 2 files changed, 8 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-s5pv310/include/mach/irqs.h b/arch/arm/mach-
> s5pv310/include/mach/irqs.h
> index 99e7dad..db63773 100644
> --- a/arch/arm/mach-s5pv310/include/mach/irqs.h
> +++ b/arch/arm/mach-s5pv310/include/mach/irqs.h
> @@ -83,6 +83,9 @@
> #define IRQ_HSMMC2 COMBINER_IRQ(29, 2)
> #define IRQ_HSMMC3 COMBINER_IRQ(29, 3)
>
> +#define IRQ_MIPICSI0 COMBINER_IRQ(30, 0)
> +#define IRQ_MIPICSI1 COMBINER_IRQ(30, 1)
> +
> #define IRQ_ONENAND_AUDI COMBINER_IRQ(34, 0)
>
> #define IRQ_EINT4 COMBINER_IRQ(37, 0)
> diff --git a/arch/arm/mach-s5pv310/include/mach/map.h b/arch/arm/mach-
> s5pv310/include/mach/map.h
> index 7acf4e7..9905bfe 100644
> --- a/arch/arm/mach-s5pv310/include/mach/map.h
> +++ b/arch/arm/mach-s5pv310/include/mach/map.h
> @@ -56,6 +56,9 @@
> #define S5PV310_PA_GPIO2 (0x11000000)
> #define S5PV310_PA_GPIO3 (0x03860000)
>
> +#define S5PV310_PA_CSIS0 (0x11880000)
> +#define S5PV310_PA_CSIS1 (0x11890000)
> +
> #define S5PV310_PA_HSMMC(x) (0x12510000 + ((x) * 0x10000))
>
> #define S5PV310_PA_SROMC (0x12570000)
> @@ -95,5 +98,7 @@
> #define S3C_PA_IIC7 S5PV310_PA_IIC(7)
> #define S3C_PA_RTC S5PV310_PA_RTC
> #define S3C_PA_WDT S5PV310_PA_WATCHDOG
> +#define S5P_PA_CSIS0 S5PV310_PA_CSIS0
> +#define S5P_PA_CSIS1 S5PV310_PA_CSIS1
>
> #endif /* __ASM_ARCH_MAP_H */
> --
Please refer to previous my comment about the naming.
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <kgene.kim at samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
More information about the linux-arm-kernel
mailing list