Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp2650304rdb; Mon, 25 Dec 2023 23:35:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IEFfVJmNTbhOzTehNV0M4XJYX9FqWH/vKnJ3decV8036Kmly1tLU5wkuHt5f9wAjiBkRjr8 X-Received: by 2002:a17:907:3e1f:b0:a23:5814:4b76 with SMTP id hp31-20020a1709073e1f00b00a2358144b76mr3511483ejc.35.1703576124982; Mon, 25 Dec 2023 23:35:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703576124; cv=none; d=google.com; s=arc-20160816; b=HpmqD3qxvPSLdi+o35BNO9OJOxO/EH11LlLp6tGJaBHUhc6og3VlU9yc3o337qyHAu sFtJOZN9wO3e8UDDEZmu0PioskUUaRgp8ARYopIpA2e2fjff/EzqAPwjJm3OWH2QwMgL btKJItkA9Ld07gAY8mq0dzwUI4HbRSZTM6L30cjsrFnrb5vQdZ5lBtt4osWLOIIwOiy9 jeCmkBpKLD1pbrX79xj6TmyHYOcY2sHxUadZ4zir97vC1zGkV5oFC7Wis/gnRaUN2rk6 vJiUNAuD4KAWWmhze3dScbzoq7KpteXTPUzO9VMLAAR0a5DQfEq2Gs+qeYDIXbW/JIzb p80A== 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=C6iyuLaZfn8doYpkFG5MoavE5wy0f+B7dByiQpI+TtY=; fh=sYSoVz2I3RUX7LohI+GfI1GAkyxTEW6Y3T46GU4rCgk=; b=Y4BaZWGutDwZI4e/zO/g/x5tgb5FAFCbJ1C4yFgKDbfNHLe/Gt2w/Q4awia5mqaG7Y 6gCMxx7TcCjgokDhnVJ5iRuiDP1qXUuZyaWDTpElmVn9W0AMahxgOTHQe56S/DXp8nGb 1VEC0aXYIIN5yuiRvha1wM004pmwrsEtvWyAWfpkMAoBDIVqS9ePV6L2G7TQkZcNa6lA pGI6xxPdiex833mb3w7n0gdWZiMy5cNZfVWupcFHKG0GKh3NpVS4TzW1NT3si+7H/kBE Z31GqBP79BbEGbl/9gu7dFDjjkfwv+BeHp9cPouQfwa4/NVwpEdMzrZVay1V1N15/Ww3 0fuQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-11400-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11400-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id o16-20020a1709061b1000b00a235d287032si5385588ejg.880.2023.12.25.23.35.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Dec 2023 23:35:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11400-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-11400-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11400-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 BA7AB1F22502 for ; Tue, 26 Dec 2023 07:35:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1CA924C632; Tue, 26 Dec 2023 07:35:15 +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 DFD574C60B; Tue, 26 Dec 2023 07:35:11 +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 3BQ7YxK02332767, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36506.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/2.95/5.92) with ESMTPS id 3BQ7YxK02332767 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 26 Dec 2023 15:34:59 +0800 Received: from RTEXMBS03.realtek.com.tw (172.21.6.96) by RTEXH36506.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.17; Tue, 26 Dec 2023 15:34:57 +0800 Received: from RTEXDAG02.realtek.com.tw (172.21.6.101) by RTEXMBS03.realtek.com.tw (172.21.6.96) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 26 Dec 2023 15:34:57 +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; Tue, 26 Dec 2023 15:34:57 +0800 From: =?utf-8?B?VFlfQ2hhbmdb5by15a2Q6YC4XQ==?= To: Krzysztof Kozlowski , Linus Walleij , Bartosz Golaszewski , "Andy Shevchenko" , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley CC: "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: AQHaNKykAxQglRQ65UeKSWnkfMw4BLC2ZpWAgATFNhA= Date: Tue, 26 Dec 2023 07:34:57 +0000 Message-ID: <0d0510c2340e4e7f8048e56400a01b48@realtek.com> References: <20231222075812.6540-1-tychang@realtek.com> <20231222075812.6540-3-tychang@realtek.com> <2a44fe91-b4a5-4842-8abc-f30c532f14e0@linaro.org> In-Reply-To: <2a44fe91-b4a5-4842-8abc-f30c532f14e0@linaro.org> Accept-Language: zh-TW, en-US Content-Language: zh-TW x-kse-serverinfo: RTEXMBS03.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 SGkgS3J6eXN6dG9mLA0KDQpUaGFuayB5b3UgZm9yIHRoZSByZXZpZXcuDQoNCj4uLi4NCj4NCj4+ ICtzdGF0aWMgaW50IHJ0ZF9ncGlvX2lycV9zZXRfdHlwZShzdHJ1Y3QgaXJxX2RhdGEgKmQsIHVu c2lnbmVkIGludA0KPj4gK3R5cGUpIHsNCj4+ICsgICAgIHN0cnVjdCBncGlvX2NoaXAgKmdjID0g aXJxX2RhdGFfZ2V0X2lycV9jaGlwX2RhdGEoZCk7DQo+PiArICAgICBzdHJ1Y3QgcnRkX2dwaW8g KmRhdGEgPSBncGlvY2hpcF9nZXRfZGF0YShnYyk7DQo+PiArICAgICBpcnFfaHdfbnVtYmVyX3Qg aHdpcnEgPSBpcnFkX3RvX2h3aXJxKGQpOw0KPj4gKyAgICAgdTMyIG1hc2sgPSBCSVQoaHdpcnEg JSAzMik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