mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	sh-pfc: Add sh7722 pinmux support
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Paul Mundt <lethal@linux-sh.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
This commit is contained in:
		
							parent
							
								
									74cad60549
								
							
						
					
					
						commit
						f5e25ae52f
					
				
					 5 changed files with 1789 additions and 0 deletions
				
			
		| 
						 | 
					@ -65,4 +65,10 @@ config PINCTRL_PFC_SH7720
 | 
				
			||||||
	depends on GENERIC_GPIO
 | 
						depends on GENERIC_GPIO
 | 
				
			||||||
	select PINCTRL_SH_PFC
 | 
						select PINCTRL_SH_PFC
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					config PINCTRL_PFC_SH7722
 | 
				
			||||||
 | 
						def_bool y
 | 
				
			||||||
 | 
						depends on CPU_SUBTYPE_SH7722
 | 
				
			||||||
 | 
						depends on GENERIC_GPIO
 | 
				
			||||||
 | 
						select PINCTRL_SH_PFC
 | 
				
			||||||
 | 
					
 | 
				
			||||||
endif
 | 
					endif
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -11,3 +11,4 @@ obj-$(CONFIG_PINCTRL_PFC_SH7269)	+= pfc-sh7269.o
 | 
				
			||||||
obj-$(CONFIG_PINCTRL_PFC_SH7372)	+= pfc-sh7372.o
 | 
					obj-$(CONFIG_PINCTRL_PFC_SH7372)	+= pfc-sh7372.o
 | 
				
			||||||
obj-$(CONFIG_PINCTRL_PFC_SH73A0)	+= pfc-sh73a0.o
 | 
					obj-$(CONFIG_PINCTRL_PFC_SH73A0)	+= pfc-sh73a0.o
 | 
				
			||||||
obj-$(CONFIG_PINCTRL_PFC_SH7720)	+= pfc-sh7720.o
 | 
					obj-$(CONFIG_PINCTRL_PFC_SH7720)	+= pfc-sh7720.o
 | 
				
			||||||
 | 
					obj-$(CONFIG_PINCTRL_PFC_SH7722)	+= pfc-sh7722.o
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -579,6 +579,9 @@ static const struct platform_device_id sh_pfc_id_table[] = {
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
#ifdef CONFIG_PINCTRL_PFC_SH7720
 | 
					#ifdef CONFIG_PINCTRL_PFC_SH7720
 | 
				
			||||||
	{ "pfc-sh7720", (kernel_ulong_t)&sh7720_pinmux_info },
 | 
						{ "pfc-sh7720", (kernel_ulong_t)&sh7720_pinmux_info },
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					#ifdef CONFIG_PINCTRL_PFC_SH7722
 | 
				
			||||||
 | 
						{ "pfc-sh7722", (kernel_ulong_t)&sh7722_pinmux_info },
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
	{ "sh-pfc", 0 },
 | 
						{ "sh-pfc", 0 },
 | 
				
			||||||
	{ },
 | 
						{ },
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -59,5 +59,6 @@ extern struct sh_pfc_soc_info sh7269_pinmux_info;
 | 
				
			||||||
extern struct sh_pfc_soc_info sh7372_pinmux_info;
 | 
					extern struct sh_pfc_soc_info sh7372_pinmux_info;
 | 
				
			||||||
extern struct sh_pfc_soc_info sh73a0_pinmux_info;
 | 
					extern struct sh_pfc_soc_info sh73a0_pinmux_info;
 | 
				
			||||||
extern struct sh_pfc_soc_info sh7720_pinmux_info;
 | 
					extern struct sh_pfc_soc_info sh7720_pinmux_info;
 | 
				
			||||||
 | 
					extern struct sh_pfc_soc_info sh7722_pinmux_info;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif /* __SH_PFC_CORE_H__ */
 | 
					#endif /* __SH_PFC_CORE_H__ */
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										1778
									
								
								drivers/pinctrl/sh-pfc/pfc-sh7722.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1778
									
								
								drivers/pinctrl/sh-pfc/pfc-sh7722.c
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load diff
											
										
									
								
							
		Loading…
	
		Reference in a new issue