Message ID | 20230731091059.17323-1-zhuyinbo@loongson.cn |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp1900784vqg; Mon, 31 Jul 2023 02:43:52 -0700 (PDT) X-Google-Smtp-Source: APBJJlEg/IRyus+Y504VUoVDmQiJdv4n98M4nYm5v+T5XOjPuQHvvUa3u99P6o9grFcaJ/u8eQrC X-Received: by 2002:a05:6512:3b82:b0:4fb:81f2:4228 with SMTP id g2-20020a0565123b8200b004fb81f24228mr6327903lfv.31.1690796631934; Mon, 31 Jul 2023 02:43:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690796631; cv=none; d=google.com; s=arc-20160816; b=gw9zGIHlmQsb1XmOlmqERYRMqMTQUIa5Yur0U+418uVBZcNggElwSK3gXQT5UlQlMQ 2kcrO9llkfsMm5Dwy09RoqgpCykVzrDgpv32vWLZUBrzrBYcFmGNfiiZHK/QKi9bhAYW f0OtplhQlQBLNAzjH7oDsaOiu2+BSlErtVLc5Fg/JJrEjz6Y+2I1fFLcavahQQFxMe5w uGkMMmN/hcgmWl3lgseXVsSS8Ujw1ELjyv4SJeuxj3EUKcQJvOl+cW1BGySNFbotPxWh Qqx3lrhmaGLwOS3yaZrt0pAP/DmOHJVZ/9VnhQrkaFB2qfYmMEY2g7DpxlF2NZxQXrck BwhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=9oAw5MlScYaZEM7t9+CfNLtZiqzJ493dZfBV54i8w3E=; fh=teZAvrnU1k4B6t2Z9AwXPKAN+RYsEfJmvb3BgB5uIhw=; b=u9h0LkB2F1s8qpSSE6DaskM2AmxatxoQRPZY+zt4M3Npr4LB79dx/V+GgLrZF/6Z8/ +Gp2ci2C0Nf2SPpELsCpOmJJOtsn9IxCt2P+vbLTgYH9/wARYn4B8JZppZBk/KQRYzmS XFR+qXRg9+ln+5W1JgfG2L75xrmgtP9fw+x9YNC0e++G3wiYQP2J+X5JYRaqlx3Sfedm JwMYlGxxqNDYa5UXu+ecfVUWKGx3NN/pQ1P2QyzMS2DTIAhTzKv56sDbMMRV4vD/5TkA OR0nrRfOwYHSOeHNAvk2V2vVCrmBuJqCfdJWTmel5fX16pRjUQJIEFlrf6FpjIo+tJjX PQLw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v10-20020aa7d9ca000000b00518c6e070f8si149825eds.663.2023.07.31.02.43.25; Mon, 31 Jul 2023 02:43:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231527AbjGaJL2 (ORCPT <rfc822;dengxinlin2429@gmail.com> + 99 others); Mon, 31 Jul 2023 05:11:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229925AbjGaJLX (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 31 Jul 2023 05:11:23 -0400 Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 38820107; Mon, 31 Jul 2023 02:11:20 -0700 (PDT) Received: from loongson.cn (unknown [10.20.42.201]) by gateway (Coremail) with SMTP id _____8DxRvG1esdkPyINAA--.31437S3; Mon, 31 Jul 2023 17:11:17 +0800 (CST) Received: from localhost.localdomain (unknown [10.20.42.201]) by localhost.localdomain (Coremail) with SMTP id AQAAf8CxriOkesdk1DFCAA--.2097S2; Mon, 31 Jul 2023 17:11:17 +0800 (CST) From: Yinbo Zhu <zhuyinbo@loongson.cn> To: Linus Walleij <linus.walleij@linaro.org>, Bartosz Golaszewski <brgl@bgdev.pl>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Jianmin Lv <lvjianmin@loongson.cn>, wanghongliang@loongson.cn, Liu Peibao <liupeibao@loongson.cn>, loongson-kernel@lists.loongnix.cn, Yinbo Zhu <zhuyinbo@loongson.cn> Subject: [PATCH v2 0/2] gpio: loongson: add firmware offset parse support Date: Mon, 31 Jul 2023 17:10:57 +0800 Message-Id: <20230731091059.17323-1-zhuyinbo@loongson.cn> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: AQAAf8CxriOkesdk1DFCAA--.2097S2 X-CM-SenderInfo: 52kx5xhqerqz5rrqw2lrqou0/ X-Coremail-Antispam: 1Uk129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7KY7 ZEXasCq-sGcSsGvfJ3UbIjqfuFe4nvWSU5nxnvy29KBjDU0xBIdaVrnUUvcSsGvfC2Kfnx nUUI43ZEXa7xR_UUUUUUUUU== X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772927353874012590 X-GMAIL-MSGID: 1772928768909998884 |
Series |
gpio: loongson: add firmware offset parse support
|
|
Message
Yinbo Zhu
July 31, 2023, 9:10 a.m. UTC
Add some GPIO register offset value parse support for device properties allowing to specify them in ACPI or DT. Change in v2: 1. Reword the patch commit log information. 2. Add some GPIO register offset description in yaml. Yinbo Zhu (2): gpio: dt-bindings: add parsing of loongson gpio offset gpio: loongson: add firmware offset parse support .../bindings/gpio/loongson,ls-gpio.yaml | 37 ++++++++++ drivers/gpio/gpio-loongson-64bit.c | 71 +++++++++++++++++-- 2 files changed, 101 insertions(+), 7 deletions(-)