Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5808860imu; Tue, 13 Nov 2018 12:05:47 -0800 (PST) X-Google-Smtp-Source: AJdET5f0Ab0OMvmYykZ7QfbH/qMlOc0bFMhWiOOmGykChchT0af4ndKHGPLcLRI6sL2g2x0xGGax X-Received: by 2002:a62:434d:: with SMTP id q74-v6mr2635178pfa.242.1542139547671; Tue, 13 Nov 2018 12:05:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542139547; cv=none; d=google.com; s=arc-20160816; b=WC8MqGvDIkd2AU+WqAVvQyTSxLuWnqNuhRObAVf52Oo9+K0fgWyMagDOHrFtzIECW6 T4BPMJlGC/vZAotcG/g0/Boxcnhci/zoK4A6tOnBqHIP9wCJJXUMK5k23lD172p4p1yT oR2tVaEB/WIEzo8YwOwzBxsizDzEUsCKOcyfPfiu60Z0hshzVaB7S0ETW18k32kzIVkY frUP9U9vhP9yfN+ledqlMEBh8FrkTT7QVccXN19IsQqZmtay1AqY0EFmyB25awxDl3Wz +/0/f9p2CxwJQ8hRwi3AXAVjdim0jI42aAJz3P/yQl/x2EqzuAzODsKV5cUi8877Bi/0 SSzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:in-reply-to:subject:cc:to :from:dkim-signature; bh=ZPRVKomUw/KSJdt677jswRl8eNvaUHHtC+TYEia/J7g=; b=lhmuXUxl3yyy1Tq54iebGMKnNkDO/hO0petjWcAiA0opGscFU4/P69zVoOvDvo33Pu AlRV0Mjn6xivngQLPcZbikfHZSjs29PfIp6NuNb/7nDL+EVqKEkfXxZcZKzsdBA3rbId /drVO/2Pf+JeWBVFz828qtfDk3u11LXuT79DF/dx10+38PpDH+g/6TmTmJu++fDxNEHQ /SUURD5kcf76Kc052mGFHFNCF5VbnJvv+RYOCfXuwbgfZaKKKAUllMCc7HqCNOAXyADb 9utPc+g9+eE3Fbr1XighN62epmnf0U9PUegCYKi5GdHwX9tFLgmkOgPyfg5hg7d5Ac2l OGkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=IVOceuqL; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n2si22026165pgr.67.2018.11.13.12.05.15; Tue, 13 Nov 2018 12:05:47 -0800 (PST) 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=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=IVOceuqL; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728208AbeKNGC7 (ORCPT + 99 others); Wed, 14 Nov 2018 01:02:59 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:51978 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725748AbeKNGC7 (ORCPT ); Wed, 14 Nov 2018 01:02:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=ZPRVKomUw/KSJdt677jswRl8eNvaUHHtC+TYEia/J7g=; b=IVOceuqLarPd uMSjHBOD0xQORejB1atOBqmh8n2n4izrMB/pgDqfgYI7JRoOG08q6RLEDHe6FYVc0FO+g2E8KZ0Op 3gOzfaez25dFFMU46GpoubrdbYZgszPu+IetqSavemR9Q3k6sxUissK8V66clg6t+mdXZam6/VH40 Ph5to=; Received: from [64.114.255.97] (helo=finisterre.ee.mobilebroadband) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gMetx-0002XU-TT; Tue, 13 Nov 2018 20:03:10 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id 3B117440079; Tue, 13 Nov 2018 20:02:55 +0000 (GMT) From: Mark Brown To: Tomer Maimon Cc: Mark Brown , broonie@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, yuenn@google.com, venture@google.com, brendanhiggins@google.com, avifishman70@gmail.com, joel@jms.id.au, linux-spi@vger.kernel.org, openbmc@lists.ozlabs.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-spi@vger.kernel.org Subject: Applied "dt-binding: spi: add NPCM PSPI controller documentation" to the spi tree In-Reply-To: <20181112164232.435629-2-tmaimon77@gmail.com> Message-Id: <20181113200255.3B117440079@finisterre.ee.mobilebroadband> Date: Tue, 13 Nov 2018 20:02:55 +0000 (GMT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch dt-binding: spi: add NPCM PSPI controller documentation has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark From 4ad26864df53b265976c4a3ae61b1e6cad92fe40 Mon Sep 17 00:00:00 2001 From: Tomer Maimon Date: Mon, 12 Nov 2018 18:42:31 +0200 Subject: [PATCH] dt-binding: spi: add NPCM PSPI controller documentation Added device tree binding documentation for Nuvoton BMC NPCM Peripheral SPI controller. Signed-off-by: Tomer Maimon Signed-off-by: Mark Brown --- .../bindings/spi/nuvoton,npcm-pspi.txt | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/nuvoton,npcm-pspi.txt diff --git a/Documentation/devicetree/bindings/spi/nuvoton,npcm-pspi.txt b/Documentation/devicetree/bindings/spi/nuvoton,npcm-pspi.txt new file mode 100644 index 000000000000..99606b22e5c2 --- /dev/null +++ b/Documentation/devicetree/bindings/spi/nuvoton,npcm-pspi.txt @@ -0,0 +1,35 @@ +Nuvoton NPCM Peripheral Serial Peripheral Interface(PSPI) controller driver + +Nuvoton NPCM7xx SOC support two PSPI channels. + +Required properties: + - compatible : "nuvoton,npcm750-pspi" for NPCM7XX BMC + - #address-cells : should be 1. see spi-bus.txt + - #size-cells : should be 0. see spi-bus.txt + - specifies physical base address and size of the register. + - interrupts : contain PSPI interrupt. + - clocks : phandle of PSPI reference clock. + - clock-names: Should be "clk_apb5". + - pinctrl-names : a pinctrl state named "default" must be defined. + - pinctrl-0 : phandle referencing pin configuration of the device. + - cs-gpios: Specifies the gpio pins to be used for chipselects. + See: Documentation/devicetree/bindings/spi/spi-bus.txt + +Optional properties: +- clock-frequency : Input clock frequency to the PSPI block in Hz. + Default is 25000000 Hz. + +Example: + +spi0: spi@f0200000 { + compatible = "nuvoton,npcm750-pspi"; + reg = <0xf0200000 0x1000>; + pinctrl-names = "default"; + pinctrl-0 = <&pspi1_pins>; + #address-cells = <1>; + #size-cells = <0>; + interrupts = ; + clocks = <&clk NPCM7XX_CLK_APB5>; + clock-names = "clk_apb5"; + cs-gpios = <&gpio6 11 GPIO_ACTIVE_LOW>; +}; -- 2.19.1