Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1246530

Re: [PATCH 2/2] ARM: dts: omap3: keep ssi ports by default

From Sebastian Reichel <sre@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] ARM: dts: omap3: keep ssi ports by default
Date 2015-10-14 13:20 +0200
Message-ID <qjsga-5dK-11@gated-at.bofh.it> (permalink)
References <qjrN8-4ow-1@gated-at.bofh.it> <qjrN9-4ow-23@gated-at.bofh.it> <qjrWO-4AF-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Pali,

On Wed, Oct 14, 2015 at 12:53:04PM +0200, Pali Rohár wrote:
> On Wednesday 14 October 2015 13:44:16 Roger Quadros wrote:
> > Let's keep the SSI ports disabled in the omap3.dtsi to avoid
> > getting the following noise on the console for boards that don't
> > use the SSI ports.
> > 
> > "omap_ssi_port 4805a000.ssi-port: DT data is missing cawake gpio (err=-2)"
> > 
> > As omap3-n900 uses one SSI port, mark it enabled there.
> > 
> 
> Sebastian, why is second SSI port disabled on N900? It is not used or
> in DTS file are missing some definitions?

Since the second SSI port is not used on the Nokia N900. It's pins
are used for other things, e.g. as GPIO. It's easily verifiable
by checking the mux data:

$ grep -C1 "ssi2_" arch/arm/mach-omap2/mux34xx.c
	_OMAP3_MUXENTRY(CAM_D10, 109,
		"cam_d10", "ssi2_wake", NULL, NULL,
		"gpio_109", "hw_dbg8", NULL, "safe_mode"),
	_OMAP3_MUXENTRY(CAM_D2, 101,
		"cam_d2", "ssi2_rdy_tx", NULL, NULL,
		"gpio_101", "hw_dbg4", NULL, "safe_mode"),
	_OMAP3_MUXENTRY(CAM_D3, 102,
		"cam_d3", "ssi2_dat_rx", NULL, NULL,
		"gpio_102", "hw_dbg5", NULL, "safe_mode"),
	_OMAP3_MUXENTRY(CAM_D4, 103,
		"cam_d4", "ssi2_flag_rx", NULL, NULL,
		"gpio_103", "hw_dbg6", NULL, "safe_mode"),
	_OMAP3_MUXENTRY(CAM_D5, 104,
		"cam_d5", "ssi2_rdy_rx", NULL, NULL,
		"gpio_104", "hw_dbg7", NULL, "safe_mode"),
	_OMAP3_MUXENTRY(CAM_HS, 94,
		"cam_hs", "ssi2_dat_tx", NULL, NULL,
		"gpio_94", "hw_dbg0", NULL, "safe_mode"),
	_OMAP3_MUXENTRY(CAM_VS, 95,
		"cam_vs", "ssi2_flag_tx", NULL, NULL,
		"gpio_95", "hw_dbg1", NULL, "safe_mode"),

At least gpio 104 is already used for resetting the tsc2005.

-- Sebastian

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] omap: hsi: Fix warnings on boards that don't use ssi ports Roger Quadros <rogerq@ti.com> - 2015-10-14 12:50 +0200
  [PATCH 1/2] hsi: omap_ssi_port: Prevent warning if cawake_gpio is not defined. Roger Quadros <rogerq@ti.com> - 2015-10-14 12:50 +0200
    Re: [PATCH 1/2] hsi: omap_ssi_port: Prevent warning if cawake_gpio  is not defined. Sebastian Reichel <sre@kernel.org> - 2015-10-14 13:50 +0200
  [PATCH 2/2] ARM: dts: omap3: keep ssi ports by default Roger Quadros <rogerq@ti.com> - 2015-10-14 12:50 +0200
    Re: [PATCH 2/2] ARM: dts: omap3: keep ssi ports by default Pali Rohár <pali.rohar@gmail.com> - 2015-10-14 13:00 +0200
      Re: [PATCH 2/2] ARM: dts: omap3: keep ssi ports by default Sebastian Reichel <sre@kernel.org> - 2015-10-14 13:20 +0200
    Re: [PATCH 2/2] ARM: dts: omap3: keep ssi ports by default Sebastian Reichel <sre@kernel.org> - 2015-10-14 13:20 +0200
      Re: [PATCH 2/2] ARM: dts: omap3: keep ssi ports by default Roger Quadros <rogerq@ti.com> - 2015-10-14 13:30 +0200
        Re: [PATCH 2/2] ARM: dts: omap3: keep ssi ports by default Sebastian Reichel <sre@kernel.org> - 2015-10-14 13:40 +0200
          Re: [PATCH 2/2] ARM: dts: omap3: keep ssi ports by default Roger Quadros <rogerq@ti.com> - 2015-10-14 14:00 +0200

csiph-web