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 X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 19312C433DF for ; Mon, 29 Jun 2020 12:31:34 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DACB923D20 for ; Mon, 29 Jun 2020 12:31:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="hEPl8PuL"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=beagleboard-org.20150623.gappssmtp.com header.i=@beagleboard-org.20150623.gappssmtp.com header.b="PSx0WywE" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DACB923D20 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=beagleboard.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type: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:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=H7Q9Tv/DIg6VdhJrm1Htk56nfwniDGsL+AL/r0vPkqw=; b=hEPl8PuLUUk9MBL3sqbxFA2t4g cpGfHxuW0qa6E8Iy/2iztMEMHmjuc4ZP20nauJfIOSzanYC865i0RmjfKujdqOaVS6rOHJT/VPpRm yGqS71l1WhQN9nR9e1AXeIUn/iIbl9k8b7mN2Dzh96vnvOzRjscvEfRfuc+Epq8RCZ0qqZrkzSpyO l9T00PliARWcT+ux2wOCz2EPnxRRLieAkjhTCF0lh9JOJyWymIMP4C/orqGLtWbjC3AVLtq1/++ms t6fSvp/fWSEDS83+L2smmE5n2TeUf6M3y8D7nHEn1vy78Qk/uZct8ebU8klUK2gf6HgKuqmBXsNUs OmsqvSkw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jpsuK-0004Zr-IP; Mon, 29 Jun 2020 12:29:08 +0000 Received: from mail-ej1-x644.google.com ([2a00:1450:4864:20::644]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jpsuH-0004ZY-Au for linux-arm-kernel@lists.infradead.org; Mon, 29 Jun 2020 12:29:06 +0000 Received: by mail-ej1-x644.google.com with SMTP id w16so16389439ejj.5 for ; Mon, 29 Jun 2020 05:29:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beagleboard-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=nLPL88OfKWPjoDgMrUq7HX0bJ21PFQyFVAStT19x/30=; b=PSx0WywEstp6kzCgrb2T780nS7vnNFzJS+U+DK53C0PhGN6LZvYDc2EFvOEAdEmhEj RUqqwUYHPI+moJOm1Lu+qDnTY8k7w4i1ZmDLAcEGCt5/VfkthQIciG4scNhgkF7qBZsF vapojTxZMy6hzLbJ19FtwmOG4LeFbtDfvu2hGXI5r15prpIVDn5Q6Ex36/ORxBC8HOMu p8sNi03zdwEm4JKaNFhsJFwkK43/7a69OrK8KLs3I2Jj3FUWqdHQLOJ+ViEJxwPsy3tk RJ+tPHTitdFJ/MPwm7Oci+jsb+VVt/S6RIkCjMGIh8K6vN3UA3j4206+/RBfGp3XCb1e Wcrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=nLPL88OfKWPjoDgMrUq7HX0bJ21PFQyFVAStT19x/30=; b=ZxZHvKRGIbA88FVzB6ffql/xi8duO32tSZdgLxwn57olbunl8n3r8IRUYIM1uew6Qy SlV8PsyCerfVl+UGd3EzNa6DmkGYYioyWqTxcekuagxSUlNZsbr5C1jHAUHRZCP/Odnm FbIKjSo/O1X6F2KFtJhmnoa+vqRRwagpVUJejIyZJd/sGLlR+L3sybWUONrXhRF+2dDi Rzh4knklqQSh4iLdvs5jm62B83B1O6pahVi/8+qSO/9GZGH2ccpTWads3lafJ3M8mlIX 0/JPxh8YnyVhVi/h7FFayWkOLXle+tAM5s02IcJ3U9uQWL5z0+BdPPpKfGlQLSRhLa8a WLHw== X-Gm-Message-State: AOAM532+gPb50nAp8TfrIieVaP/sTO67z/Xbhox2RKdw7PSdXjSMpcN3 q9/qZDuH5LEeM5U2CjWMejQ+6hEYOLeaKtUP X-Google-Smtp-Source: ABdhPJysnXFWJwpJ6uF9IEbsegahi3Y1+BUPbpahxlycTv66BVhVh2m/VMBwbtCgMcpWhDDWY9vklw== X-Received: by 2002:a17:906:fa15:: with SMTP id lo21mr14416147ejb.156.1593433742019; Mon, 29 Jun 2020 05:29:02 -0700 (PDT) Received: from x1 (i59F66838.versanet.de. [89.246.104.56]) by smtp.gmail.com with ESMTPSA id a1sm18278094ejk.125.2020.06.29.05.29.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jun 2020 05:29:01 -0700 (PDT) Date: Mon, 29 Jun 2020 14:28:58 +0200 From: Drew Fustini To: Tony Lindgren , Rob Herring , linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Linus Walleij , Haojian Zhuang , devicetree@vger.kernel.org, bcousson@baylibre.com, Jason Kridner , Robert Nelson Subject: Re: [PATCH v3 0/3] pinctrl: single: support #pinctrl-cells = 2 Message-ID: <20200629122858.GA506802@x1> References: <20200622172951.524306-1-drew@beagleboard.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200622172951.524306-1-drew@beagleboard.org> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Jun 22, 2020 at 07:29:48PM +0200, Drew Fustini wrote: > Currently, pinctrl-single only allows #pinctrl-cells = 1. > > This series will allow pinctrl-single to also support #pinctrl-cells = 2 > > If "pinctrl-single,pins" has 3 arguments (offset, conf, mux) then > pcs_parse_one_pinctrl_entry() does an OR operation on to get the > value to store in the register. > > To take advantage of #pinctrl-cells = 2, the AM33XX_PADCONF macro in > omap.h is modified to keep pin conf and pin mux values separate. > > change log: > - v3: change order of patches to make sure the pinctrl-single.c patch > does not break anything without the dts patches > > - v2: remove outer parentheses from AM33XX_PADCONF macro as it causes a > compile error in dtc. I had added it per suggestion from checkpatch > about having parentheses around complex values. > > Drew Fustini (3): > pinctrl: single: parse #pinctrl-cells = 2 > ARM: dts: change AM33XX_PADCONF macro separate conf and mux > ARM: dts: am33xx-l4: change #pinctrl-cells from 1 to 2 > > arch/arm/boot/dts/am33xx-l4.dtsi | 2 +- > drivers/pinctrl/pinctrl-single.c | 11 +++++++++-- > include/dt-bindings/pinctrl/omap.h | 2 +- > 3 files changed, 11 insertions(+), 4 deletions(-) > > -- > 2.25.1 > Hi Tony - do you think this series is useful as-is? Or do you want to see some usage of the seperate conf and mux values first? thanks, drew _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel