From patchwork Thu Nov 21 17:04:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 179927 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp3877368ilf; Thu, 21 Nov 2019 09:05:47 -0800 (PST) X-Google-Smtp-Source: APXvYqwmtiLgpJBqtENOZpjMhKMMjJaDu+YaGg69Q4kcMfw5FBRnj2mKP7LofzSrHfTRIPH8yzmR X-Received: by 2002:adf:94a6:: with SMTP id 35mr11877801wrr.108.1574355947503; Thu, 21 Nov 2019 09:05:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574355947; cv=none; d=google.com; s=arc-20160816; b=ba1FUXCayTVtL3qtTc9TMUaVZBzF+5HSb90J/6sfU0CkzRmvm6UCnd5ociduFx8HxB xwRtZHgaBYlel1EKB2YHdjxbCAQzHEylQiFXafB9eiKsScq+2yWOKrZDLnn73f5kSy7F hyBVwF90H98BJ8JgIKrNYS5+6GXSt6iidayLfwRkaWHXkCdxDf/3T17Yqt5vIluJzkCv 3ldi+gYzWvVIyozMtsk+e+qjANo7owMPu5+uBjXokZQOipYmSSIZPEVauhJYezwWaP3g mc52kmunntkTQplJ/xq90eycnpkjj6Aq0/p1r5TtI/TigLiw6kQRXCOl3lryCtvmxsM3 +t4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Ni1slmKblcP7bhdBCafwyoLiq6dGHkojE+w33IiAhYs=; b=irkc5cyT7SMUkHjaeaQrZtDYIyk/Ia4te8+t0RKYcaZSuuQajWUizwOB2C7gc4ynw0 w5h/A+SPkxOQl2nldROhRbU0AocZ7qvpnXzis5Nl5Lw+Emp+9b+vEtIEIeP08HlvF8Kz 1dAlQU6UViwlBnM2n9UYF22+P+DoXKcfy1efwh8z27XQmsX/8Sk44t+iDUh6HhgxSZp6 edz7e7IaU8r8yY9rCPyOxMcms3Lf6EUzYOoHsQ5dadwDbSpAS5H5Iv7w/3c5xDQM6+S3 6TWYrpRdmLTKrqVeD+zu1czrw1FEoPouqA0PNAQDVThf4NUBo/o2yl2HkraBvGMGsWGW r6jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Us9Hd7aE; 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 t12si3347087edc.171.2019.11.21.09.05.46; Thu, 21 Nov 2019 09: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=pass header.i=@linaro.org header.s=google header.b=Us9Hd7aE; 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 S1726920AbfKURFn (ORCPT + 26 others); Thu, 21 Nov 2019 12:05:43 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:37309 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726568AbfKURFl (ORCPT ); Thu, 21 Nov 2019 12:05:41 -0500 Received: by mail-wm1-f65.google.com with SMTP id f129so3233516wmf.2 for ; Thu, 21 Nov 2019 09:05:40 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=Ni1slmKblcP7bhdBCafwyoLiq6dGHkojE+w33IiAhYs=; b=Us9Hd7aEldRuCy/GB17vScL/hwvyN4isjOgJHPcWinn31uhbMPzHXFhDjC7SVEAP+0 cQi+kAIZd/0Y9fqZqp+uQLgld9UZ0l6evS/20UL5ykJfyPuwboBoTBDUxmdEMdh+XGtw EvdfubsYSRgsh4ZgjTbh52RBaj556kYOZnZfioWkBupX1U8q3DbxEsRI7UvlOkcnVA89 nvrVpkoj7b5LImBkAfPiUlRar7kcoQrEyAH8qliA+Fj+YQrGYUIbatzJ3Nziq6gH9EFz jCgVPD/wXWOp3EUyd88pO4rW1Gsw5MI5ZEldL99KIdrr1efzN0G4+PlRHFsDF0PPb9gU zNKA== 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:mime-version:content-transfer-encoding; bh=Ni1slmKblcP7bhdBCafwyoLiq6dGHkojE+w33IiAhYs=; b=P26Ktz2TUnK58/Imr0z6pYTH+X7Du2huucZ/YXBDEjAsRTlHet7nCIsSZzxzSi29G3 F9FniUL0OaNOk76bgfwozkWT9jt6iG2r3BtYIAKfEO+Zy5xQTq/JX5mlsj8Mdrf5FaHr 7JXz1rbbRPjhVWyLCeFTvFFXvFFmMRPrMm/on7nkDTxc65pJyInqDwKe8e0Zcy0MCUKB wgZK7Tr+3Od1KTmYoZmIRBA3JWq85CmYP9YpNXfXRWv/B92TTWhunVjfcAXrUap+6I1b i7LUSpQeAotTVvoTh2rrCO86ISx+yC5vzpuyuBkbA8sp9ncEwQrh6Hz9LNZdUr5sKajx XQDQ== X-Gm-Message-State: APjAAAUiaJk462jWgwwxpKdbwAqLu+cjvI7bmkBzIjsQdP9lCUakbjCW n1aip7IBayMJBzi3DWdv2xF1XA== X-Received: by 2002:a1c:544e:: with SMTP id p14mr10890566wmi.17.1574355939461; Thu, 21 Nov 2019 09:05:39 -0800 (PST) Received: from srini-hackbox.lan (cpc89974-aztw32-2-0-cust43.18-1.cable.virginm.net. [86.30.250.44]) by smtp.gmail.com with ESMTPSA id i71sm4423731wri.68.2019.11.21.09.05.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2019 09:05:38 -0800 (PST) From: Srinivas Kandagatla To: robh@kernel.org, broonie@kernel.org, lee.jones@linaro.org, linus.walleij@linaro.org Cc: vinod.koul@linaro.org, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, spapothi@codeaurora.org, bgoswami@codeaurora.org, linux-gpio@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH v4 01/12] dt-bindings: SLIMBus: add slim devices optional properties Date: Thu, 21 Nov 2019 17:04:58 +0000 Message-Id: <20191121170509.10579-2-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191121170509.10579-1-srinivas.kandagatla@linaro.org> References: <20191121170509.10579-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds an optional SLIMBus Interface device phandle property that could be used by some of the SLIMBus devices. Interface device is mostly used with devices that are dealing with streaming. Signed-off-by: Srinivas Kandagatla --- Documentation/devicetree/bindings/slimbus/bus.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) -- 2.21.0 diff --git a/Documentation/devicetree/bindings/slimbus/bus.txt b/Documentation/devicetree/bindings/slimbus/bus.txt index 52fa6426388c..bbe871f82a8b 100644 --- a/Documentation/devicetree/bindings/slimbus/bus.txt +++ b/Documentation/devicetree/bindings/slimbus/bus.txt @@ -32,6 +32,10 @@ Required property for SLIMbus child node if it is present: Product Code, shall be in lower case hexadecimal with leading zeroes suppressed +Optional property for SLIMbus child node if it is present: +- slim-ifc-dev - Should be phandle to SLIMBus Interface device. + Required for devices which deal with streams. + SLIMbus example for Qualcomm's slimbus manager component: slim@28080000 { @@ -43,8 +47,14 @@ SLIMbus example for Qualcomm's slimbus manager component: #address-cells = <2>; #size-cell = <0>; + codec_ifd: ifd@0,0{ + compatible = "slim217,60"; + reg = <0 0>; + }; + codec: wcd9310@1,0{ compatible = "slim217,60"; reg = <1 0>; + slim-ifc-dev = <&codec_ifd>; }; };