* [PATCH 0/4] R-Car VIN driver with R8A7779/Marzen support @ 2013-04-17 22:06 Sergei Shtylyov 2013-04-17 22:13 ` [PATCH 2/4] ARM: shmobile: r8a7779: add VIN support Sergei Shtylyov ` (2 more replies) 0 siblings, 3 replies; 10+ messages in thread From: Sergei Shtylyov @ 2013-04-17 22:06 UTC (permalink / raw) To: linux-arm-kernel Hello. Here's the set of 4 patches against the Simon Horman's 'renesas.git' repo, 'renesas-next-20130417' tag and my recent yet unapplied patches. Here we add the VIN (Video In) driver and its platform code working on the R8A7779/ Marzen with ADV7180 I2C camera sensor. The driver patch also applies without issues to Mauro's 'media_tree.git'... [1/4] V4L2: soc_camera: Renesas R-Car VIN driver [2/4] ARM: shmobile: r8a7779: add VIN support [3/4] ARM: shmobile: Marzen: add VIN and ADV7180 support [4/4] ARM: shmobile: Marzen: enable VIN and ADV7180 in defconfig WBR, Sergei ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 2/4] ARM: shmobile: r8a7779: add VIN support 2013-04-17 22:06 [PATCH 0/4] R-Car VIN driver with R8A7779/Marzen support Sergei Shtylyov @ 2013-04-17 22:13 ` Sergei Shtylyov 2013-04-18 0:48 ` Kuninori Morimoto 2013-04-17 22:15 ` [PATCH 3/4] ARM: shmobile: Marzen: add VIN and ADV7180 support Sergei Shtylyov 2013-04-17 22:17 ` [PATCH 4/4] ARM: shmobile: Marzen: enable VIN and ADV7180 in defconfig Sergei Shtylyov 2 siblings, 1 reply; 10+ messages in thread From: Sergei Shtylyov @ 2013-04-17 22:13 UTC (permalink / raw) To: linux-arm-kernel From: Vladimir Barinov <vladimir.barinov@cogentembedded.com> Add VIN clocks and platform devices for R8A7779 SoC; add function to register the VIN platform devices. Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com> [Sergei: renamed some variables] Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> --- arch/arm/mach-shmobile/clock-r8a7779.c | 10 +++++++ arch/arm/mach-shmobile/include/mach/r8a7779.h | 3 ++ arch/arm/mach-shmobile/setup-r8a7779.c | 36 ++++++++++++++++++++++++++ 3 files changed, 49 insertions(+) Index: renesas/arch/arm/mach-shmobile/clock-r8a7779.c =================================================================== --- renesas.orig/arch/arm/mach-shmobile/clock-r8a7779.c +++ renesas/arch/arm/mach-shmobile/clock-r8a7779.c @@ -112,7 +112,9 @@ static struct clk *main_clks[] = { }; enum { MSTP323, MSTP322, MSTP321, MSTP320, + MSTP120, MSTP116, MSTP115, MSTP114, + MSTP110, MSTP109, MSTP108, MSTP103, MSTP101, MSTP100, MSTP030, MSTP029, MSTP028, MSTP027, MSTP026, MSTP025, MSTP024, MSTP023, MSTP022, MSTP021, @@ -125,9 +127,13 @@ static struct clk mstp_clks[MSTP_NR] = { [MSTP322] = SH_CLK_MSTP32(&clkp_clk, MSTPCR3, 22, 0), /* SDHI1 */ [MSTP321] = SH_CLK_MSTP32(&clkp_clk, MSTPCR3, 21, 0), /* SDHI2 */ [MSTP320] = SH_CLK_MSTP32(&clkp_clk, MSTPCR3, 20, 0), /* SDHI3 */ + [MSTP120] = SH_CLK_MSTP32(&clks_clk, MSTPCR1, 20, 0), /* VIN3 */ [MSTP116] = SH_CLK_MSTP32(&clkp_clk, MSTPCR1, 16, 0), /* PCIe */ [MSTP115] = SH_CLK_MSTP32(&clkp_clk, MSTPCR1, 15, 0), /* SATA */ [MSTP114] = SH_CLK_MSTP32(&clkp_clk, MSTPCR1, 14, 0), /* Ether */ + [MSTP110] = SH_CLK_MSTP32(&clks_clk, MSTPCR1, 10, 0), /* VIN0 */ + [MSTP109] = SH_CLK_MSTP32(&clks_clk, MSTPCR1, 9, 0), /* VIN1 */ + [MSTP108] = SH_CLK_MSTP32(&clks_clk, MSTPCR1, 8, 0), /* VIN2 */ [MSTP103] = SH_CLK_MSTP32(&clks_clk, MSTPCR1, 3, 0), /* DU */ [MSTP101] = SH_CLK_MSTP32(&clkp_clk, MSTPCR1, 1, 0), /* USB2 */ [MSTP100] = SH_CLK_MSTP32(&clkp_clk, MSTPCR1, 0, 0), /* USB0/1 */ @@ -162,10 +168,14 @@ static struct clk_lookup lookups[] = { CLKDEV_CON_ID("peripheral_clk", &clkp_clk), /* MSTP32 clocks */ + CLKDEV_DEV_ID("rcar_vin.3", &mstp_clks[MSTP120]), /* VIN3 */ CLKDEV_DEV_ID("rcar-pcie", &mstp_clks[MSTP116]), /* PCIe */ CLKDEV_DEV_ID("sata_rcar", &mstp_clks[MSTP115]), /* SATA */ CLKDEV_DEV_ID("fc600000.sata", &mstp_clks[MSTP115]), /* SATA w/DT */ CLKDEV_DEV_ID("sh-eth", &mstp_clks[MSTP114]), /* Ether */ + CLKDEV_DEV_ID("rcar_vin.0", &mstp_clks[MSTP110]), /* VIN0 */ + CLKDEV_DEV_ID("rcar_vin.1", &mstp_clks[MSTP109]), /* VIN1 */ + CLKDEV_DEV_ID("rcar_vin.2", &mstp_clks[MSTP108]), /* VIN2 */ CLKDEV_DEV_ID("ehci-platform.1", &mstp_clks[MSTP101]), /* USB EHCI port2 */ CLKDEV_DEV_ID("ohci-platform.1", &mstp_clks[MSTP101]), /* USB OHCI port2 */ CLKDEV_DEV_ID("ehci-platform.0", &mstp_clks[MSTP100]), /* USB EHCI port0/1 */ Index: renesas/arch/arm/mach-shmobile/include/mach/r8a7779.h =================================================================== --- renesas.orig/arch/arm/mach-shmobile/include/mach/r8a7779.h +++ renesas/arch/arm/mach-shmobile/include/mach/r8a7779.h @@ -5,6 +5,7 @@ #include <linux/pm_domain.h> #include <linux/sh_eth.h> #include <linux/usb/rcar-phy.h> +#include <linux/platform_data/camera-rcar.h> struct platform_device; @@ -35,6 +36,8 @@ extern void r8a7779_add_standard_devices extern void r8a7779_add_standard_devices_dt(void); extern void r8a7779_add_ether_device(struct sh_eth_plat_data *pdata); extern void r8a7779_add_usb_phy_device(struct rcar_phy_platform_data *pdata); +extern void r8a7779_add_vin_device(int idx, + struct rcar_vin_platform_data *pdata); extern void r8a7779_init_late(void); extern void r8a7779_clock_init(void); extern void r8a7779_pinmux_init(void); Index: renesas/arch/arm/mach-shmobile/setup-r8a7779.c =================================================================== --- renesas.orig/arch/arm/mach-shmobile/setup-r8a7779.c +++ renesas/arch/arm/mach-shmobile/setup-r8a7779.c @@ -559,6 +559,33 @@ static struct resource ether_resources[] }, }; +#define R8A7779_VIN(idx) \ +static struct resource vin##idx##_resources[] = { \ + DEFINE_RES_MEM(0xffc50000 + 0x1000 * (idx), 0x1000), \ + DEFINE_RES_IRQ(gic_iid(0x5f + (idx))), \ +}; \ + \ +static struct platform_device_info vin##idx##_info = { \ + .parent = &platform_bus, \ + .name = "rcar_vin", \ + .id = idx, \ + .res = vin##idx##_resources, \ + .num_res = ARRAY_SIZE(vin##idx##_resources), \ + .dma_mask = DMA_BIT_MASK(32), \ +} + +R8A7779_VIN(0); +R8A7779_VIN(1); +R8A7779_VIN(2); +R8A7779_VIN(3); + +static struct platform_device_info *vin_info_table[] __initdata = { + &vin0_info, + &vin1_info, + &vin2_info, + &vin3_info, +}; + static struct platform_device *r8a7779_devices_dt[] __initdata = { &scif0_device, &scif1_device, @@ -610,6 +637,15 @@ void __init r8a7779_add_usb_phy_device(s pdata, sizeof(*pdata)); } +void __init r8a7779_add_vin_device(int id, + struct rcar_vin_platform_data *pdata) +{ + vin_info_table[id]->data = pdata; + vin_info_table[id]->size_data = sizeof(struct rcar_vin_platform_data); + + platform_device_register_full(vin_info_table[id]); +} + /* do nothing for !CONFIG_SMP or !CONFIG_HAVE_TWD */ void __init __weak r8a7779_register_twd(void) { } ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 2/4] ARM: shmobile: r8a7779: add VIN support 2013-04-17 22:13 ` [PATCH 2/4] ARM: shmobile: r8a7779: add VIN support Sergei Shtylyov @ 2013-04-18 0:48 ` Kuninori Morimoto 0 siblings, 0 replies; 10+ messages in thread From: Kuninori Morimoto @ 2013-04-18 0:48 UTC (permalink / raw) To: linux-arm-kernel Hi Sergei > From: Vladimir Barinov <vladimir.barinov@cogentembedded.com> > > Add VIN clocks and platform devices for R8A7779 SoC; add function to register > the VIN platform devices. > > Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com> > [Sergei: renamed some variables] > Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> (snip) > +void __init r8a7779_add_vin_device(int id, > + struct rcar_vin_platform_data *pdata) > +{ > + vin_info_table[id]->data = pdata; > + vin_info_table[id]->size_data = sizeof(struct rcar_vin_platform_data); > + > + platform_device_register_full(vin_info_table[id]); > +} Can you add "id" check here ? BUG_ON(id < 0 || id >= ARRAY_SIZE(vin_info_table)); or similar Best regards --- Kuninori Morimoto ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 3/4] ARM: shmobile: Marzen: add VIN and ADV7180 support 2013-04-17 22:06 [PATCH 0/4] R-Car VIN driver with R8A7779/Marzen support Sergei Shtylyov 2013-04-17 22:13 ` [PATCH 2/4] ARM: shmobile: r8a7779: add VIN support Sergei Shtylyov @ 2013-04-17 22:15 ` Sergei Shtylyov 2013-04-17 22:29 ` Sergei Shtylyov 2013-04-18 14:25 ` Sergei Shtylyov 2013-04-17 22:17 ` [PATCH 4/4] ARM: shmobile: Marzen: enable VIN and ADV7180 in defconfig Sergei Shtylyov 2 siblings, 2 replies; 10+ messages in thread From: Sergei Shtylyov @ 2013-04-17 22:15 UTC (permalink / raw) To: linux-arm-kernel From: Vladimir Barinov <vladimir.barinov@cogentembedded.com> Add ADV7180 platform devices on the Marzen board, configure VIN1/3 pins, and register VIN1/3 devices with the ADV7180 specific platform data. Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> --- arch/arm/mach-shmobile/board-marzen.c | 55 ++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) Index: renesas/arch/arm/mach-shmobile/board-marzen.c =================================================================== --- renesas.orig/arch/arm/mach-shmobile/board-marzen.c +++ renesas/arch/arm/mach-shmobile/board-marzen.c @@ -37,6 +37,7 @@ #include <linux/mmc/host.h> #include <linux/mmc/sh_mobile_sdhi.h> #include <linux/mfd/tmio.h> +#include <media/soc_camera.h> #include <mach/hardware.h> #include <mach/r8a7779.h> #include <mach/common.h> @@ -178,12 +179,54 @@ static struct platform_device leds_devic }, }; +static struct rcar_vin_platform_data vin_platform_data = { + .flags = RCAR_VIN_BT656, +}; + +static struct i2c_board_info i2c_camera[] = { + { + I2C_BOARD_INFO("adv7180", 0x20), + }, { + I2C_BOARD_INFO("adv7180", 0x21), + }, +}; + +static struct soc_camera_link iclink_adv7180[] = { + { + .bus_id = 1, + .i2c_adapter_id = 0, + .board_info = &i2c_camera[0], + }, { + .bus_id = 3, + .i2c_adapter_id = 0, + .board_info = &i2c_camera[1], + } +}; + +static struct platform_device camera0_device = { + .name = "soc-camera-pdrv", + .id = 0, + .dev = { + .platform_data = &iclink_adv7180[0], + }, +}; + +static struct platform_device camera1_device = { + .name = "soc-camera-pdrv", + .id = 1, + .dev = { + .platform_data = &iclink_adv7180[1], + }, +}; + static struct platform_device *marzen_devices[] __initdata = { ð_device, &sdhi0_device, &thermal_device, &hspi_device, &leds_device, + &camera0_device, + &camera1_device, }; static const struct pinctrl_map marzen_pinctrl_map[] = { @@ -219,6 +262,16 @@ static const struct pinctrl_map marzen_p /* USB2 */ PIN_MAP_MUX_GROUP_DEFAULT("ehci-platform.1", "pfc-r8a7779", "usb2", "usb2"), + /* VIN1 */ + PIN_MAP_MUX_GROUP_DEFAULT("rcar_vin.1", "pfc-r8a7779", + "vin1_clk", "vin1"), + PIN_MAP_MUX_GROUP_DEFAULT("rcar_vin.1", "pfc-r8a7779", + "vin1_data8", "vin1"), + /* VIN3 */ + PIN_MAP_MUX_GROUP_DEFAULT("rcar_vin.3", "pfc-r8a7779", + "vin3_clk", "vin3"), + PIN_MAP_MUX_GROUP_DEFAULT("rcar_vin.3", "pfc-r8a7779", + "vin3_data8", "vin3"), }; static void __init marzen_init(void) @@ -234,6 +287,8 @@ static void __init marzen_init(void) r8a7779_add_standard_devices(); r8a7779_add_usb_phy_device(&usb_phy_platform_data); + r8a7779_add_vin_device(1, &vin_platform_data); + r8a7779_add_vin_device(3, &vin_platform_data); platform_add_devices(marzen_devices, ARRAY_SIZE(marzen_devices)); } ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 3/4] ARM: shmobile: Marzen: add VIN and ADV7180 support 2013-04-17 22:15 ` [PATCH 3/4] ARM: shmobile: Marzen: add VIN and ADV7180 support Sergei Shtylyov @ 2013-04-17 22:29 ` Sergei Shtylyov 2013-04-18 14:25 ` Sergei Shtylyov 1 sibling, 0 replies; 10+ messages in thread From: Sergei Shtylyov @ 2013-04-17 22:29 UTC (permalink / raw) To: linux-arm-kernel Hello. On 04/18/2013 02:15 AM, Sergei Shtylyov wrote: > From: Vladimir Barinov <vladimir.barinov@cogentembedded.com> > > Add ADV7180 platform devices on the Marzen board, configure VIN1/3 pins, and > register VIN1/3 devices with the ADV7180 specific platform data. > > Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com> > Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> > > --- > arch/arm/mach-shmobile/board-marzen.c | 55 ++++++++++++++++++++++++++++++++++ > 1 file changed, 55 insertions(+) Oops, should have updated copyrights on this file. :-/ Well, this is probably not the last version of the patchset anyway... :-) WBR, Sergei ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 3/4] ARM: shmobile: Marzen: add VIN and ADV7180 support 2013-04-17 22:15 ` [PATCH 3/4] ARM: shmobile: Marzen: add VIN and ADV7180 support Sergei Shtylyov 2013-04-17 22:29 ` Sergei Shtylyov @ 2013-04-18 14:25 ` Sergei Shtylyov 1 sibling, 0 replies; 10+ messages in thread From: Sergei Shtylyov @ 2013-04-18 14:25 UTC (permalink / raw) To: linux-arm-kernel On 18-04-2013 2:15, I wrote: > From: Vladimir Barinov <vladimir.barinov@cogentembedded.com> > Add ADV7180 platform devices on the Marzen board, configure VIN1/3 pins, and > register VIN1/3 devices with the ADV7180 specific platform data. > Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com> > Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> I'm going to repost this patch recasted using a macro for camera sensor data. WBR, Sergei ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 4/4] ARM: shmobile: Marzen: enable VIN and ADV7180 in defconfig 2013-04-17 22:06 [PATCH 0/4] R-Car VIN driver with R8A7779/Marzen support Sergei Shtylyov 2013-04-17 22:13 ` [PATCH 2/4] ARM: shmobile: r8a7779: add VIN support Sergei Shtylyov 2013-04-17 22:15 ` [PATCH 3/4] ARM: shmobile: Marzen: add VIN and ADV7180 support Sergei Shtylyov @ 2013-04-17 22:17 ` Sergei Shtylyov 2013-04-18 13:30 ` Simon Horman 2 siblings, 1 reply; 10+ messages in thread From: Sergei Shtylyov @ 2013-04-17 22:17 UTC (permalink / raw) To: linux-arm-kernel From: Vladimir Barinov <vladimir.barinov@cogentembedded.com> Add the VIN and ADV7180 drivers to 'marzen_defconfig'. Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> --- arch/arm/configs/marzen_defconfig | 7 +++++++ 1 file changed, 7 insertions(+) Index: renesas/arch/arm/configs/marzen_defconfig =================================================================== --- renesas.orig/arch/arm/configs/marzen_defconfig +++ renesas/arch/arm/configs/marzen_defconfig @@ -84,6 +84,13 @@ CONFIG_GPIO_RCAR=y CONFIG_THERMAL=y CONFIG_RCAR_THERMAL=y CONFIG_SSB=y +CONFIG_MEDIA_SUPPORT=y +CONFIG_MEDIA_CAMERA_SUPPORT=y +CONFIG_V4L_PLATFORM_DRIVERS=y +CONFIG_SOC_CAMERA=y +CONFIG_VIDEO_RCAR_VIN=y +# CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set +CONFIG_VIDEO_ADV7180=y CONFIG_USB=y CONFIG_USB_RCAR_PHY=y CONFIG_MMC=y ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 4/4] ARM: shmobile: Marzen: enable VIN and ADV7180 in defconfig 2013-04-17 22:17 ` [PATCH 4/4] ARM: shmobile: Marzen: enable VIN and ADV7180 in defconfig Sergei Shtylyov @ 2013-04-18 13:30 ` Simon Horman 2013-04-18 14:21 ` Sergei Shtylyov 0 siblings, 1 reply; 10+ messages in thread From: Simon Horman @ 2013-04-18 13:30 UTC (permalink / raw) To: linux-arm-kernel On Thu, Apr 18, 2013 at 02:17:27AM +0400, Sergei Shtylyov wrote: > From: Vladimir Barinov <vladimir.barinov@cogentembedded.com> > > Add the VIN and ADV7180 drivers to 'marzen_defconfig'. > > Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com> > Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> > > --- > arch/arm/configs/marzen_defconfig | 7 +++++++ > 1 file changed, 7 insertions(+) Thanks, queued-up for v3.11 in the defconfig-marzen branch. ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 4/4] ARM: shmobile: Marzen: enable VIN and ADV7180 in defconfig 2013-04-18 13:30 ` Simon Horman @ 2013-04-18 14:21 ` Sergei Shtylyov 2013-04-19 2:15 ` Simon Horman 0 siblings, 1 reply; 10+ messages in thread From: Sergei Shtylyov @ 2013-04-18 14:21 UTC (permalink / raw) To: linux-arm-kernel On 18-04-2013 17:30, Simon Horman wrote: >> From: Vladimir Barinov <vladimir.barinov@cogentembedded.com> >> Add the VIN and ADV7180 drivers to 'marzen_defconfig'. >> Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com> >> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> >> --- >> arch/arm/configs/marzen_defconfig | 7 +++++++ >> 1 file changed, 7 insertions(+) > Thanks, queued-up for v3.11 in the defconfig-marzen branch. That seems somewhat premature as CONFIG_VIDEO_RCAR_VIN is not defined yet (it's defined in the patch #1 of this series). WBR, Sergei ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 4/4] ARM: shmobile: Marzen: enable VIN and ADV7180 in defconfig 2013-04-18 14:21 ` Sergei Shtylyov @ 2013-04-19 2:15 ` Simon Horman 0 siblings, 0 replies; 10+ messages in thread From: Simon Horman @ 2013-04-19 2:15 UTC (permalink / raw) To: linux-arm-kernel On Thu, Apr 18, 2013 at 06:21:12PM +0400, Sergei Shtylyov wrote: > On 18-04-2013 17:30, Simon Horman wrote: > > >>From: Vladimir Barinov <vladimir.barinov@cogentembedded.com> > > >>Add the VIN and ADV7180 drivers to 'marzen_defconfig'. > > >>Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com> > >>Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> > > >>--- > >> arch/arm/configs/marzen_defconfig | 7 +++++++ > >> 1 file changed, 7 insertions(+) > > >Thanks, queued-up for v3.11 in the defconfig-marzen branch. > > That seems somewhat premature as CONFIG_VIDEO_RCAR_VIN is not > defined yet (it's defined in the patch #1 of this series). Sorry about that, I have dropped the patch. ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2013-04-19 2:15 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2013-04-17 22:06 [PATCH 0/4] R-Car VIN driver with R8A7779/Marzen support Sergei Shtylyov 2013-04-17 22:13 ` [PATCH 2/4] ARM: shmobile: r8a7779: add VIN support Sergei Shtylyov 2013-04-18 0:48 ` Kuninori Morimoto 2013-04-17 22:15 ` [PATCH 3/4] ARM: shmobile: Marzen: add VIN and ADV7180 support Sergei Shtylyov 2013-04-17 22:29 ` Sergei Shtylyov 2013-04-18 14:25 ` Sergei Shtylyov 2013-04-17 22:17 ` [PATCH 4/4] ARM: shmobile: Marzen: enable VIN and ADV7180 in defconfig Sergei Shtylyov 2013-04-18 13:30 ` Simon Horman 2013-04-18 14:21 ` Sergei Shtylyov 2013-04-19 2:15 ` Simon Horman
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).