From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 2AF8D23536B; Tue, 18 Feb 2025 10:59:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=140.211.166.183 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739876366; cv=none; b=DzjtTIgAqFjG5Juf9Iew85fvSnWLIQEbcp0T2Qgf9cvZTlIeKt/afk6NiRQadVaJOqrOwa17hnmjghkAlgqYxkt7un8uHp9XzTUYaf5y7NuR2pXQayrpFLzgS0MLFgi8NKOOgJ4yOSNMa4yzcdVKHZVRaLGfkWTBhZTMailb0qA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739876366; c=relaxed/simple; bh=n1iqObZEzA0rDmHtOHu37IVyO1+M8xcx8X5qmxcmFTI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=rCicmvdyfEelVGjSVA9nFhYA8DS3B3qk4CnzwLGP74uYEZwuH3Pi/kqsbs2AGX7MKkrfm73MAyn0VqV9oo1PYlGUMS6hrLwxOnVA0xsGwoIqPXIeHkIMH3GTLXL+XtPfPWPZyFpUrIhdzzhq/9nWmdjQ2MjkdPyWVUG6qCWnE5E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gentoo.org; spf=pass smtp.mailfrom=gentoo.org; arc=none smtp.client-ip=140.211.166.183 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gentoo.org Received: from localhost (unknown [180.172.76.141]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: dlan) by smtp.gentoo.org (Postfix) with ESMTPSA id C9223342FA4; Tue, 18 Feb 2025 10:59:23 +0000 (UTC) Date: Tue, 18 Feb 2025 10:59:19 +0000 From: Yixun Lan To: Linus Walleij Cc: Rob Herring , Olof Johansson , Bartosz Golaszewski , Krzysztof Kozlowski , Conor Dooley , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Yangyu Chen , Jisheng Zhang , Jesse Taube , Inochi Amaoto , Icenowy Zheng , Meng Zhang , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: Re: [PATCH v4 1/4] dt-bindings: gpio: spacemit: add support for K1 SoC Message-ID: <20250218105919-GYB29065@gentoo> References: <20250127181726.GA538260-robh@kernel.org> <20250128031712-GYB47737@gentoo> <20250206133156-GYA5687@gentoo> <20250214115410-GYA21743@gentoo> <20250218095540-GYA29065@gentoo> Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Hi Linus: On 11:17 Tue 18 Feb , Linus Walleij wrote: > On Tue, Feb 18, 2025 at 10:55 AM Yixun Lan wrote: > > > > I will post it real soon. > > > > > can you check the v5 of the patch here [1]? which I just sent out yesterday > > it does 1) implement xlate() 2) instroduce custom add_pin_page() > > the gpio part works as I tested, the gpio irq probably need more testing > > Ah nice! I have the same idea, but I just bring all the stuff you > need to reimplement in your driver into the core instead. > > Your driver and bindings will look the same, you will just do > not need to reimplement the translation functions (if my code > works as I intended...) > great! I will test and let you know if it works, many thanks.. > Yours, > Linus Walleij -- Yixun Lan (dlan) Gentoo Linux Developer GPG Key ID AABEFD55 From mboxrd@z Thu Jan 1 00:00:00 1970 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 980D2C02198 for ; Tue, 18 Feb 2025 11:00:20 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=mfFJOAKSjHCm+DO6pOl7AvPYqBCOYOdCChd1ynbCI18=; b=v8pVnoiFLnz3fH MZQm1cU0rBAdqnJZQV9cx07uQGa2gAJuNp6crsH3RDiT/kHHBxaxXpyeCUEt9fHjVWDAUglWmoBas vZ1xGvMgqT3nwNRdlau33BptIAAjrGb63xinppCoYnZ1o1l4nGchmF1vXpPBL+dTvycTp/iuvi229 y88fqbv6C0misvZCJl81rVxhN6kv8LvzETuDnGqS0n1Z7A0VJLeuhSokrbQGkC97tIRznphepniu7 c7p4w9XohMdmvuk01XPmCsbVV4CLq+NEyXWZbQ11mn4h/0SPqAI7knozYb4G+lVOTNjdaF0jPO1cb hm1UFYIqoeZDTGkKJCQw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tkLKn-00000007r94-367w; Tue, 18 Feb 2025 11:00:13 +0000 Received: from mail.gentoo.org ([2001:470:ea4a:1:5054:ff:fec7:86e4] helo=smtp.gentoo.org) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tkLK2-00000007r2V-3MCG for linux-riscv@lists.infradead.org; Tue, 18 Feb 2025 10:59:27 +0000 Received: from localhost (unknown [180.172.76.141]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: dlan) by smtp.gentoo.org (Postfix) with ESMTPSA id C9223342FA4; Tue, 18 Feb 2025 10:59:23 +0000 (UTC) Date: Tue, 18 Feb 2025 10:59:19 +0000 From: Yixun Lan To: Linus Walleij Subject: Re: [PATCH v4 1/4] dt-bindings: gpio: spacemit: add support for K1 SoC Message-ID: <20250218105919-GYB29065@gentoo> References: <20250127181726.GA538260-robh@kernel.org> <20250128031712-GYB47737@gentoo> <20250206133156-GYA5687@gentoo> <20250214115410-GYA21743@gentoo> <20250218095540-GYA29065@gentoo> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250218_025926_867619_1DD6ACE0 X-CRM114-Status: GOOD ( 18.35 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rob Herring , Conor Dooley , Meng Zhang , linux-gpio@vger.kernel.org, Bartosz Golaszewski , linux-kernel@vger.kernel.org, Conor Dooley , Yangyu Chen , devicetree@vger.kernel.org, Palmer Dabbelt , Jesse Taube , Jisheng Zhang , Paul Walmsley , Olof Johansson , Inochi Amaoto , Krzysztof Kozlowski , linux-riscv@lists.infradead.org Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org SGkgTGludXM6CgpPbiAxMToxNyBUdWUgMTggRmViICAgICAsIExpbnVzIFdhbGxlaWogd3JvdG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