Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1014802lqm; Thu, 2 May 2024 02:39:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWw8gN9Dk1JDiLFLXv0J2QzRUCUAFLk+Lsm8p/Nj+7qxWc3o9xtLV0E6OMW3AeG0B3tVwQP3Zxs+/7Xc6mpuaYLYGyAHWaOD0TYiNB9oQ== X-Google-Smtp-Source: AGHT+IH+rDLVNA2wyvZz077uKhY+XuRUQcN5TTW9e941l+r5RrO6HKxxPPw/GKzC4Bx8MjIz9eQD X-Received: by 2002:ac2:43c8:0:b0:51d:4472:c3f8 with SMTP id u8-20020ac243c8000000b0051d4472c3f8mr2666160lfl.35.1714642762202; Thu, 02 May 2024 02:39:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714642762; cv=pass; d=google.com; s=arc-20160816; b=Xqt+wFj909KWjbEdBT7typs7pz2Ab4RLDYM5YmE5k3xKV2qkA13Gpxt9Q64BcPjJwL y7vedKJDfQjNUhqeozeZVvMkjTK/nO428QTqbLzVlLqfqdSCBZfmhuYIffyPmEB4bkql /n6IO+Ao0PSzM92VjHLMEEPEwXgdgdwQFkn0KZTTlBJQPX9kZCytcfYoqlgIU2ft4LWu 7gAMHpIQDUOrAq9xEtXZS6wycEGt8HWf6sNKESWuS2Wqx+ixx9VrS2sxOUM4eV2lMzUF sXXlFYw985Q2COieruKJmhq1AW63RwJhx/JWV4t5wa0ZaqdXMcMtG4XcgnYnV2fzD378 3l9Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=6SaZjivgrVTcF9IRwcav7+73xcgwP8s7bdw0kTBocLg=; fh=7I2i5AMC63GIT+fjg6JNoLWIiFsatcfoBoXwIT9cGMA=; b=bgFXtWI279QCUwfYICnMlUrYqoevn2ueMQUMw55GDuSu7TEVHZ/eJf0D5cosbHraxw aU+l9Wa+spPEV2QutngqyLGgjx5xipkbl9T6KNpu9ZWWVaDx0fnmJCbUZSVp1xeupZ4z CLzNiHYqqG7yv72lpbQ+6LVbaoJGSxjcZMa2U9WdM/g87K3YleH17r2Xhcn5Sy4o/evQ 33+YlrVUF1g/AR391HKZAJSmQlZjRA5KH1HFASwfzgSAB6Y/Gr4EYElNpRKxR0wvTSbA gJjHoBxqg1x+CW+TU0K1t3CEQBjm1ogpyG6Aoij+1CkTbbXl7YiSeV+f5csvxxbMa/1o 9gTQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iwkGfPJm; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-166239-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166239-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id w3-20020aa7d283000000b005726fb3e1absi336220edq.23.2024.05.02.02.39.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 02:39:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-166239-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iwkGfPJm; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-166239-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166239-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id DEA251F21440 for ; Thu, 2 May 2024 09:39:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7439555C1A; Thu, 2 May 2024 09:39:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="iwkGfPJm" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 95B7A537E7; Thu, 2 May 2024 09:39:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714642753; cv=none; b=D7Tv92b9/L877FQs4ZWw+gM9eSRR/gR1LuQ1Cc3SWEWYTZXf1yfvYdtUjSdI8sQIy+SWyKTZLxQRclumXgndfHdpeyemnAldnP5F1rdST6oWv9wCcYInyGv5YNojce46m4QcmZJAGc7byMzXS8sc7QVER/oGndMEU2CLyRCHbUE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714642753; c=relaxed/simple; bh=8mafKWY5q67jj4nBY0miueGjmv2rHekZuRXfx8X1/P0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=DL5+j+ngaLj/XAakKD5ROWbyT6ToU98N4oT2jGQwEcUxpQMen0mcKzA3ZF6bAhcKN+ip8bRRR+RKpzT9I83h0n8FGb3BnM+auHh6et3fgN4jcZ82ED9eOkPnu/cyMFAdBJMjYWyoJUA6dmZbrphzLZby0SXbR0Og7OmRpk1boWc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=iwkGfPJm; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3DA5AC113CC; Thu, 2 May 2024 09:39:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714642753; bh=8mafKWY5q67jj4nBY0miueGjmv2rHekZuRXfx8X1/P0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=iwkGfPJm6DBH24B89Ef0+HMIgplOwmlSNufy1z/Pi9SCUlcYcUNftef7joxhQs3E3 +I8O6noldS0x5tzlKXmEd9XKN84SO3ZQLkfrzcUjKH+9fCt/Rvo7o7uhxWD1yfnfJe QwWrD+0aHwe9ah/BLzPpkLwWfAfLsFZ2xnHAlvznFYNXGLuQaMoUzvw+E8qLVhsL12 skGWNv14m+Wc+L9MDjCylzu/28zbg2faP++K66RAAO9N0VvQ325qavRJArL7V+gTW9 WoNtiys8H5Ysc8xamtgMNcRIqK+hk6I6PaO/JlSOelMzWLvNn3RWLbgTkFWV+FUDju 3rUw3AEt0aj/w== Date: Thu, 2 May 2024 10:39:07 +0100 From: Lee Jones To: Andre Przywara Cc: Chen-Yu Tsai , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev, Jernej Skrabec , Samuel Holland , Ryan Walklin , Chris Morgan Subject: Re: [PATCH v2 1/5] mfd: axp20x: AXP717: Fix missing IRQ status registers range Message-ID: <20240502093907.GM5338@google.com> References: <20240418000736.24338-1-andre.przywara@arm.com> <20240418000736.24338-2-andre.przywara@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240418000736.24338-2-andre.przywara@arm.com> On Thu, 18 Apr 2024, Andre Przywara wrote: > While we list the "IRQ status *and acknowledge*" registers as volatile, > they are missing from the writable range array, so acknowledging any > interrupts was met with an -EIO error. > > Add the five registers that hold those bits to the writable array. > > Fixes: b5bfc8ab2484 ("mfd: axp20x: Add support for AXP717 PMIC") > Reported-by: Chris Morgan > Signed-off-by: Andre Przywara > --- > drivers/mfd/axp20x.c | 1 + > 1 file changed, 1 insertion(+) Acked-by: Lee Jones > diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c > index 48ce6ea693cea..d8ad4e120d379 100644 > --- a/drivers/mfd/axp20x.c > +++ b/drivers/mfd/axp20x.c > @@ -210,6 +210,7 @@ static const struct regmap_access_table axp313a_volatile_table = { > > static const struct regmap_range axp717_writeable_ranges[] = { > regmap_reg_range(AXP717_IRQ0_EN, AXP717_IRQ4_EN), > + regmap_reg_range(AXP717_IRQ0_STATE, AXP717_IRQ4_STATE), > regmap_reg_range(AXP717_DCDC_OUTPUT_CONTROL, AXP717_CPUSLDO_CONTROL), > }; > > -- > 2.35.8 > -- Lee Jones [李琼斯]