Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp7258827imm; Thu, 28 Jun 2018 00:12:06 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKM4XMx6KSWjDLkmwFVWowhcmBq456SHn5bFAMNUX9+TqBk/fTwMp6or8pt/PE2Axndh4vl X-Received: by 2002:a17:902:c85:: with SMTP id 5-v6mr9361207plt.126.1530169926604; Thu, 28 Jun 2018 00:12:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530169926; cv=none; d=google.com; s=arc-20160816; b=cO3DZ55B3g49EJqO8hljHcYmaHqVwcjVfQ2CBBvyt3QTYGkXtyNQTf6m4GGYTfPyE8 bx89b4+XjLh2EikcFB1VvkGp/lghUo7NjJ7+oYb/bC9A4yGHg0UgmQgRQCI7utXyKWee SHKYQKgJGerJ50qx7MPp8yMSzf5bprc5SnioUTmTVrtG7u+hvkR9L2uhkduigRAUCpj1 39R/+GzLcrsY4aE+7gv+NRcZOyJvrdY4/aotUvpFGP13rfTNOBEUOMOmo2XY/Gt2Xe7P 0ueBJLSslrNmtG9E3i669Q32N1VNutSJBXWncB6BN/LinOcmuNmol95emau9HCpAw/pg R+sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=+HeiZel/M2UNAQDnj8GEo9FgxhyzScmMv6TKgmamsIM=; b=U/Hemb5GqZxFdjSsNVmcCCpaS3/aYgoCsHItOKeVxN+SkAcUkCQ0x+zFQeBiYxyhHh TeT/M2ITTrFQvihjelBQHNCDydURw/M3JQGEvf3B3UOiejv+1xPL9KzZe9jKdeUjOMZc YjosyI6v4vYnAncHGR0yU/FM4ZHbgZd+sw/aYwC4XxlNPjnUcuN9MMppwFClSHfyDhb4 RgjCuErYyfMdbdV5709tQh0p2AUNtovxz6AyUw+GOGecrrp0iAmDmT8/e5cGhelBYHdE NPadw9FT8NmnjeW5zO638P1i9b/Ge8AAMTlc1SEDO9A0pdJy3nVstlBvNToLv57sU03L 8vTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JPhyulct; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f28-v6si6116931pfd.123.2018.06.28.00.11.52; Thu, 28 Jun 2018 00:12:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JPhyulct; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752805AbeF1Gtc (ORCPT + 99 others); Thu, 28 Jun 2018 02:49:32 -0400 Received: from mail-it0-f67.google.com ([209.85.214.67]:35835 "EHLO mail-it0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751344AbeF1Gtb (ORCPT ); Thu, 28 Jun 2018 02:49:31 -0400 Received: by mail-it0-f67.google.com with SMTP id l16-v6so10187800ita.0 for ; Wed, 27 Jun 2018 23:49:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+HeiZel/M2UNAQDnj8GEo9FgxhyzScmMv6TKgmamsIM=; b=JPhyulctwbsRd7NUqFsCzdEuMUaDW6rw2hnYU9WWWTgAYCe9U7S358oXq19MGvCAKz l1SiCMynWEpXbeBw+uTR74tYKc/tcydFM+t+xcs2soJXEdice5bSIB3LfEEH/qTbTixU w1v1mxp+5Xg2wzgPrJ/1wDw2KndAJFY4ILnts= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+HeiZel/M2UNAQDnj8GEo9FgxhyzScmMv6TKgmamsIM=; b=pNLHCyRqyPqX2MTRahiiWaAvLnGgA/DzdYGYgXVZd49D2Jku+RlSIrCupiOs5wfujb FY0UDmrSwNhklKYIl7w7nQE3nJMr2xcgvlHC+bOjWRTV0D/AV+eFFxZK38zZJEBoEhtI 5kW2jJ3fNb/+pxlfI93CzttSijrSNh5DJWNXP/taljUzj+TlpywW1xpVBGrSSWca0TSN geieD3cIbjUAN1Z1K3wafW8vFxH2Wm8vhwLUVbEpHPO3Hg4BNF4wwDMPZBpSsCe2uteF tPElNPVP0r+Zxna2vA16ioD2Z60alZhuKuOQs+sBM7ZXEut2NvRZzP582U5enYJcmojg nA8g== X-Gm-Message-State: APt69E1E17/J9GpADCv7csdXhJvUz1rKk5VA/GV6g3Uqv4RrKpKB1Hb0 cjY+pjT54fNPdciou5ukCWGDqkaJ1HJ+ukSXZD9Q5w== X-Received: by 2002:a24:5746:: with SMTP id u67-v6mr7375461ita.38.1530168570589; Wed, 27 Jun 2018 23:49:30 -0700 (PDT) MIME-Version: 1.0 References: <1529563351-2241-1-git-send-email-naga.sureshkumar.relli@xilinx.com> <1529563351-2241-3-git-send-email-naga.sureshkumar.relli@xilinx.com> In-Reply-To: <1529563351-2241-3-git-send-email-naga.sureshkumar.relli@xilinx.com> From: Linus Walleij Date: Thu, 28 Jun 2018 08:49:18 +0200 Message-ID: Subject: Re: [[LINUX PATCH v10] 2/4] memory: pl353: Add driver for arm pl353 static memory controller To: naga.sureshkumar.relli@xilinx.com Cc: Boris Brezillon , Richard Weinberger , David Woodhouse , Brian Norris , Mark Vasut , Florian Fainelli , Markus Mayer , Roger Quadros , Ladislav Michl , ada@thorsis.com, honghui.zhang@mediatek.com, =?UTF-8?Q?Miqu=C3=A8l_Raynal?= , linux-mtd@lists.infradead.org, "linux-kernel@vger.kernel.org" , nagasureshkumarrelli@gmail.com, michals@xilinx.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 21, 2018 at 8:43 AM Naga Sureshkumar Relli wrote: > Add driver for arm pl353 static memory controller. This controller is used in > Xilinx Zynq SoC for interfacing the NAND and NOR/SRAM memory devices. > > Signed-off-by: Naga Sureshkumar Relli (...) > +config PL353_SMC > + tristate "ARM PL35X Static Memory Controller(SMC) driver" > + default y > + depends on ARM > + depends on ARCH_ZYNQ depends on ARM_AMBA > +#include This is a PrimeCell with the ARM primecell ID registers specified, so it should not use platform device. Use It further needs to match on these magic values (found in 0xfe0 etc) and use the name "apb_pclk" for the peripheral (silicon) clock. See examples such as: drivers/mmc/host/mmci.c drivers/tty/serial/amba-pl011.c drivers/video/fbdev/amba-clcd.c drivers/hwtracing/coresight/* etc for examples. Also see and reference the special PrimeCell DT bindings: Documentation/devicetree/bindings/arm/primecell.txt Yours, Linus Walleij