Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp577477ybl; Fri, 13 Dec 2019 01:00:18 -0800 (PST) X-Google-Smtp-Source: APXvYqx/bLLMWa3QpRtsqdsbftqwiOvdOn+g5Dz+xcM7j2xqNX03L7dAatySFWP7NIWAEuUxKokN X-Received: by 2002:a9d:6206:: with SMTP id g6mr13198791otj.51.1576227618769; Fri, 13 Dec 2019 01:00:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576227618; cv=none; d=google.com; s=arc-20160816; b=XRYqauz5aODArwbBC8cqTIG+SGNi2jypVtIPWAu0BXCnHLx9IuMomI0cedYce8uQtT WufgwQ/3/oMdCrugSud7gQdFEA4Lc+lCz+IXgctMq0F1izWcLlx4ALtKETf91eRyafr0 PFVFakck8nUcSmgSKuZKNWEznVmbdYIlZsvOWQM3TBnG8uooKR6MDD65elY1J2A4JKk2 lRwTcF2Wz8Mj/V1epDwig3eRLu5RyacANHLV74D8MW/5gadmYYRvyaZ5YDo03T0D59PW 3CBX+1K3s84Hrq2LeMvkPnMLu4I3ed9vfiB8hYKNylXxdjcxG4Y9YXGLUaeFJkFWMP1U 2eEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=neDwLTAD9jZBzNHCTpQNXqb55Q19dpVUnqxtm4qngC4=; b=Jb7AKFWG8+UhYSObBl9NnbV9LIJXUw/z3EAIiEsRalH9wR7PFqqzA/oUoQfV94bnXy bW7thTm7n6K3ch2y6nxdwyVPNLWnHlc78Qi8+oU1K24wN6BkVgiKSp2JT+lhkeNSEEBo cp3rDK5BW6KP9Dij1Jw4gdB8o7g24A3g35bUih2tgL6TUOR2Fent14Ulu6rdlyg6CErU 7MMdSNT5ZlN2kA/Uy4f46FTYsl5QW/RiwOVGYeg/GWmnPwMSnPdtQ61iz75rG0XpXEsT kGb3XHuPmpN9vT72jCo2qT5Rb4guXWrg9StL/wG1EpEdmuBE9eH4jK84cqWSRT4mZoUc s4Tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="vxcn/yQJ"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x207si4602516oif.30.2019.12.13.01.00.05; Fri, 13 Dec 2019 01:00:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="vxcn/yQJ"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725906AbfLMI7X (ORCPT + 99 others); Fri, 13 Dec 2019 03:59:23 -0500 Received: from mail-lj1-f196.google.com ([209.85.208.196]:37118 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725770AbfLMI7X (ORCPT ); Fri, 13 Dec 2019 03:59:23 -0500 Received: by mail-lj1-f196.google.com with SMTP id u17so1785722lja.4 for ; Fri, 13 Dec 2019 00:59:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=neDwLTAD9jZBzNHCTpQNXqb55Q19dpVUnqxtm4qngC4=; b=vxcn/yQJtKa3gJABcbwws+zsCvWydlc4hiIlN9oHnNaSKTpm0zNd3gpSZO5lShK4Lz 7ySxoBZZGyT5IiZTF3DrIFpn/9WuEgc0UolRO7BMf9GXSrO5NI07h63FPaW4jxPCtWOB I6SnDaSDk7AnavpFEBYYFZBUwEDPcQKoDKB3wp/iAv/UC2ql2i548auPCoNPhWAInw0I +tyTHKlU29ssg/GMIwqe/VMfmRUjcRPrtFbovPdBY4g84ap+mKqX6vsx2uC9nZQs0pP/ MqyAg7GtGxi9QH3iQGXuAmmorV5vGfdgh/zqtwbWfmk9c2rI8MKy4OSuTlOREaAvuZdb 2qoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=neDwLTAD9jZBzNHCTpQNXqb55Q19dpVUnqxtm4qngC4=; b=ZUaYdAdhuptIaigE51b2gpWtSa6ogP5wVHkYO2sh3yuo+XZJaU6/Nqm03vANNHWw1V 7CwFgmcrteQUygDVYF+I8nF1lebe67h5gtE3Xqr2jwr5yXj9bgQVMmhvbpTvreG3BGe/ 45n2Ad5rh+wHLJ813iZ37i37lYLGg7CjAX690NwLfaChpErVw8Wt9+LVh0xbqiITu2ku rhzgj79Tvv0l1GOGWli04n21B0l6zsOppBAk6sWSzDOLMkNMqVNRc+cUSrj29jCP2d+V Ddcwt6SJFjGPaLn7jqXs/jKoXc4A06yqKiBEF+l++g9a9L8uzk5JIRgU4HUZTIYZtd5l hECA== X-Gm-Message-State: APjAAAWIkxKMLR6Uye4tgIPy9O0w1Spb3y6TefyaXx+WOItLMTxwRabf ClRmFXzXZ7DFxLb0FxNwxoXWK6icqkSqiaTg+ca2qQ== X-Received: by 2002:a2e:9587:: with SMTP id w7mr8447089ljh.42.1576227561359; Fri, 13 Dec 2019 00:59:21 -0800 (PST) MIME-Version: 1.0 References: <20191204101042.4275-1-cleger@kalray.eu> In-Reply-To: <20191204101042.4275-1-cleger@kalray.eu> From: Linus Walleij Date: Fri, 13 Dec 2019 09:59:10 +0100 Message-ID: Subject: Re: [PATCH 0/5] Add pinctrl support for dwapb gpio driver To: Clement Leger Cc: Bartosz Golaszewski , Hoan Tran , "open list:GPIO SUBSYSTEM" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 4, 2019 at 11:10 AM Clement Leger wrote: > Synopsys DWAPB IP includes support for pin control. This control is basic > and allows to switch between a hardware and a software function. > Software function is when driving GPIOs from IP and hardware is controlled > by external signals. > This serie export necessary interface to be able to move the driver to > pinctrl folder and then implement the pinctrl support which is based on the > digicolor driver. The idea is to avoid hardcoding pins in driver since > this IP is a generic one available on multiple SoC. The overall approach is correct, just tidy up the patch series the way indicated by Andy and we can probably proceed efficiently with this. I will review the patch adding the pinctrl interfaces separately. Yours, Linus Walleij