From patchwork Fri May 11 11:06:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 135531 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp723944lji; Fri, 11 May 2018 04:14:00 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq8Ohk2p0o2DETDog9HOOzdn4k3G1HLsgSmseiDAbwPcu32o5osWil/9jt6m6E5mVgfFy51 X-Received: by 2002:a17:902:5327:: with SMTP id b36-v6mr5227354pli.316.1526037240048; Fri, 11 May 2018 04:14:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526037240; cv=none; d=google.com; s=arc-20160816; b=WYIAX/BG8JMNA0L5zEgHMexymEJ7PGSO5VphhX6Hw0WXOJBHGk8YCobcn1gh2pmIvM tzXLSsFT8lv4DintpNkNWyRRCQv0tKlRFRIwUCsEgOHZBsNcVCvgy5nUM1jXpwHX6w0B wqnVDRl/b6HKUXRsYnOwP27ozwFO2Mo++5YuP6UQsuefeuDuE8cygz55h//QEG/uNPdp Pu/DpHWX2pLzm20Y8gZ2YLfLkVEANvSP3OC8jnbWKLEudd+UouKS8aBoaqt1OpGawmWE qZie1XOpqbAlbYhduROtXhAw6Ifk3NK7gUXM51nUWzhl89vws/UHxAbXg8Ui1jxC7ZjR IpWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=2kAzIXHrcHk/pFesYVKNRh7Z+/YD5b+bfwZPGAAK9C8=; b=OMrH2KvCb1ZsCRDt658cIJVIqQaRSQEhbIRfEI6iiMSJslUf29zoclN2MrNf56LfOv R2v+gBMFiKV4yrmqUZKxM/931P5kj/7XMjS6lDMTE9ulQ1zaCDk/GisEpcdlHU9Bz+Dn 7sBoUNYrlgWCCgdZFX4Z4RKdMSpk9WbBJ+NtVCG4GBrDDq8ieb17M9rxMWUbmr/gEri+ QXPNa+7WTT1GyxJS4arLC7mcMkY1haMelrXqWZPsNfESJWA4WLmftxp54lxhXYE0Nv6b LOYbKp71MS6DLq3kl/ygkTmPnccuIhaNxNdMYO0BxvlBEUidSTnbQeSDhPd4IWgtokC9 EFIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=YBPWXBdd; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (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 a8-v6si3163938pln.349.2018.05.11.04.13.59; Fri, 11 May 2018 04:14:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=YBPWXBdd; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752752AbeEKLN6 (ORCPT + 6 others); Fri, 11 May 2018 07:13:58 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:35773 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753375AbeEKLJc (ORCPT ); Fri, 11 May 2018 07:09:32 -0400 Received: by mail-wm0-f66.google.com with SMTP id o78-v6so2532560wmg.0 for ; Fri, 11 May 2018 04:09:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=e5VkeKyjspWx0gNrw1JAcgyTe6NRKcWiRvuIotTcpwU=; b=YBPWXBddcT/8ggcW08DNYt189rq8k4LS0lahb5fr8lmTVhcW4fVLpwokUBSIqufS6M D8iJVMRADNmD0K7ZXmoujr8EjRqf8AnVmIa02c5yMAOauESH6BSlbqv07rnMX7iL5JwJ V2Gd52KpnoxvfQ6awz2a9ZfUw4ZwjWIdjIDR4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=e5VkeKyjspWx0gNrw1JAcgyTe6NRKcWiRvuIotTcpwU=; b=ps2NVaEVI+z5MH1P9wZHvFMfgT99k/Uf32swy8X3+E4fQoWZCx4PoWZMQdOI7kyHux 91/6PQa6ekEzeSlQvVa+rlGn8PQ8UJmQwmOJ0qGoKmW/aG2ht1FyVm3G8ixKnKqbVd7D j33fRARRQB0bAU4f6j4J/Dd5JQmsBhl/1ywGztTTUdEmVB/8VcTdmVO4bJz9J2eeL4X1 WaX53+fz0yjLDu6aoeCSBu/8ipdV4hjjN4//fCdPc6bbmkNRHZevb18rSPgASHshbEzD 0SgusmZSvv14CjI7AUZEhsz9D0j4CiYi95Zc7wnxRUdIwrY1y1QGLkuGqSLPEdw4/fn1 PsQA== X-Gm-Message-State: ALKqPwdMm1s41LeONQA4VXGmH19T3R3bogGj4oqgjg2L3FrNxJUj1Lka lFyAjt5VZ9jund3oj3mT1C1IaQ== X-Received: by 2002:a1c:c2d5:: with SMTP id s204-v6mr1605534wmf.40.1526036971260; Fri, 11 May 2018 04:09:31 -0700 (PDT) Received: from localhost.localdomain (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.gmail.com with ESMTPSA id a129-v6sm714047wme.34.2018.05.11.04.09.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 11 May 2018 04:09:30 -0700 (PDT) From: Srinivas Kandagatla To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, srinivas.kandagatla@linaro.org, Andrey Smirnov , Chris Healy , Lucas Stach , Aleksander Morgado , Rob Herring , Mark Rutland , devicetree@vger.kernel.org Subject: [PATCH 2/8] dt-bindings: nvmem: Add binding for RAVE SP EEPROM driver Date: Fri, 11 May 2018 12:06:57 +0100 Message-Id: <20180511110703.4924-3-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180511110703.4924-1-srinivas.kandagatla@linaro.org> References: <20180511110703.4924-1-srinivas.kandagatla@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Andrey Smirnov Add Device Tree bindings for RAVE SP EEPROM driver - an MFD cell of parent RAVE SP driver (documented in Documentation/devicetree/bindings/mfd/zii,rave-sp.txt). Cc: Srinivas Kandagatla Cc: linux-kernel@vger.kernel.org Cc: Chris Healy Cc: Lucas Stach Cc: Aleksander Morgado Cc: Rob Herring Cc: Mark Rutland Cc: devicetree@vger.kernel.org Signed-off-by: Andrey Smirnov Reviewed-by: Rob Herring Signed-off-by: Srinivas Kandagatla --- .../bindings/nvmem/zii,rave-sp-eeprom.txt | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Documentation/devicetree/bindings/nvmem/zii,rave-sp-eeprom.txt -- 2.16.2 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/nvmem/zii,rave-sp-eeprom.txt b/Documentation/devicetree/bindings/nvmem/zii,rave-sp-eeprom.txt new file mode 100644 index 000000000000..d5e22fc67d66 --- /dev/null +++ b/Documentation/devicetree/bindings/nvmem/zii,rave-sp-eeprom.txt @@ -0,0 +1,40 @@ +Zodiac Inflight Innovations RAVE EEPROM Bindings + +RAVE SP EEPROM device is a "MFD cell" device exposing physical EEPROM +attached to RAVE Supervisory Processor. It is expected that its Device +Tree node is specified as a child of the node corresponding to the +parent RAVE SP device (as documented in +Documentation/devicetree/bindings/mfd/zii,rave-sp.txt) + +Required properties: + +- compatible: Should be "zii,rave-sp-eeprom" + +Optional properties: + +- zii,eeprom-name: Unique EEPROM identifier describing its function in the + system. Will be used as created NVMEM deivce's name. + +Data cells: + +Data cells are child nodes of eerpom node, bindings for which are +documented in Documentation/bindings/nvmem/nvmem.txt + +Example: + + rave-sp { + compatible = "zii,rave-sp-rdu1"; + current-speed = <38400>; + + eeprom@a4 { + compatible = "zii,rave-sp-eeprom"; + reg = <0xa4 0x4000>; + #address-cells = <1>; + #size-cells = <1>; + zii,eeprom-name = "main-eeprom"; + + wdt_timeout: wdt-timeout@81 { + reg = <0x81 2>; + }; + }; + }