From patchwork Fri Sep 16 08:43:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jianqun Xu X-Patchwork-Id: 12978255 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DD4E8C6FA90 for ; Fri, 16 Sep 2022 08:44:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=64GIW+zvcRRX2g5CMV7GAJuGzdPC4AEyg0SibOOlk+0=; b=fbF13cdQ/e7Xtd MGfiKWmN6yxpYQZwLuOTcGN5Ligp2ZkG8goq+mBYCQAXn4Ubv4o1vHXNo3+WkXPi4tFX0m5RQpN4z WXWsODnqQhr7DJSFYkmc+pZXWKulP+qsfzL+a7QDxn+AcRvOepMTqRLWeU7hehV7kNvEv7UEY/rKn m6uw4i55jxHYbYJ/rqi65lZ3B4qRZkTQMNLSyr9iATpl/Y6cFhq1PjykAGpF1tCETpJGPv301eLcy yuPduquMu8BJsfTKJKWH9lRDt5EbQTKl2ycpwx7NSPby5OQQ5PALsLFNmAm0HmUTn2LG0wfP7O0Ie blLy+zc3aqb8/M0KQc9w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oZ6x4-00BHBy-I3; Fri, 16 Sep 2022 08:43:58 +0000 Received: from mail-m11873.qiye.163.com ([115.236.118.73]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oZ6wy-00BH4I-2I for linux-rockchip@lists.infradead.org; Fri, 16 Sep 2022 08:43:57 +0000 Received: from localhost.localdomain (unknown [58.22.7.114]) by mail-m11873.qiye.163.com (Hmail) with ESMTPA id 5729C900A5F; Fri, 16 Sep 2022 16:43:48 +0800 (CST) From: Jianqun Xu To: jbx6244@gmail.com, heiko@sntech.de, linus.walleij@linaro.org, andriy.shevchenko@linux.intel.com Cc: brgl@bgdev.pl, linux-gpio@vger.kernel.org, linux-rockchip@lists.infradead.org, Jianqun Xu Subject: [PATCH v7 0/2] gpio: rockchip: support acpi Date: Fri, 16 Sep 2022 16:43:45 +0800 Message-Id: <20220916084347.458619-1-jay.xu@rock-chips.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFJSktLSjdXWS1ZQUlXWQ8JGhUIEh9ZQVlDHR0ZVhhLQ01ITEhISEkZTlUTARMWGhIXJB QOD1lXWRgSC1lBWU5DVUlJVUxVSkpPWVdZFhoPEhUdFFlBWU9LSFVKSktISkxVSktLVUtZBg++ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6ODY6Azo4OT0oCCIWDxxPDh0V Tx8wFCtVSlVKTU1ISEpMQ0lDQkhOVTMWGhIXVREaAlUDDjsJFBgQVhgTEgsIVRgUFkVZV1kSC1lB WU5DVUlJVUxVSkpPWVdZCAFZQUlJQk03Bg++ X-HM-Tid: 0a834577e3c12eafkusn5729c900a5f X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220916_014352_280231_E01E8D83 X-CRM114-Status: UNSURE ( 7.56 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org This patch fix driver to support acpi. A patch to pinctrl-rockchip.c will be pushed together. Andy Shevchenko (1): ACPI: utils: Add acpi_dev_uid_to_integer() helper to get _UID as integer Jianqun Xu (1): gpio: rockchip: support acpi drivers/acpi/utils.c | 24 +++ drivers/gpio/gpio-rockchip.c | 300 ++++++++++++++++++----------------- include/acpi/acpi_bus.h | 1 + include/linux/acpi.h | 5 + 4 files changed, 188 insertions(+), 142 deletions(-)