Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp7319975rwl; Thu, 23 Mar 2023 02:38:27 -0700 (PDT) X-Google-Smtp-Source: AKy350bwwQmYcPQCsHhTEdHN4Aye9lj61aQSAItC4bqRgsa91pJFk6U9FGaMelHGitU0MCqHS5hu X-Received: by 2002:a17:902:e84a:b0:1a2:7d:17f2 with SMTP id t10-20020a170902e84a00b001a2007d17f2mr2088791plg.69.1679564307717; Thu, 23 Mar 2023 02:38:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679564307; cv=none; d=google.com; s=arc-20160816; b=HIwKZawXJzH0y++Ii495VBDd99APoorZQ/pa6v4CkKFPawGOBGctuybw5Zb1HxpWGs 7NwbMmVikGeKQ8wzms9qnlGMkk5AMhNJAPq5mETi2S5wGGuA/Hq/0ioEz9GZZ1rjntSP +rK4C1RoL2LBxyvjdTsk59Cfy1lBbikW3XhpL8d3TMvKnpuw9G/bxINohzSQLH2aVy6/ 1m2HFLqngzBF0/vpBZtYWGZW79wZqUesTAZof0I7H6mG8ZVWx/6Th6Xsw32eITjr0yca IkLN7vLhH32tO6dVFtYe3v/Ri3IWg2Dy5JWtOyLz1oNJl5lddudPU4Q7ZjYflU9dyk9n s3wQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=AQrHgIA216CSJ9GGHNeQ3mjdPHrlSRzonAJS+RjVUhc=; b=AMW6OCiwrHaBDceqUyC+ryekIMdKZljBrvJx61uCUsCvGW7iRNqdnyksL/m/Uud2FD EuJvD/ocow2KojVz3qeowfWlKjXJUlv2AAWYLn1UFQimsADGimn82JMzdwXGIzZNQa2b ZA2y5F3yZqYtyZ1lkc0huCTEFttjiztI0HnHL+ykivRaJOvLLzmQ/n8mqU/TT5b7DmpQ JvlNeuZ1eyGZMdKeVvCfzuNxyX5iLhFycB8aFLq2KjBrIZ65twXzGhX10YzN3O4CU7y4 kYv3dya3cKqM9E+XEnMhE8t7pXIIENYxuZGJPghS3STIY0zDNAHiiL8jqDY/v0SgedCm M94w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DjeglNNo; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w4-20020a656944000000b0051309268f00si1788114pgq.449.2023.03.23.02.38.16; Thu, 23 Mar 2023 02:38:27 -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=@kernel.org header.s=k20201202 header.b=DjeglNNo; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231564AbjCWJdo (ORCPT + 99 others); Thu, 23 Mar 2023 05:33:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229639AbjCWJdN (ORCPT ); Thu, 23 Mar 2023 05:33:13 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12D213C10; Thu, 23 Mar 2023 02:30:32 -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 B8846B82034; Thu, 23 Mar 2023 09:30:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C19A8C433EF; Thu, 23 Mar 2023 09:30:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679563829; bh=iXUTHYeeegFCFaox+RMWiD1WuxysTWL+ixcGPGIX85s=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=DjeglNNoAulTCNb3qaWXJMChNxF8gKu3b+j0NIj2hcbnuHcTgUYIBDdIPCbLtKoQr u8tfRnp3AWdCaM+ubHXF63bsc8YzisXeUNFoXS/NC5ITrDTE03dAjitCo28pN1TI3/ n8N1lBF8aS1m5JWakrNp5UcFFOfwmmrCPLTjQWH59Expu+U6zIJZ/l3pXsIjjEWqkH Jo2SyfMkj3vqrf+sdIK1CccocHBEh0NPyos+ukOfmWFKEgXPnhsny386nGmIVW6ukj P0PSG6+tWgijE4C+3zoCudtNN4h3JVjJRUUeZDTbijbyB0JUyJ7zDgHDIGEK7cc7vx cDngE23EP677w== Message-ID: <0315a3e5-ec6c-9a46-7eca-5d112b624d94@kernel.org> Date: Thu, 23 Mar 2023 11:30:23 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH v5 3/5] soc: ti: pruss: Add pruss_cfg_read()/update() API Content-Language: en-US To: MD Danish Anwar , "Andrew F. Davis" , Suman Anna , Vignesh Raghavendra , Tero Kristo , Mathieu Poirier , Bjorn Andersson , Santosh Shilimkar , Nishanth Menon Cc: linux-remoteproc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, srk@ti.com, devicetree@vger.kernel.org, netdev@vger.kernel.org References: <20230323062451.2925996-1-danishanwar@ti.com> <20230323062451.2925996-4-danishanwar@ti.com> From: Roger Quadros In-Reply-To: <20230323062451.2925996-4-danishanwar@ti.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 23/03/2023 08:24, MD Danish Anwar wrote: > From: Suman Anna > > Add two new generic API pruss_cfg_read() and pruss_cfg_update() to > the PRUSS platform driver to read and program respectively a register > within the PRUSS CFG sub-module represented by a syscon driver. > > These APIs are internal to PRUSS driver. Various useful registers > and macros for certain register bit-fields and their values have also > been added. > > Signed-off-by: Suman Anna > Co-developed-by: Grzegorz Jaszczyk > Signed-off-by: Grzegorz Jaszczyk > Signed-off-by: Puranjay Mohan > Signed-off-by: MD Danish Anwar Reviewed-by: Roger Quadros