Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp3161121pxb; Tue, 20 Apr 2021 01:50:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyhUfB5jP8yUDqJ4MV8fNRU3V7O9FCYt49Bl8P4SBVppdcYxpOnXSM/cL0rsiYlXbxlt/Ly X-Received: by 2002:a17:902:e843:b029:eb:8aff:360 with SMTP id t3-20020a170902e843b02900eb8aff0360mr24431024plg.1.1618908600216; Tue, 20 Apr 2021 01:50:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618908600; cv=none; d=google.com; s=arc-20160816; b=e1VATmxzz8TJWnrZlrZv+ebFLlTUvUoe5HVYYpo+O5x9lZ0EZ4JkGOKCutc7aNvZMj 8qOB0FRyV1rwL0hCza5b8GhpoI0bVaQQgmglC9FHpWgnPxXbltI+sYCHa7lpsOLYrsMg y6eCy37GBa29v/LIoR8+ME7vyulL9/UmF0wSuGT6MIaq0639ysFdu5q2uygOfSByCFab D11oMlFGAdJUa5swl5L6aWrNK6JqE+uGHddkK6v1+QOxxyMAM0T3ZvvVqvJ5esanK2IX UzjcicNkPpedAG/CDmG1a+Jnr/MmcDChJqDQYEpEnyLNQpu793Xi6WMDOweVTO+UEENP rFGQ== 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=tcUH9BcoI5Si0JZ1eptAqXBWAigQeJ+C3f8VhpJEvVE=; b=pFVABJZTEcA/TtOaMweLdOl06msoWz+WVBkB+VldKOAdCW/9fRcVarnl8jiXKw1Hub ZMMTgo1/IWzshTRRoWt8ZmXUoVjREDw5rOA3bD+FslmGTy7LrugTK2IUHnxda34WUf25 iAtZyFJvKoR3DAzPRFeXUgtuJvX/tqhpLRanO5mSHzb6fZAtesg2e3F38087TsHFRwJv ywiRZPzhniHBYcE9WGMS25TVUfaCRAvKO8nJis0TWGSyONtUCiYy6QSY5zkYv3oKGvUP 46GAKT86wocNqRM+Wi7EZLHgh943s76O5LCPmY0w8eyBTaIIL0e1SSjuc6FCS8x8/6Nt 0ebQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="I/4GMcbo"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t12si4869583pgr.150.2021.04.20.01.49.48; Tue, 20 Apr 2021 01:50:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="I/4GMcbo"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S230445AbhDTIse (ORCPT + 99 others); Tue, 20 Apr 2021 04:48:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:50194 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230018AbhDTIsd (ORCPT ); Tue, 20 Apr 2021 04:48:33 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7876D61027; Tue, 20 Apr 2021 08:48:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1618908482; bh=f260+khxi9MZ5DGVsHjWtuxRuqw8oFO4BOQzbS1x+rI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=I/4GMcboS3Qaf6IpCKpYDK+p/Ech95zihdFgi8Fn3Crv6RcIetjhtVTsmlS1Qw7xo 8cs9bzVSWaw9jSQ/mb3MKnLptutvM+mPu3c5ONLkr9yaNlrmrWsuV3USeGidGluAp8 H/bpFNEk5wC9zeySpuc9lF6e8Wv0DWtz7s1DmEJk= Date: Tue, 20 Apr 2021 10:47:58 +0200 From: Greg KH To: Nava kishore Manne Cc: robh+dt@kernel.org, michal.simek@xilinx.com, derek.kiernan@xilinx.com, dragan.cvetic@xilinx.com, arnd@arndb.de, rajan.vaja@xilinx.com, jolly.shah@xilinx.com, tejas.patel@xilinx.com, amit.sunil.dhamne@xilinx.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, chinnikishore369@gmail.com, git@xilinx.com Subject: Re: [PATCH 5/5] misc: zynqmp: Add afi config driver Message-ID: References: <20210420081153.17020-1-nava.manne@xilinx.com> <20210420081153.17020-6-nava.manne@xilinx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210420081153.17020-6-nava.manne@xilinx.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 20, 2021 at 01:41:53PM +0530, Nava kishore Manne wrote: > This patch adds zynqmp afi config driver.This is useful for > the configuration of the PS-PL interface on Zynq US+ MPSoC > platform. Again, please spell out what those terms mean, as I have no idea :( > > Signed-off-by: Nava kishore Manne > --- > drivers/misc/Kconfig | 11 ++++++ > drivers/misc/Makefile | 1 + > drivers/misc/zynqmp-afi.c | 83 +++++++++++++++++++++++++++++++++++++++ > 3 files changed, 95 insertions(+) > create mode 100644 drivers/misc/zynqmp-afi.c > > diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig > index 877b43b3377d..d1ea1eeb3ac1 100644 > --- a/drivers/misc/Kconfig > +++ b/drivers/misc/Kconfig > @@ -456,6 +456,17 @@ config ZYNQ_AFI > between PS and PL, the AXI port data path should be configured > with the proper Bus-width values > > +config ZYNQMP_AFI > + tristate "Xilinx ZYNQMP AFI support" > + help > + ZynqMP AFI driver support for writing to the AFI registers for > + configuring PS_PL Bus-width. Xilinx Zynq US+ MPSoC connect the > + PS to the programmable logic (PL) through the AXI port. This AXI > + port helps to establish the data path between the PS and PL. > + In-order to establish the proper communication path between > + PS and PL, the AXI port data path should be configured with > + the proper Bus-width values Please use tabs properly, you mix them above, checkpatch should have caught that. thanks, greg k-h