Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation: Update paths of Samsung S3C machine files

Documentation references Samsung S3C24xx and S3C64xx machine files in
multiple places but the files were traveling around the kernel multiple
times.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20200911143343.498-1-krzk@kernel.org

+15 -24
+1 -1
Documentation/admin-guide/kernel-parameters.txt
··· 2951 2951 mtdset= [ARM] 2952 2952 ARM/S3C2412 JIVE boot control 2953 2953 2954 - See arch/arm/mach-s3c2412/mach-jive.c 2954 + See arch/arm/mach-s3c/mach-jive.c 2955 2955 2956 2956 mtouchusb.raw_coordinates= 2957 2957 [HW] Make the MicroTouch USB driver use raw coordinates
+2 -2
Documentation/arm/samsung-s3c24xx/gpio.rst
··· 29 29 30 30 The following functions now either have a `s3c_` specific variant 31 31 or are merged into gpiolib. See the definitions in 32 - arch/arm/plat-samsung/include/plat/gpio-cfg.h: 32 + arch/arm/mach-s3c/gpio-cfg.h: 33 33 34 34 - s3c2410_gpio_setpin() gpio_set_value() or gpio_direction_output() 35 35 - s3c2410_gpio_getpin() gpio_get_value() or gpio_direction_input() ··· 86 86 Headers 87 87 ------- 88 88 89 - See arch/arm/mach-s3c24xx/include/mach/regs-gpio.h for the list 89 + See arch/arm/mach-s3c/regs-gpio-s3c24xx.h for the list 90 90 of GPIO pins, and the configuration values for them. This 91 91 is included by using #include <mach/regs-gpio.h> 92 92
+7 -15
Documentation/arm/samsung-s3c24xx/overview.rst
··· 18 18 versions. 19 19 20 20 The S3C2416 and S3C2450 devices are very similar and S3C2450 support is 21 - included under the arch/arm/mach-s3c2416 directory. Note, while core 21 + included under the arch/arm/mach-s3c directory. Note, while core 22 22 support for these SoCs is in, work on some of the extra peripherals 23 23 and extra interrupts is still ongoing. 24 24 ··· 37 37 Layout 38 38 ------ 39 39 40 - The core support files are located in the platform code contained in 41 - arch/arm/plat-s3c24xx with headers in include/asm-arm/plat-s3c24xx. 42 - This directory should be kept to items shared between the platform 43 - code (arch/arm/plat-s3c24xx) and the arch/arm/mach-s3c24* code. 40 + The core support files, register, kernel and paltform data are located in the 41 + platform code contained in arch/arm/mach-s3c with headers in 42 + arch/arm/mach-s3c/include 44 43 45 - Each cpu has a directory with the support files for it, and the 46 - machines that carry the device. For example S3C2410 is contained 47 - in arch/arm/mach-s3c2410 and S3C2440 in arch/arm/mach-s3c2440 48 - 49 - Register, kernel and platform data definitions are held in the 50 - arch/arm/mach-s3c2410 directory./include/mach 51 - 52 - arch/arm/plat-s3c24xx: 44 + arch/arm/mach-s3c: 53 45 54 46 Files in here are either common to all the s3c24xx family, 55 47 or are common to only some of them with names to indicate this ··· 126 134 should keep this in mind before altering items outside of their own 127 135 machine files. 128 136 129 - Machine definitions should be kept in linux/arch/arm/mach-s3c2410, 137 + Machine definitions should be kept in arch/arm/mach-s3c, 130 138 and there are a number of examples that can be looked at. 131 139 132 140 Read the kernel patch submission policies as well as the ··· 285 293 } 286 294 287 295 Note, since the code is marked as __init, it should not be 288 - exported outside arch/arm/mach-s3c2410/, or exported to 296 + exported outside arch/arm/mach-s3c/, or exported to 289 297 modules via EXPORT_SYMBOL() and related functions. 290 298 291 299
+3 -3
Documentation/arm/samsung-s3c24xx/usb-host.rst
··· 36 36 ------------- 37 37 38 38 The driver attaches to a platform device, which will need to be 39 - added by the board specific support file in linux/arch/arm/mach-s3c2410, 39 + added by the board specific support file in arch/arm/mach-s3c, 40 40 such as mach-bast.c or mach-smdk2410.c 41 41 42 42 The platform device's platform_data field is only needed if the ··· 51 51 Platform Data 52 52 ------------- 53 53 54 - See arch/arm/mach-s3c2410/include/mach/usb-control.h for the 54 + See include/linux/platform_data/usb-ohci-s3c2410.h for the 55 55 descriptions of the platform device data. An implementation 56 - can be found in linux/arch/arm/mach-s3c2410/usb-simtec.c . 56 + can be found in arch/arm/mach-s3c/simtec-usb.c . 57 57 58 58 The `struct s3c2410_hcd_info` contains a pair of functions 59 59 that get called to enable over-current detection, and to
+1 -2
Documentation/arm/samsung/gpio.rst
··· 37 37 The s3c_gpio_cfgpin() and s3c_gpio_setpull() provide the means for a 38 38 driver or machine to change gpio configuration. 39 39 40 - See arch/arm/plat-samsung/include/plat/gpio-cfg.h for more information 41 - on these functions. 40 + See arch/arm/mach-s3c/gpio-cfg.h for more information on these functions.
+1 -1
Documentation/networking/device_drivers/ethernet/davicom/dm9000.rst
··· 34 34 two address regions is important (the driver expects these to be address 35 35 and then data). 36 36 37 - An example from arch/arm/mach-s3c2410/mach-bast.c is:: 37 + An example from arch/arm/mach-s3c/mach-bast.c is:: 38 38 39 39 static struct resource bast_dm9k_resource[] = { 40 40 [0] = {