Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp757461pxk; Wed, 9 Sep 2020 19:18:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyc/nprKMx5fqHGxGFeA2wQsf8H9ykbNEQAMQooNgcRfO3f7TafsNVJpt67/hcLWnpXccVR X-Received: by 2002:a05:6402:1818:: with SMTP id g24mr6949646edy.332.1599704307811; Wed, 09 Sep 2020 19:18:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599704307; cv=none; d=google.com; s=arc-20160816; b=NxyyYdeEVUWTNbD86XWxEKM2Vp4QIpe6RcKBVr50yfM2jd0LDHhOmV5aG9E2/EV26I Km4jPXbEjFCES198lRSeZ91H7lvxMYAWACCb6ZlVMRPDnrazoPYklhRY14zNHPdDV7a7 3ZywX30a834DplVH2aSk/rxAhMb+zy1nGA4IPj2L8BhjeN4EJuJ4UQhw4cpcLYL9kYnw cIXn3McwTp9cwln2lMy0yonOzZ7WFBA8Y0PdwOxtRLMJEtFI8r9wyTgS9I0P4kMtdv/c 9Z86kbnjN941AD7vCJgAYimi3oOAgv8h1DHNT8wS57a2Ffc1vJi9eKMX0OhLkL41GksF 5++w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:cc:to:from:date:references :in-reply-to:message-id:mime-version:user-agent:dkim-signature :dkim-signature; bh=tFrYXSEwyjn07BpgFaxpcCF3u4JS6a2l5VCkYQ8zpJw=; b=Cu9pMa8/cpe9+HKF80ipClcLnoX4ELco3KZAQOF5Y20Jp51dvzv/lLgTVFGdJ4Xg5P ztlszoD6y6HW0pTSLHaMC4dd2AnZQBxzrHVg1SLncb4CPeBBa1qgtIOJrdhtHp2yzlsO To2ekkBYsNF7TluFSvNUymBw/mflpG7YVkjZDa0RPDLZydF9rnN08PAJqGLoiShHqwD4 voG5tbDFXUH6B+BTvOk3OIw5eURkt86JZqYzkcr5sB+50M8Xox/xP/B28hQY8QTUf1ru 2pUPxvbrcTF7HDRK7DYPRYhjc2lh9pYru296iXu95eOupGhuyrstcErjey9L0usCHXSW Em/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aj.id.au header.s=fm3 header.b=ZnPWMXRT; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b="AHsRL/hk"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j20si2594572edt.233.2020.09.09.19.18.05; Wed, 09 Sep 2020 19:18:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@aj.id.au header.s=fm3 header.b=ZnPWMXRT; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b="AHsRL/hk"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730769AbgIJCRU (ORCPT + 99 others); Wed, 9 Sep 2020 22:17:20 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:53047 "EHLO out5-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730150AbgIJCP6 (ORCPT ); Wed, 9 Sep 2020 22:15:58 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 888825C00DB; Wed, 9 Sep 2020 22:15:53 -0400 (EDT) Received: from imap2 ([10.202.2.52]) by compute3.internal (MEProxy); Wed, 09 Sep 2020 22:15:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type; s=fm3; bh=tFrYXSEwyjn07BpgFaxpcCF3u4JS6a2 l5VCkYQ8zpJw=; b=ZnPWMXRTFyOhRNKgUQYKLPW1mXyf27K5QVqSSJA7k9OWR5Z hcD1Iv0Qf2c+azh4Go3omN7bLlbGN7r3/vGFGUujpLjMcZfD8iT7044YIuqPBC9V QFQRYiBGHN67LzxQu9zBZTuqTAtWWIxS4ymsTFqVrd7hRXGWJ133YBz29aAm3+2Q V2nR7mzW0FpQFQ/J9/CGqrM4CsROd2hv3o5q677BxSeLeiH0ehJeYCMYw6kXhDln blr6uiz46lAA5SQp4nnTgF0vHvZXh8BUYKB5+z07X/bvcbqUDdbW9imXpvAtdFdd LCgURzSUL0BXYAEsa3T6Be3J5Aku51kV53/mJBw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=tFrYXS Ewyjn07BpgFaxpcCF3u4JS6a2l5VCkYQ8zpJw=; b=AHsRL/hke0PEO20lK2MgSa /e81mN5INU4tKln03n1wD6LiACl4UdQ8VPtojsfwm3imf5PNBn0bJ/LXKD7nDexx /K1k2xkRIE5mE9T8dvzfMKyNz+KiOiml8Ay8ibOUNJpJ6cQZxDXMG6k46XUIjLNz 194OwmICrnElaN1QJR+iPOFbD0Porlk7HWkVOXfCSzkd+4AWDRNi2G47Y2HLnZKg aOYSya2Hbt+uo7obAZjXyRKkhhsPrb6xvPrinWSLdiXqd9A8HQmf4y8nQOFWIMcE 8gHbySLF3JYvYQqdPm5jw2i2vb1kFmLs9f8B9Lyr553SnpwEKSCesKbpExPWfUaQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudehiedgheehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreerjeenucfhrhhomhepfdetnhgu rhgvficulfgvfhhfvghrhidfuceorghnughrvgifsegrjhdrihgurdgruheqnecuggftrf grthhtvghrnhepuddttdekueeggedvtddtueekiedutdfguedutdefieeuteefieelteet vddthfeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh eprghnughrvgifsegrjhdrihgurdgruh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id F00FFE00A6; Wed, 9 Sep 2020 22:15:51 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-259-g88fbbfa-fm-20200903.003-g88fbbfa3 Mime-Version: 1.0 Message-Id: In-Reply-To: References: <20200909114312.2863675-1-andrew@aj.id.au> <20200909114312.2863675-2-andrew@aj.id.au> Date: Thu, 10 Sep 2020 11:45:30 +0930 From: "Andrew Jeffery" To: "Joel Stanley" Cc: "open list:GPIO SUBSYSTEM" , "Linus Walleij" , "Johnny Huang" , linux-aspeed , "OpenBMC Maillist" , "Linux ARM" , "Linux Kernel Mailing List" Subject: =?UTF-8?Q?Re:_[PATCH_1/3]_pinctrl:_aspeed:_Format_pinconf_debug_consiste?= =?UTF-8?Q?nt_with_pinmux?= Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 10 Sep 2020, at 11:22, Joel Stanley wrote: > On Wed, 9 Sep 2020 at 11:43, Andrew Jeffery wrote: > > > > When displaying which pinconf register and field is being touched, format the > > field mask so that it's consistent with the way the pinmux portion > > formats the mask. > > > > Signed-off-by: Andrew Jeffery > > --- > > drivers/pinctrl/aspeed/pinctrl-aspeed.c | 6 +++--- > > 1 file changed, 3 insertions(+), 3 deletions(-) > > > > diff --git a/drivers/pinctrl/aspeed/pinctrl-aspeed.c b/drivers/pinctrl/aspeed/pinctrl-aspeed.c > > index 53f3f8aec695..d8972911d505 100644 > > --- a/drivers/pinctrl/aspeed/pinctrl-aspeed.c > > +++ b/drivers/pinctrl/aspeed/pinctrl-aspeed.c > > @@ -539,9 +539,9 @@ int aspeed_pin_config_set(struct pinctrl_dev *pctldev, unsigned int offset, > > if (rc < 0) > > return rc; > > > > - pr_debug("%s: Set SCU%02X[%lu]=%d for param %d(=%d) on pin %d\n", > > - __func__, pconf->reg, __ffs(pconf->mask), > > - pmap->val, param, arg, offset); > > + pr_debug("%s: Set SCU%02X[0x%08X]=%d for param %d(=%d) on pin %d\n", > > > The pr_debug in pinmux-aspeed.c prints val as 0x%X. Did you want to do > that here? Fair point, I'll do a v2. Andrew