NetBSD Problem Report #56814

From ryo_on@yk.rim.or.jp  Wed May  4 18:14:51 2022
Return-Path: <ryo_on@yk.rim.or.jp>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 6008B1A9239
	for <gnats-bugs@gnats.NetBSD.org>; Wed,  4 May 2022 18:14:51 +0000 (UTC)
Message-Id: <4Ktjdh2Q5Jz5bxg@mail.SiriusCloud.jp>
Date: Thu, 05 May 2022 01:56:08 +0900
From: ryoon@NetBSD.org
Reply-To: ryoon@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: Please support GPIO with ACPI and i2c
X-Send-Pr-Version: 3.95

>Number:         56814
>Category:       kern
>Synopsis:       Please support GPIO with ACPI and i2c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed May 04 18:15:00 +0000 2022
>Originator:     Ryo ONODERA
>Release:        NetBSD 9.99.96
>Organization:
Ryo ONODERA // ryo@tetera.org
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3
>Environment:


System: NetBSD brownie 9.99.96 NetBSD 9.99.96 (DTRACE7) #155: Wed May 4 22:48:13 JST 2022 ryoon@brownie:/usr/world/9.99/amd64/obj/sys/arch/amd64/compile/DTRACE7 amd64
Architecture: x86_64
Machine: amd64
>Description:
HP Envy 13-ay1000 x360 laptop has AMD's Ryzen 7 5800U CPU and
AMD's GPIO controller.
And its Synaptics touchpad uses i2c (dwiic(4)) and dwiic(4) uses
AMD's GPIO for interrupt.

It seems that NetBSD 9.99.96 does not support ACPI GPIO interrupt and
dwiic(4) does not support GPIO interrupt.

Please extend ACPI and i2c in NetBSD-current to support GPIO.
And enable newer Synaptics touchpads.

>How-To-Repeat:
Boot NetBSD/amd64 9.99.96 on HP Envy 13-ay1000 x360.

>Fix:
Add GPIO support to ACPI and i2c.
As far as I understand correctly, OpenBSD 7.1 has GPIO support to
enable newer Synaptics touchpads, and FreeBSD-current has no GPIO
interrupt support yet (FreeBSD-current supports polling only).


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.