Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753892AbcL3Mbi (ORCPT ); Fri, 30 Dec 2016 07:31:38 -0500 Received: from gloria.sntech.de ([95.129.55.99]:46310 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753630AbcL3Mbh (ORCPT ); Fri, 30 Dec 2016 07:31:37 -0500 From: Heiko Stuebner To: Andy Yan Cc: linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 0/2] Use macros to describe gpios on rockchip platform Date: Fri, 30 Dec 2016 13:31:27 +0100 Message-ID: <1558490.gPc1QP0JTO@phil> User-Agent: KMail/5.2.3 (Linux/4.8.0-1-amd64; KDE/5.27.0; x86_64; ; ) In-Reply-To: <1477140706-6886-1-git-send-email-andy.yan@rock-chips.com> References: <1477140706-6886-1-git-send-email-andy.yan@rock-chips.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 668 Lines: 22 Am Samstag, 22. Oktober 2016, 20:51:46 CET schrieb Andy Yan: > As patch 150696e2e3a4("Add GPIO pin index definition for rockchip pinctrl") > has been applied, now we can use these macros to describe the corresponding > gpio ranther than hard code numbers, this will make the dts easier to read > and write. > > Some ideas from Krzysztof's patch on EXYNOS[0]. > > [0]https://lkml.org/lkml/2016/9/4/71 > > > > Andy Yan (2): > ARM: dts: rockchip: use pin constants to describe gpios > ARM64: dts: rockchip: use pin constants to describe gpios applied to dts branches for 4.11 I've also adapted the gpio interrupts accordingly inside the patches. Thanks Heiko