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=-0.8 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 D525DC433DF for ; Sun, 5 Jul 2020 09:02:35 +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 9FFBB2073E for ; Sun, 5 Jul 2020 09:02:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="t9ose5Hk"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="fF9zYQi0" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9FFBB2073E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.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:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=3SnEIZ+/4Ovepuv6fHsGH3M87TzXN3VNJmyXkLncGfM=; b=t9ose5HkoOPkpm7EYYjoQTixJ xmHUm6AQRrRotRZPZg3dfoo/Jtq/fJBtF1/BTzeuOOK9DLNJ6AGQGnOqM5yYSO6UEgYymDXx+Wkcl aKJ/Fv432sFFtZEflh6itALygG6JsBaK00018ykLFeCA0Ica+Tdt7KdZ44NItvKgyhV4COm+s+eA1 akehd78BZEIZkf7VsI6CGlKHXrmfzxbACk4OQSL7rMol1QfHDKW+mtXZMMvwQqlPnlkQDdEmTJddf W16CdIMe+hjUHNYYtdAeuJQ4h7EE3Q4xn2B2Pz3MDi0K3tUyW+SLvkEVSCUjNxedg24rJAPiszZrk VBrEEKkoQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1js0WS-0001s0-2l; Sun, 05 Jul 2020 09:01:16 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1js0WP-0001rS-Tx for linux-arm-kernel@lists.infradead.org; Sun, 05 Jul 2020 09:01:14 +0000 Received: by mail-wm1-x342.google.com with SMTP id q15so36025167wmj.2 for ; Sun, 05 Jul 2020 02:01:13 -0700 (PDT) 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=przTgcny48jd36+oUDZM5VqCUdMOADezAA8z959EYFc=; b=fF9zYQi0OpwzjVvrADGQzgm2O41ekp6ploUjNNPvEqx5jng5xwHlHbfYptRi64sPpg y9iYB7gdR12OKlD4m+vpzQ5HWVD/r2X/aXXkxecU8KXbkdyhQXG566LN+gYJJNhSfyS/ 0kCQ3Zc84FPQ3TKpJDQDW4mVezKPtKnTDxmNkz5FM55PWSYtAqq+DqYEmgLh2V4jfrz2 JdqbhWl/ZYq2OW8Rw/xe0vw0KzeTxr7oWAN7tLvKB0oXTNY2y+LPpugCEZoIKz7Kqeug BLRT93sRc2OPX/gEwNf1uRSW/pD/rDyhI4EEsmUjNRqk1kJ/8FPgzO0k1kNaBgIWS6kd 2VCg== 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=przTgcny48jd36+oUDZM5VqCUdMOADezAA8z959EYFc=; b=fVeluziPHW1rfNNaY8U0wA+hQEqHv+14OdE5JhFoGiQ5kxQ4zT4PcdWoofvmbRNc45 OIhVfJxGWeWOikikTwUpLIP46+hd/7eNpY6u2i2Xotxt0iKJzdE9EqC+mdiP7VsTx3hS UKAdE3QAmQ3YXVIcr00Q1+KmcsaIVvhq9M94p6qzpU0tIqcGa8NoYHkFOgk22rP7AImy AclXd+qU5JuCoIT7y1Xcn2LvWvS07BlCsM/oUOtPMGdG4Aribjh0UBoV9pp3KDYc2MvO 77IgrXGjKOzG6BbR1gUtlpQHyqNy1/mq0djZEQbh5dBiAQ2Ruz27NtEif0qA3gFJdCD8 ZoAA== X-Gm-Message-State: AOAM5314IUteZ0Rasg+tLHxoN1JIs84UOR+Aqit9yZ7yfD/VoUm1lQVe NjfM10oS/wRyiercIDFA74Y4JrI0AFUyprCZwKl9OA== X-Google-Smtp-Source: ABdhPJynH7yvwhYRqBjAT6B2crW294fuviv7qzPIHYptEd/zWVZKZnYRZ8CfSV3sTGh2SAjw5YIHx6qxn3RjWJpV3bo= X-Received: by 2002:a7b:cf18:: with SMTP id l24mr17960976wmg.116.1593939672936; Sun, 05 Jul 2020 02:01:12 -0700 (PDT) MIME-Version: 1.0 References: <20200701013320.130441-1-drew@beagleboard.org> In-Reply-To: <20200701013320.130441-1-drew@beagleboard.org> From: Haojian Zhuang Date: Sun, 5 Jul 2020 17:01:02 +0800 Message-ID: Subject: Re: [PATCH v4 0/2] pinctrl: single: support #pinctrl-cells = 2 To: Drew Fustini X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200705_050114_111781_D9F17B76 X-CRM114-Status: GOOD ( 16.38 ) 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: , Cc: devicetree@vger.kernel.org, Jason Kridner , Tony Lindgren , Linus Walleij , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Rob Herring , bcousson@baylibre.com, linux-omap@vger.kernel.org, Robert Nelson , linux-arm-kernel@lists.infradead.org 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 Wed, 1 Jul 2020 at 09:33, 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 conf and mux 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: > - v4: squash patches 2 and 3 together so that git biesct will not result > in a boot failure > > - 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 (2): > pinctrl: single: parse #pinctrl-cells = 2 > 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 > Acked-by: Haojian Zhuang _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel