Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp1720289iof; Tue, 7 Jun 2022 10:16:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwt7bJRawr0Ci44KVFhJCuUQQzZy6VSVVOE/JY6L4OmhGzoyq0xyCmr1aZPW4TkRvdLmt4m X-Received: by 2002:a17:902:ea57:b0:15a:6173:87d6 with SMTP id r23-20020a170902ea5700b0015a617387d6mr29158541plg.104.1654622162216; Tue, 07 Jun 2022 10:16:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654622162; cv=none; d=google.com; s=arc-20160816; b=HdsBPrEF44jy48fTIaBCiugBWRitoW2T+uePCCKIxsUU69AKnzkRZqqxoGV5QQDJKs VRHYM7p2Y95PIYXbvQ3OySMWbq6OzxbqBglWSE3OutOI5HESRau1QAMpCxW/UIe0rxGX pIngh+mDsy5Z3qlKwN6EQ8a/KgxNR03eavBEG+OYwhqgBnrUS0t2Cv+ORhwBwEfr4MVb J4uK8HedlYoXzyL4N3rO8qpC3X3NqjB8HapCAc/4n5K/jvxpvFYocoAgpp6z8/jc6ofm sLrz71MOBcTmrmEEpp9JvQUGtwp5Yc0Cy1KlZfXrm8Mi0BzOCa6GEXBV4iM7ucKwLahX r47A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=W4tD5CT5PeBuwTKNp/2yl5phvSZghgiApJu6YkG7bBE=; b=aSoPmQi6FYBgxZQMwslfNhvZEsEYilFIvvftvy57BtiAr9pumCbWhV6Rt5zbYlFKKs 3ZkI3lOt3sz5R/ukk4Vh0a9Hs9YtjcbkTdMBPsiy2vG3Sze39wVkpEErbbxw1xXhGCtc 9jsXyZ3Zwnt+Q5ylRorEmY3xA0ek0LbQJW0zFWmx2b5YeJRihNToIm4c2RkeQ0iYw6h5 se7sn2Y+Iqe3pfQKeQwOFT6MEXsXaqdHWr+uAegmtvA3QQDKsVeRyt7cUgmVhMNKrYz5 24JNDDNT6w3OCjz4N7RSxs2Ar9JOUgaRDpattvRvqCTxEjjZxrSXZHuEJH/8fiZyhS4/ +tfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=anJkvbIY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x2-20020a636302000000b0039dad7a82fdsi24179360pgb.632.2022.06.07.10.15.45; Tue, 07 Jun 2022 10:16:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=anJkvbIY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236604AbiFGEu0 (ORCPT + 99 others); Tue, 7 Jun 2022 00:50:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229784AbiFGEuY (ORCPT ); Tue, 7 Jun 2022 00:50:24 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F319DD2457 for ; Mon, 6 Jun 2022 21:50:22 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 9ED87B81CA0 for ; Tue, 7 Jun 2022 04:50:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B65C0C385A5; Tue, 7 Jun 2022 04:50:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654577420; bh=lvKuaWgcwr9ep3pA6nWz4hg/HfWPjExkyzheB0QJgcQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=anJkvbIYc81/T2uiEndRwlM1EhCoiITy6Wy8PdLqQHOKpBBOAGr55Kd4Jll5ds7Uo DQddwOWprwSWD2z1wNmgGHx6dWDPMLYf3ATzgAANxef2htSSmq+0Y5PX+emk1rChj0 vMgt8zrxrqM9NSC2IFL2P9qPO4TMQ98ZaKIZ0FOQ= Date: Tue, 7 Jun 2022 06:50:17 +0200 From: Greg KH To: Tianfei Zhang Cc: broonie@kernel.org, rafael@kernel.org, linux-kernel@vger.kernel.org, hao.wu@intel.com, trix@redhat.com, yilun.xu@intel.com, russell.h.weight@intel.com, Matthew Gerlach Subject: Re: [PATCH v1] regmap: add generic indirect regmap support Message-ID: References: <20220607013755.594554-1-tianfei.zhang@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220607013755.594554-1-tianfei.zhang@intel.com> X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 On Mon, Jun 06, 2022 at 09:37:55PM -0400, Tianfei Zhang wrote: > From: Matthew Gerlach > > This patch adds support for regmap APIs that are intended to be used by > the drivers of some devices which support generic indirect register access, > for example PMCI (Platform Management Control Interface) device, HSSI > (High Speed Serial Interface) device in FPGA. > > Signed-off-by: Matthew Gerlach > Signed-off-by: Tianfei Zhang > --- > drivers/base/regmap/Kconfig | 3 + > drivers/base/regmap/Makefile | 1 + > .../base/regmap/regmap-indirect-register.c | 133 ++++++++++++++++++ > include/linux/regmap.h | 12 ++ > 4 files changed, 149 insertions(+) > create mode 100644 drivers/base/regmap/regmap-indirect-register.c Don't we need users of these before we can take them? thanks, greg k-h