Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967285AbcCQOuD (ORCPT ); Thu, 17 Mar 2016 10:50:03 -0400 Received: from mail-ob0-f182.google.com ([209.85.214.182]:36705 "EHLO mail-ob0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753735AbcCQOt7 (ORCPT ); Thu, 17 Mar 2016 10:49:59 -0400 MIME-Version: 1.0 In-Reply-To: <56E9750B.2000800@baylibre.com> References: <1457005210-18485-1-git-send-email-narmstrong@baylibre.com> <1457005210-18485-11-git-send-email-narmstrong@baylibre.com> <56E9750B.2000800@baylibre.com> Date: Thu, 17 Mar 2016 15:49:58 +0100 Message-ID: Subject: Re: [PATCH 10/17] pinctrl: Add PLX Technology OXNAS pinctrl and gpio driver From: Linus Walleij To: Neil Armstrong Cc: "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-gpio@vger.kernel.org" , Ma Haijun , Jean-Christophe PLAGNIOL-VILLARD Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 504 Lines: 14 On Wed, Mar 16, 2016 at 4:00 PM, Neil Armstrong wrote: > I think I'll reboot over a clean base, could you give a reference driver I should follow ? > It's a very simple HW, it should be easy. I would look at those merged lately, which has pin control combined with GPIO and interrupts. drivers/pinctrl/qcom is good but supports quite a lot of subvariants so it may be hard to see what parts you really need. But I think of those as a very nice drivers. Yours, Linus Walleij