Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp7321408rwl; Thu, 23 Mar 2023 02:40:27 -0700 (PDT) X-Google-Smtp-Source: AK7set8TKyfDMcw2pfagGt3kQjCmbkupBcOkCap8h5iQ3JjQmKXVlvFpGyVYX41njfp+lVg18LxQ X-Received: by 2002:aa7:d913:0:b0:4fc:3777:f633 with SMTP id a19-20020aa7d913000000b004fc3777f633mr9832774edr.0.1679564427432; Thu, 23 Mar 2023 02:40:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679564427; cv=none; d=google.com; s=arc-20160816; b=EuKtxjFv+3nCaMEfgkuvv7L2Drjqq8wmN1yRpa5xddeaKJtGD/MHizweSA2PlRGmmO sTIew1BE9j90mggxjUhAdxIJubtsGjW62WstaIuuo2Lljt5sk8AKadJ96d8z48o+4OyK TMRsU+nMNccrZoJwQcxRhiucoHPnHMOMcL91zztEq8gA0blvLTZabeacng8CFEznJsDx GhotrwAPgOldDqT9qHt90cUVnQI8D6LmDmv6SBCVCQeK/i0AXadp4v7MZOgpNWICPl/c fbvYNEgs+loun2HbCe6eZ+w69R2T+l+Xk8SGlry+kitfI+briDj2LwfgqQbrXyzD6KCr XpMQ== 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=qB4Mfid3n7cRnRwY5V94VCWYHBClpA9Gmfb9lslqh9k=; b=GUpho2aUsKKuGw+/PjEDK7zopstcTVaB4ZHuXXltoqIRGDIgykKfTttyShk+aYi2Wo WiVoNs8Vv+qnUOs87mW5V/3tEdiT+rw8+2PVaPdbpz5wjIVk8JfLpRzQW8V1iX00k48+ bhCCzOUieIsFCF8PSUlu3hQp7ZeqwgLZl1MBrzlc5sTLeOaINmEyDjnEMtxfF5TDNMZ6 Hp7rV7yWzJPfNiU27FYBWByNExBAdVIsBEHYdBcz6ZOvyQ+AfUJ9x6eo40yg6knEx9nA SitP2Du/Qvsn3oTAehaiNWbK3PEDwvfncbuZZoTdAOwdbsTHeRqLcMyiV7lbQLVp1/HZ K2mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oYcRlOX5; 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 f20-20020a056402005400b00501e4bca007si5840288edu.39.2023.03.23.02.40.03; Thu, 23 Mar 2023 02:40: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=oYcRlOX5; 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 S230399AbjCWJez (ORCPT + 99 others); Thu, 23 Mar 2023 05:34:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231173AbjCWJeY (ORCPT ); Thu, 23 Mar 2023 05:34: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 B83358A7C; Thu, 23 Mar 2023 02:32:28 -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 75BE6B82036; Thu, 23 Mar 2023 09:32:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 93981C433EF; Thu, 23 Mar 2023 09:32:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679563946; bh=Hhy7WuzLK0H5CFmm3nRt36ALQDxIq2M+fRN4Kq6Pg3s=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=oYcRlOX5UAFY0OAUdarLh7XLm2gdMbV9BAJ8mt8GSqQBZSrS/TFAtIxzu03lWdwRx Id2EZ7RX0W+Qr8XGb4EVywe5hO/UQOhY0KFWBJp0Rynb9UfyfKqbV5UHs9TjCuDZTF /y0Z5xa1OWQPwyYh/+TuvTPup37QXztJ7H5oHrZWgB265Egbtam+sgit8IxWKKrQKg ZRui47ErGDzYZYKLXy0YdzE2UwEQ+X/JGGV9z9yZayR2OfsjwGWv/nJTncDhsQ2neM pyaFcKOFKg38qSl4o5qbeNzgVBSHOy4U4F8rhac43CjuzayjqHAIGJZVikW2iUC69Q sPK9DQiK/x1hA== Message-ID: Date: Thu, 23 Mar 2023 11:32:20 +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 4/5] soc: ti: pruss: Add helper functions to set GPI mode, MII_RT_event and XFR 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-5-danishanwar@ti.com> From: Roger Quadros In-Reply-To: <20230323062451.2925996-5-danishanwar@ti.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, 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 > > The PRUSS CFG module is represented as a syscon node and is currently > managed by the PRUSS platform driver. Add easy accessor functions to set > GPI mode, MII_RT event enable/disable and XFR (XIN XOUT) enable/disable > to enable the PRUSS Ethernet usecase. These functions reuse the generic > pruss_cfg_update() API function. > > 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