From patchwork Fri Jun 7 08:56:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 166071 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp368476ili; Fri, 7 Jun 2019 01:57:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqw8v9uUSkfYRYwK84+QE+b9Pv1a21SPcwVIv2X0Bi/ISguEc1/DE/sK850PEM5rnOPdUfaR X-Received: by 2002:a17:90a:2ec9:: with SMTP id h9mr4434770pjs.130.1559897836048; Fri, 07 Jun 2019 01:57:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559897836; cv=none; d=google.com; s=arc-20160816; b=SpbzfPeYsFhyiUd6eSXVq70+eT/estj+WFCcgI014YgmdUlH9nDCMOuP/aoQqSchBw GzW2LeeWqNOPIpWzhHa/lJJeJZJPsg2MUVoz5k9mY0MlBN3VxE8MUR+VKm5ns6GwbYgM +3pwrRZomFWqnZJLq0ExS9pc+Yq4GtPk1J3v6iD4Z7b/v7Z1aP/OVx7fL+JCynbI0EO0 ylCutcNEAMB8MoqTBBLQQDiN5YWqGUiiSyGCNERHLEfJ54DqBczsI2yyJ7KhBdyans7a 2DEzhp+sfT5hm007djDgjmzZFKQcwevqVvl1NiXEJwNpuC8ca0FzBlFfBUIvozcGoeV4 YPog== 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=aNrOP9bVL8WzVy3bzvsSNv+Sb0/Lb3pHrKp7Bekeixc=; b=tkdXaWQ5TZZBngp461JiSkbY51ML9KjBjUkKXuGZqYq2drLzAOgCDyqqgCN8rBjlhx maiLzUOzELzRUljh0r62ka/QOWP+o++iROlyCGY5ofqClyszhkiLtQW7p30scpNc0TKi Ejb/EVPqVcFX4wrn7GpSRn1VHd4tjHwlKvd7o8EdCmw4/pTHgUQcLI5ItttQEM1E08cy EmT7HY3/5Bmg7ytVHrkckyT9xiJQh3jivgF4AiyXgXTK6RYfQASHsEBxg66dQf8K//LQ WWYrrOYb5gGWIlRwOrVMU516S5BmJJhcKVte5orkqfobFliPjCkWv1bQtdHvWl0HqY3G eAxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cjb6qcY3; 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 p18si1333464pgj.126.2019.06.07.01.57.15; Fri, 07 Jun 2019 01:57:16 -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=cjb6qcY3; 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 S1727777AbfFGI5P (ORCPT + 30 others); Fri, 7 Jun 2019 04:57:15 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:42611 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727646AbfFGI5L (ORCPT ); Fri, 7 Jun 2019 04:57:11 -0400 Received: by mail-wr1-f65.google.com with SMTP id x17so1304924wrl.9 for ; Fri, 07 Jun 2019 01:57:11 -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 :mime-version:content-transfer-encoding; bh=aNrOP9bVL8WzVy3bzvsSNv+Sb0/Lb3pHrKp7Bekeixc=; b=cjb6qcY3L1FVfrYmUwzIy0VkpN6BDjsbZZMFOM7FoHLonsrmUhjkR5K67jGdT/lkWQ m1EsLAPt0M+2H+zVDZs/xmAU8F+ou6qSKR8SqbxW4h23LzXi4lEyYVM07mXgOTJtlu/D mtnJ/5Zrb/7IafTDfAz5E0MsS4lZEia1z/C44kbsJUJS/I6a3EcWI/UE/zvBlAwyvOHH /4DeqmVy215xmQj5xX8S+T8mGEnIWgSOVsW2umlRlxMnzNk7tsl74HO4/yR7eNnHVtHa IH+l6o/tsfoZ+cR30bMAHIZ6uKQ7O5uF7pDeUVJhIXM+TZUs6oVPoLds/5jRUorn91Ts RuxA== 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=aNrOP9bVL8WzVy3bzvsSNv+Sb0/Lb3pHrKp7Bekeixc=; b=CanaI5MYQo5jfVKO/J299a04T6JkIrUA5LnL/Cu9xvaj+AZ89okzEnqzCTD179MPvB ZnIGGFIkYknc0dwZ6aGYrcsUpA0Ltqp2TE2nsQgXXTrj2A/ZgJryCt4PQxvuEkRk2Mvg 6nKxwuUv8AxWPJiCc/CytV4iU/hBqMY/v2mdawp1h0qA/eIcTm7w0CS4W2yd7DXNMnKl mZpdZeD7oKib/nqR5szsKdxDhW9urwjRgNLCnHJKrVJhgRnfKqN90uBg9ze8ikpyZYU5 xz2++TMWvsWCuBnOGtGeZ2Jh+g1lzBJROFa3Wtc3pATouwpDvh/hqMklaOS5Ho5OTCaY CZzA== X-Gm-Message-State: APjAAAWiM32qjIoilfQuRw03/xBjSNiGfVlQbTmd+rGdvK4gZu0s8RSq v/W80TY2pDJWf2wOfaeM53OcrA== X-Received: by 2002:adf:dcc2:: with SMTP id x2mr18944862wrm.55.1559897830398; Fri, 07 Jun 2019 01:57:10 -0700 (PDT) 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 d10sm2035308wrh.91.2019.06.07.01.57.09 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 07 Jun 2019 01:57:09 -0700 (PDT) From: Srinivas Kandagatla To: broonie@kernel.org, vkoul@kernel.org Cc: robh+dt@kernel.org, devicetree@vger.kernel.org, mark.rutland@arm.com, pierre-louis.bossart@linux.intel.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [RFC PATCH 3/6] soundwire: core: define SDW_MAX_PORT Date: Fri, 7 Jun 2019 09:56:40 +0100 Message-Id: <20190607085643.932-4-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190607085643.932-1-srinivas.kandagatla@linaro.org> References: <20190607085643.932-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 SDW_MAX_PORT so that other driver can use it. Signed-off-by: Srinivas Kandagatla --- include/linux/soundwire/sdw.h | 1 + 1 file changed, 1 insertion(+) -- 2.21.0 diff --git a/include/linux/soundwire/sdw.h b/include/linux/soundwire/sdw.h index aac68e879fae..80ca997e4e5d 100644 --- a/include/linux/soundwire/sdw.h +++ b/include/linux/soundwire/sdw.h @@ -36,6 +36,7 @@ struct sdw_slave; #define SDW_FRAME_CTRL_BITS 48 #define SDW_MAX_DEVICES 11 +#define SDW_MAX_PORTS 14 #define SDW_VALID_PORT_RANGE(n) ((n) <= 14 && (n) >= 1) #define SDW_DAI_ID_RANGE_START 100