Received: by 2002:a05:6a10:87d6:0:0:0:0 with SMTP id g22csp788796pxr; Mon, 11 Apr 2022 07:16:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJybRnU6gly5MKjhpqNUWTTHqFGkqE7mzKnbtxzxfhGBevY44PzQqazFAerEbXA/jJpBo/qI X-Received: by 2002:a17:906:1be1:b0:6ce:b0a8:17d with SMTP id t1-20020a1709061be100b006ceb0a8017dmr29881280ejg.413.1649686605745; Mon, 11 Apr 2022 07:16:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649686605; cv=none; d=google.com; s=arc-20160816; b=jZlExwf41bepzBEXKHMOWMPkj+a0/BjvNp9koMTAPI28JwrzzSDiaOb/E3DmORST4u ZORvJU2m0S5Buq8m9IypcUDVhqujgBasNCiw83QW80P6MDOPSuK9q6T4HTLIAt9vnOOV +HBhmY7o8izQ1gdtEdnX7mGtwZB9RNA2h29bDWLIfEm8Xx2+S2btG5W4b2STR0oOQrQ2 feKv+WIFhzM0DB/bd2h4Psh++ZAdmy84WqPwAcJ859XnX4Mn5idD7Agttk+bnLSi5Vu8 b1L8TxOuWlPBnrfiEn1TrvHJjmonFqIG2LoIlDxLpgAVRc+NnskmAVO3k30LvI4u9e5A U3yA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=i+chAUdJiBzKs88jdausmSCxwbTjomag1w6qWW/Hank=; b=p++B4qTp3x+iQEfCRTYKqJuf5A5vhnXa2jSuS3/XMXW5fB6FCfEC3iwXGkDPdWgvxe vEFmyqATUfjkGp+4vqP9guq1AIHvZ0v/+fu3++bhDiDybowtwgGxGgF0LpLV3VuQd8rU pGAOW0QW/wYfaLp7m80YPkOsg27KfnhO3BV7q5jOuyWaB1UDg9+pj29OK1hrr1KcjV8v mUo52rhXMnknVNN1qQK86a8oXg5ii+iRUmXct9qkZCUzMOoboqu3GpQA6bemrQBVAsRL M0IgNdD15uEKXzzn4j+IIhijAxdy5BckOfbCM0uxTwgoPzRncv5J76yCPn7TMRcG09Ea WfkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@svanheule.net header.s=mail1707 header.b=9ehHVlFq; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=svanheule.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n2-20020a170906b30200b006e844410c1asi6708884ejz.423.2022.04.11.07.16.20; Mon, 11 Apr 2022 07:16:45 -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; dkim=pass header.i=@svanheule.net header.s=mail1707 header.b=9ehHVlFq; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=svanheule.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230044AbiDIUHI (ORCPT + 99 others); Sat, 9 Apr 2022 16:07:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229812AbiDIUHH (ORCPT ); Sat, 9 Apr 2022 16:07:07 -0400 Received: from polaris.svanheule.net (polaris.svanheule.net [84.16.241.116]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48DB447AD7 for ; Sat, 9 Apr 2022 13:04:58 -0700 (PDT) Received: from terra.local.svanheule.net (unknown [IPv6:2a02:a03f:eaf9:8401:9d41:ea18:e395:a08d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sander@svanheule.net) by polaris.svanheule.net (Postfix) with ESMTPSA id B80232C4658; Sat, 9 Apr 2022 21:56:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=svanheule.net; s=mail1707; t=1649534163; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=i+chAUdJiBzKs88jdausmSCxwbTjomag1w6qWW/Hank=; b=9ehHVlFq8F/jG3mofWNO7ADtxpJpI5BxrxNHr/PEVNVyorURuUdaAukDEKP20F6t6kEeZp 1nCrHM9POUVWNFhcuhlKa0AS/iqyu13oRS3xmyN8cZ9zp6VGjyyeSmTbGuVDfrELmJJvth WsRP0fcXUjBaGbXQNk4b4t/QDdacI4OYb3vFFTzXHQFDukbiHmnliV/27m0SVj5yVZ6lop v8TLHMOCTI/e/ryzyux9G3XSJkPVlWAghJlisz6i71C8e9ej0vWu/9/dJkImumHQkfYAD+ NTveQZ3Ua+Ej8rdkIkOYfPnCTxpFTee2WB0myyRwzQMjrw74xZ0aKBw2IAc0xg== From: Sander Vanheule To: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org Cc: Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Sander Vanheule , Bert Vermeulen , linux-kernel@vger.kernel.org Subject: [PATCH v1 6/6] gpio: realtek-otto: Add RTL931x support Date: Sat, 9 Apr 2022 21:55:51 +0200 Message-Id: <56ee532f99b197b431ede9a3179b0d6e826d196b.1649533972.git.sander@svanheule.net> X-Mailer: git-send-email 2.35.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, 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: X-Mailing-List: linux-kernel@vger.kernel.org The RTL931x SoC series has support for 32 GPIOs, although not all lines may be broken out to a physical pad. The GPIO bank's parent interrupt can be routed to either or both of the SoC's CPU cores by the GIC. Line-by-line IRQ balancing is not possible on these SoCs. Signed-off-by: Sander Vanheule --- drivers/gpio/gpio-realtek-otto.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpio/gpio-realtek-otto.c b/drivers/gpio/gpio-realtek-otto.c index 3ddaa17accff..c52b2cb1acae 100644 --- a/drivers/gpio/gpio-realtek-otto.c +++ b/drivers/gpio/gpio-realtek-otto.c @@ -339,6 +339,9 @@ static const struct of_device_id realtek_gpio_of_match[] = { .compatible = "realtek,rtl9300-gpio", .data = (void *)(GPIO_PORTS_REVERSED | GPIO_INTERRUPTS_PER_CPU) }, + { + .compatible = "realtek,rtl9310-gpio", + }, {} }; MODULE_DEVICE_TABLE(of, realtek_gpio_of_match); -- 2.35.1