From patchwork Tue Nov 21 06:32:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andre Werner X-Patchwork-Id: 167509 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2b07:b0:403:3b70:6f57 with SMTP id io7csp434866vqb; Mon, 20 Nov 2023 22:42:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IFo5bGlN8pXr/k1JDFo5HghGoh5I7pJpC5gSqKYooQqkRsTBA2pIsNC21U0Ny1u2MIWJIOz X-Received: by 2002:a17:902:6941:b0:1cc:76c4:5144 with SMTP id k1-20020a170902694100b001cc76c45144mr7638067plt.12.1700548952788; Mon, 20 Nov 2023 22:42:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700548952; cv=none; d=google.com; s=arc-20160816; b=FMRzWyV6WkrGFn3CceJrH/nlWdkpHem908rMmA5gE6fiTZNeS1TM2AOLUaFcFm5hAF 28PU7Zl6RQjnlEG5IN9iYUkAaFlwcW5dVZBqyu2LU2nNqrLTA2wImMsC/Qjc20oogOY6 PDTKfEQgHnWk0nY/J/7D3dQI5Rcsr1yNRtutmMBQsEB7DCADawvE3NfU/Kw/UFJvPVBn 4cXotvmjVf7ia6Dt/XmU3Japw71IZbTIyltrfsIFdnGjnwbOh7u5MICti/+kCMhXe1u7 gUWyAfq0uZE+/57y0Fl4AzEAZ71U01CrL/6htfEY/BgFL4HmOxi7e7hStPTUX3m2J4CI U/Sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=mgX9GL3OUwNF+uuEyJdqsllHlz0qHvBmd0GzVj3Goa4=; fh=MtMT+OJ44nxjI/jqzepntuBco3MFkQR+AsgRj8/39DI=; b=whhmorlJ/2dMNDYdLlA+ck6FffQnhuzKHKSV19ARqmcspBHcCCo4mWR250KaiOiaw+ MYpQPWQsGWmQM7mzaWZVrUdhaPM8/KU6COuikVUwDJxCTC+icL05WwSillWayxOu1E2x SQIjx0k46DWYn3Ir8U+cXpKXTrdCTccnPo6FRmciBoPgm8cFDJUNR420J7KKMJLvSV14 +5rHIUmUiSEz18pdRIfCrhpJWE9I/9Lrv2K82YpFqynDOR815O6XqaMvVwq6RTAsu3DC kSgcMhhnEfOL+LTDudJSVn1JbApTkiIb5bxXViPAOlbU/iNSz8jYW0vapdu+FcdKAnDI IW2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@systec-electronic.com header.s=B34D3B04-5DC7-11EE-83E3-4D8CAB78E8CD header.b="RiJ9t7u/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id k12-20020a170902694c00b001cc55215729si9270495plt.363.2023.11.20.22.42.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 22:42:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@systec-electronic.com header.s=B34D3B04-5DC7-11EE-83E3-4D8CAB78E8CD header.b="RiJ9t7u/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id A0504802A555; Mon, 20 Nov 2023 22:41:36 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230125AbjKUGlh (ORCPT + 99 others); Tue, 21 Nov 2023 01:41:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230073AbjKUGlf (ORCPT ); Tue, 21 Nov 2023 01:41:35 -0500 X-Greylist: delayed 485 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 20 Nov 2023 22:41:30 PST Received: from mail.systec-electronic.com (mail.systec-electronic.com [77.220.239.22]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D27B1FA for ; Mon, 20 Nov 2023 22:41:30 -0800 (PST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.systec-electronic.com (Postfix) with ESMTP id A9D739400107; Tue, 21 Nov 2023 07:33:22 +0100 (CET) Received: from mail.systec-electronic.com ([127.0.0.1]) by localhost (mail.systec-electronic.com [127.0.0.1]) (amavis, port 10032) with ESMTP id yc6_DwKpK_Bn; Tue, 21 Nov 2023 07:33:22 +0100 (CET) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.systec-electronic.com (Postfix) with ESMTP id 83F6F940010B; Tue, 21 Nov 2023 07:33:22 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.systec-electronic.com 83F6F940010B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=systec-electronic.com; s=B34D3B04-5DC7-11EE-83E3-4D8CAB78E8CD; t=1700548402; bh=mgX9GL3OUwNF+uuEyJdqsllHlz0qHvBmd0GzVj3Goa4=; h=From:To:Date:Message-ID:MIME-Version; b=RiJ9t7u/b1gjr9u86R0YYFApUiwg/Mu6eUTNM1swnadj2YaMOKkpW2qaN30egX6mn Hy6rC7yrm1v5tZ2fsdUb3DvAYi9rpCdkyVWdCKCfBRQonVfhnRNi3tHFd6H6x6OW3a 15eKLFIwO83JGzkS6dkAzF39cVQAD6jmQZZ/VsERBRJFLmd2+FErNGe7vog1uw+5Qf edUwwhqF/rz1UtPFWhOi/WkJ7rKuG6/Y9nlPTcY8ZF8QCwse/0gA/dKaHrbfnCRYhP ccPwnv2HzuAHuyLnOoNjUHNo1Trn0GrVbKO286OY5EseJ8kId+E118XmsfEO0DAXQK G7dI9KdvFhpSQ== X-Virus-Scanned: amavis at systec-electronic.com Received: from mail.systec-electronic.com ([127.0.0.1]) by localhost (mail.systec-electronic.com [127.0.0.1]) (amavis, port 10026) with ESMTP id RsHodCmhZR8i; Tue, 21 Nov 2023 07:33:22 +0100 (CET) Received: from ws-565760.systec.local (unknown [212.185.67.148]) by mail.systec-electronic.com (Postfix) with ESMTPSA id 4D9079400107; Tue, 21 Nov 2023 07:33:22 +0100 (CET) From: Andre Werner To: lee@kernel.org Cc: linux-kernel@vger.kernel.org, Andre Werner Subject: [PATCH] mfd: tps65086: Enable register view in debugfs Date: Tue, 21 Nov 2023 07:32:59 +0100 Message-ID: <20231121063259.13991-1-andre.werner@systec-electronic.com> X-Mailer: git-send-email 2.42.1 MIME-Version: 1.0 X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 20 Nov 2023 22:41:36 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783154818743049468 X-GMAIL-MSGID: 1783154818743049468 Previously there was no output for the regmap's registers in debugfs due to missing "max_register" property in regmap configuration. Signed-off-by: Andre Werner --- drivers/mfd/tps65086.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/tps65086.c b/drivers/mfd/tps65086.c index 152179ee11ca..fdce81b33f60 100644 --- a/drivers/mfd/tps65086.c +++ b/drivers/mfd/tps65086.c @@ -36,6 +36,7 @@ static const struct regmap_config tps65086_regmap_config = { .val_bits = 8, .cache_type = REGCACHE_MAPLE, .volatile_table = &tps65086_volatile_table, + .max_register = TPS65086_OC_STATUS, }; static const struct regmap_irq tps65086_irqs[] = {