All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guido Trentalancia via Bugspray Bot <bugbot@kernel.org>
To: linux-gpio@vger.kernel.org
Subject: Re: PixArt touchpad not detected due to wrong pinctrl
Date: Mon, 28 Apr 2025 07:55:24 +0000	[thread overview]
Message-ID: <20250428-b220056c20-9d8165f52ab2@bugzilla.kernel.org> (raw)
In-Reply-To: <20250425-b220056c0-ca0f4862134d@bugzilla.kernel.org>

Guido Trentalancia writes via Kernel.org Bugzilla:

The chipset is Alderlake-P as already said in https://bugzilla.kernel.org/show_bug.cgi?id=220056#c12

The issue is resolved by applying the patch from Ariel or by using the Tigerlake pinctrl kernel module, although I believe the latter approach is the wrong solution.

Some relevant system information follows. Please provide the link to the relevant official Intel PCH I2C specifications.

[dmesg | grep PIXA] || [dmesg | grep input] ** with the patch applied **
input: PIXA3848:01 093A:3848 Mouse as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-PIXA3848:01/0018:093A:3848.0001/input/input3
input: PIXA3848:01 093A:3848 Touchpad as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-PIXA3848:01/0018:093A:3848.0001/input/input4
hid-multitouch 0018:093A:3848.0001: input,hidraw0: I2C HID v1.00 Mouse [PIXA3848:01 093A:3848] on i2c-PIXA3848:01

without the patch applied or without the Tigerlake pinctrl kernel module the output of 'dmesg | grep PIXA' and 'dmesg | grep input' is blank
as the I2C PixArt touchpad device is not detected.

[cat /proc/interrupts] ** with patch applied **

 188:          0          0          0      58039          0          0          0          0          0          0          0          0 intel-gpio    3  PIXA3848:01

without the patch applied or without the Tigerlake pinctrl kernel module the output is blank, as the I2C PixArt touchpad device is not detected (see above).

[/sys/bus/acpi/devices/PIXA*/status]

cat /sys/bus/acpi/devices/PIXA3848\:0*/status
0
15

[acpidump | grep PIXA]

 71210: 0D 50 4E 50 30 43 35 30 00 12 1B 05 0A 1D 0A 68  .PNP0C50.......h
 71220: 0A 20 0D 50 49 58 41 33 38 34 38 00 0D 50 4E 50  . .PIXA3848..PNP
 71230: 30 43 35 30 00 12 16 05 0A 20 0A FF 0A FF 0D 45  0C50..... .....E
 71240: 54 44 30 35 31 38 00 0C 41 D0 0F 13 12 16 05 0A  TD0518..A.......
--
 71350: FF 0A FF 0D 45 54 44 30 35 32 32 00 0C 41 D0 0F  ....ETD0522..A..
 71360: 13 12 17 05 0A 2D 0A FF 0A FF 0D 50 49 58 41 33  .....-.....PIXA3
 71370: 38 34 38 00 0C 41 D0 0F 13 12 1A 05 0A FE 0A 15  848..A..........
 71380: 01 0D 45 4C 41 4E 30 35 30 34 00 0D 50 4E 50 30  ..ELAN0504..PNP0
--
 716E0: 50 30 43 35 30 00 12 1B 05 0A 1D 0A 68 0A 20 0D  P0C50.......h. .
 716F0: 50 49 58 41 33 38 34 38 00 0D 50 4E 50 30 43 35  PIXA3848..PNP0C5
 71700: 30 00 12 16 05 0A 20 0A FF 0A FF 0D 45 54 44 30  0..... .....ETD0
 71710: 35 31 38 00 0C 41 D0 0F 13 12 16 05 0A 21 0A FF  518..A.......!..
--
 71820: 0D 45 54 44 30 35 32 32 00 0C 41 D0 0F 13 12 17  .ETD0522..A.....
 71830: 05 0A 2D 0A FF 0A FF 0D 50 49 58 41 33 38 34 38  ..-.....PIXA3848
 71840: 00 0C 41 D0 0F 13 12 1A 05 0A FE 0A 15 01 0D 45  ..A............E
 71850: 4C 41 4E 30 35 30 34 00 0D 50 4E 50 30 43 35 30  LAN0504..PNP0C50

[lspci]

0000:00:15.0 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #0 (rev 01)
	Subsystem: Acer Incorporated [ALI] Device 161d
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 27
	IOMMU group: 10
	Region 0: Memory at 4017000000 (64-bit, non-prefetchable) [virtual] [size=4K]
	Capabilities: [80] Power Management version 3
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D3 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [90] Vendor Specific Information: Len=14 <?>
	Kernel driver in use: intel-lpss

0000:00:15.1 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #1 (rev 01)
	Subsystem: Acer Incorporated [ALI] Device 161d
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin B routed to IRQ 40
	IOMMU group: 10
	Region 0: Memory at 4017001000 (64-bit, non-prefetchable) [virtual] [size=4K]
	Capabilities: [80] Power Management version 3
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D3 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [90] Vendor Specific Information: Len=14 <?>
	Kernel driver in use: intel-lpss

0000:00:19.0 Serial bus controller: Intel Corporation Alder Lake-P Serial IO I2C Controller #0 (rev 01)
	Subsystem: Acer Incorporated [ALI] Device 161d
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 31
	IOMMU group: 13
	Region 0: Memory at 4017002000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: [80] Power Management version 3
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D3 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [90] Vendor Specific Information: Len=14 <?>
	Kernel driver in use: intel-lpss

0000:00:19.1 Serial bus controller: Intel Corporation Alder Lake-P Serial IO I2C Controller #1 (rev 01)
	Subsystem: Acer Incorporated [ALI] Device 161d
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin B routed to IRQ 32
	IOMMU group: 13
	Region 0: Memory at 4017003000 (64-bit, non-prefetchable) [virtual] [size=4K]
	Capabilities: [80] Power Management version 3
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D3 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [90] Vendor Specific Information: Len=14 <?>
	Kernel driver in use: intel-lpss

0000:00:1f.4 SMBus: Intel Corporation Alder Lake PCH-P SMBus Host Controller (rev 01)
	Subsystem: Acer Incorporated [ALI] Device 161d
	Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin A routed to IRQ 16
	IOMMU group: 15
	Region 0: Memory at 601f27c000 (64-bit, non-prefetchable) [size=256]
	Region 4: I/O ports at efa0 [size=32]
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801

View: https://bugzilla.kernel.org/show_bug.cgi?id=220056#c20
You can reply to this message to join the discussion.
-- 
Deet-doot-dot, I am a bot.
Kernel.org Bugzilla (bugspray 0.1-dev)


  parent reply	other threads:[~2025-04-28  7:54 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-25 18:25 PixArt touchpad not detected due to wrong pinctrl Guido Trentalancia via Bugspray Bot
2025-04-26 20:00 ` Ariel Simulevski via Bugspray Bot
2025-04-26 20:40 ` Guido Trentalancia via Bugspray Bot
2025-04-26 21:50 ` Guido Trentalancia via Bugspray Bot
2025-04-26 21:50 ` Guido Trentalancia via Bugspray Bot
2025-04-26 22:05 ` Ariel Simulevski via Bugspray Bot
2025-04-26 22:40 ` Guido Trentalancia via Bugspray Bot
2025-04-26 22:40 ` Guido Trentalancia via Bugspray Bot
2025-04-26 23:00 ` Ariel Simulevski via Bugspray Bot
2025-04-27  9:00 ` Andy Shevchenko via Bugspray Bot
2025-04-27  9:25 ` Andy Shevchenko via Bugspray Bot
2025-04-27 11:40 ` Ariel Simulevski via Bugspray Bot
2025-04-27 12:15 ` Guido Trentalancia via Bugspray Bot
2025-04-27 19:00   ` Andy Shevchenko via Bugspray Bot
2025-04-27 14:55 ` Guido Trentalancia via Bugspray Bot
2025-04-27 19:00   ` Andy Shevchenko via Bugspray Bot
2025-04-27 16:30 ` Ariel Simulevski via Bugspray Bot
2025-04-27 19:05   ` Andy Shevchenko via Bugspray Bot
2025-04-27 20:05 ` Guido Trentalancia via Bugspray Bot
2025-04-28  6:30   ` Andy Shevchenko via Bugspray Bot
2025-04-28  7:55 ` Guido Trentalancia via Bugspray Bot [this message]
2025-04-28  8:40   ` Andy Shevchenko via Bugspray Bot
2025-04-28 10:05 ` Guido Trentalancia via Bugspray Bot
2025-04-28 10:55   ` Andy Shevchenko via Bugspray Bot
2025-04-28 11:00 ` Ariel Simulevski via Bugspray Bot
2025-04-28 16:40   ` Andy Shevchenko via Bugspray Bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250428-b220056c20-9d8165f52ab2@bugzilla.kernel.org \
    --to=bugbot@kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.