Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp3715135rdb; Wed, 27 Dec 2023 18:27:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IFNtRqBU3TTow+AWZDXtItR4oWxMsnLuNcdD69uWOAmO5KHN1+AH8fgeZvBiPiO7iu/hw0z X-Received: by 2002:a05:600c:6014:b0:40d:5aa0:25b3 with SMTP id az20-20020a05600c601400b0040d5aa025b3mr1536509wmb.40.1703730461814; Wed, 27 Dec 2023 18:27:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703730461; cv=none; d=google.com; s=arc-20160816; b=Ri9q5f89X77kG+tvzZb5Nk/9oAN97lZsMCeruvjfzG2MHbiuMSovoZg6pHgLBANUOL W0sMpxlJaHj8EI2dxiygB8gG/5UT1MmygSPuehQ+QvDFUQQKCVO5wmkzWr+JccaxbhOC bc3skscnV9mumDIboJ5+NPBZ3a7PmyIWLClyFlnRuJMmgXpc4W+5ChcZ9MQdGz6AGXjw D3BEfjiYpEK1Ic4QZrLMtcV0NTYedGo4ZSGOCdtfKa0M9CkpWB29Szb7SYIMV4Vo+Tx6 pfJ8SFjKymb1VvlEaD4zxhnc0EyoVx2gsA4yFk2pjHD0e47eId49Yt7yo3egqCZ6FCy0 Kicw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:cc:to:from; bh=35iB6C14sxCnO7U+75C3wIHAYPXADuMIi7KPix/VHjw=; fh=BxyC0e7bhAnIUnQdJbwbePGkL66JAGmqk45UhfipMxs=; b=CWz4Xp3b5xU88DqFp+hcKSrVyei5kgMW69OB5AKmSoNfIbQCCFyx49YoIQZxFLQgq1 PuB+o7v6wrOqcaiThS92fjWGrAXzuA5FilbmP6f726c0rziBON16DpIdT9PfxM7MuV8K xJjE7p27kMbwJJMUqyKKx2gCd7FOMruJP1OA567k9AywVnffBA7i717tGF9Yl0hiJbWO K/O2LLk+bxaU55ZIqj4APJOwGNqrv8HSzyjUCmukb2OjfXL43ggvRHzjYy2KkOuv3OqM qdXHMm1LJvLGIO1E72Nrme3xDbgCpLQE58zzgghMFDl0Hvs14cUtTbr/NC5GOGUIdzCg x+Eg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-12392-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12392-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id b13-20020a1709062b4d00b00a2368f00d50si6660333ejg.989.2023.12.27.18.27.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Dec 2023 18:27:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-12392-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-12392-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12392-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 907041F21C22 for ; Thu, 28 Dec 2023 02:27:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6D6931396; Thu, 28 Dec 2023 02:27:31 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B11F2ED8; Thu, 28 Dec 2023 02:27:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=realtek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=realtek.com X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 3BS2R7hZ41639675, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36505.realtek.com.tw[172.21.6.25]) by rtits2.realtek.com.tw (8.15.2/2.95/5.92) with ESMTPS id 3BS2R7hZ41639675 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 28 Dec 2023 10:27:07 +0800 Received: from RTEXMBS01.realtek.com.tw (172.21.6.94) by RTEXH36505.realtek.com.tw (172.21.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.32; Thu, 28 Dec 2023 10:27:07 +0800 Received: from RTEXDAG02.realtek.com.tw (172.21.6.101) by RTEXMBS01.realtek.com.tw (172.21.6.94) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 28 Dec 2023 10:27:06 +0800 Received: from RTEXDAG02.realtek.com.tw ([fe80::5d58:7838:d352:d6b8]) by RTEXDAG02.realtek.com.tw ([fe80::5d58:7838:d352:d6b8%5]) with mapi id 15.01.2375.007; Thu, 28 Dec 2023 10:27:06 +0800 From: =?utf-8?B?VFlfQ2hhbmdb5by15a2Q6YC4XQ==?= To: Andy Shevchenko CC: Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Conor Dooley , "linux-gpio@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH v4 2/2] Add GPIO support for Realtek DHC(Digital Home Center) RTD SoCs. Thread-Topic: [PATCH v4 2/2] Add GPIO support for Realtek DHC(Digital Home Center) RTD SoCs. Thread-Index: AQHaNKykAxQglRQ65UeKSWnkfMw4BLC0wdMAgAYrmgCAAeOVgIABL1Sw Date: Thu, 28 Dec 2023 02:27:06 +0000 Message-ID: <532f905a4df6444c85c7932bca60aeca@realtek.com> References: <20231222075812.6540-1-tychang@realtek.com> <20231222075812.6540-3-tychang@realtek.com> <63983de33ce2415abb8b5b745db58911@realtek.com> In-Reply-To: Accept-Language: zh-TW, en-US Content-Language: zh-TW x-kse-serverinfo: RTEXMBS01.realtek.com.tw, 9 x-kse-antispam-interceptor-info: fallback x-kse-antivirus-interceptor-info: fallback Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-ServerInfo: RTEXH36505.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-Antivirus-Interceptor-Info: fallback X-KSE-AntiSpam-Interceptor-Info: fallback SGkgQW5keSwNCg0KPk9uIFR1ZSwgRGVjIDI2LCAyMDIzIGF0IDA3OjM0OjM3QU0gKzAwMDAsIFRZ X0NoYW5nW+W8teWtkOmAuF0gd3JvdGU6DQo+PiA+T24gRnJpLCBEZWMgMjIsIDIwMjMgYXQgMDM6 NTg6MTJQTSArMDgwMCwgVHp1eWkgQ2hhbmcgd3JvdGU6DQo+DQo+Li4uDQo+DQo+PiA+PiArc3Rh dGljIGludCBydGRfZ3Bpb19ncGFfb2Zmc2V0KHN0cnVjdCBydGRfZ3BpbyAqZGF0YSwgdW5zaWdu ZWQgaW50DQo+PiA+PiArb2Zmc2V0KSB7DQo+PiA+PiArICAgICByZXR1cm4gZGF0YS0+aW5mby0+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