Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1832688yba; Thu, 4 Apr 2019 20:28:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqym2YIq4XCJYipJRFYg2FcT+dCNp4E236i4onM+1WaDSIx4VValPeTcVKaD+3JwJi1nLPap X-Received: by 2002:a62:604:: with SMTP id 4mr10015052pfg.38.1554434884227; Thu, 04 Apr 2019 20:28:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554434884; cv=none; d=google.com; s=arc-20160816; b=PVqWUX9fEAfSG9yHnTOkj7Qvy83dF0hfX8VDQ7NZuRWHpearPxzoikWWwRlrMqbbg6 IYrD5N/afxgaOKPP0EHgXnRRPce9swTFtsg9kOT2jUFIE2vlv4i8jDzdn2xCM9pQyJup RxqSjU3XpcGfm6DjnUOBpCYMMp9s76tcng7xyTvmogpfKQUZ1XdCcu88Vqqd1SZsqaNh COwRlOZXppEkJls/PRTkntZi4nrprvll2jdbHvduYq4BDUi5SbUx3rFmABZK07NZAlds jk7tT0Y2KHU6YmQaU/MQHtOJyqgcP+V3u0fzs3jR1b2lAKZBYbFDAjxWntTQ21F5Hw/L ZVmQ== 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=O1PqXYQNY4y0VrvaRZnL7wf1KiWwr++VkE3Ywz80340=; b=Twp1aJauCHXOjmzBZTdHCYegPLU8jmWgbgwDvEoruhDCYn+BktgjnDVGmvZA+b8H1i Av7ahFat/AWaHHHMAjWuvwJikagUuoR5XVSu0K4qoYAWuP2b2YoVyQCE63ZrF1k32BQC agQKt+YDhXTyV+6htRNL1RV9Mf+buOV4KogfKREai4zvSe8ID/8u2kgjVcTOuj4Qjquz 4VDpL2y80wN8M4HYhrNo6vOnF3Fw1Y42BosnJiJtsK6IFpwSFy4F+HWUZabVLZHGvs0A hZ5iMGOapcxMFPlJ7BzCX98NBDnXOiAFKOeCWvq0le1l2HMjsDkm691AsVoLvvSTmsVM PQtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=NUEuepuP; 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 61si1754103plq.2.2019.04.04.20.27.48; Thu, 04 Apr 2019 20:28:04 -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=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=NUEuepuP; 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 S1730191AbfDED1A (ORCPT + 99 others); Thu, 4 Apr 2019 23:27:00 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:34018 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729826AbfDED07 (ORCPT ); Thu, 4 Apr 2019 23:26:59 -0400 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=O1PqXYQNY4y0VrvaRZnL7wf1KiWwr++VkE3Ywz80340=; b=NUEuepuPoU81 I8m1RrLdJoh7ZaSSPEUHkSRwKvsN0MqV8RrEAbUdPErQ/+1Wd8P3gKauUH0uex4H6YoUJNtKVcYVd F1Amqn2ZEyJt9QmqPoOB89/9nuUGy3l4yLTamB2c46sh+GL77SE5QgVQ6B7enBqj83B0EPAHDpRXf TFbRU=; Received: from [147.50.13.10] (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 1hCFVG-0005gX-OG; Fri, 05 Apr 2019 03:26:55 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id EE1F1441D3B; Fri, 5 Apr 2019 10:26:51 +0700 (+07) From: Mark Brown To: Sowjanya Komatineni Cc: Mark Brown , thierry.reding@gmail.com, jonathanh@nvidia.com, talho@nvidia.com, skomatineni@nvidia.com, broonie@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, kyarlagadda@nvidia.com, ldewangan@nvidia.com, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-spi@vger.kernel.org Subject: Applied "spi: tegra114: set supported bits per word" to the spi tree In-Reply-To: <1554423259-26056-6-git-send-email-skomatineni@nvidia.com> X-Patchwork-Hint: ignore Message-Id: <20190405032651.EE1F1441D3B@finisterre.ee.mobilebroadband> Date: Fri, 5 Apr 2019 10:26:51 +0700 (+07) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch spi: tegra114: set supported bits per word 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 f0a0bc90c6e7060778911c2b55d085105809d6cf Mon Sep 17 00:00:00 2001 From: Sowjanya Komatineni Date: Thu, 4 Apr 2019 17:14:05 -0700 Subject: [PATCH] spi: tegra114: set supported bits per word Tegra SPI supports 4 through 32 bits per word. This patch sets bits_per_word_mask accordingly to support transfer with these bits per word. Signed-off-by: Sowjanya Komatineni Signed-off-by: Mark Brown --- drivers/spi/spi-tegra114.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/spi-tegra114.c b/drivers/spi/spi-tegra114.c index 99019f6d2d84..c2ebf1ae632d 100644 --- a/drivers/spi/spi-tegra114.c +++ b/drivers/spi/spi-tegra114.c @@ -1151,6 +1151,7 @@ static int tegra_spi_probe(struct platform_device *pdev) /* the spi->mode bits understood by this driver: */ master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; + master->bits_per_word_mask = SPI_BPW_RANGE_MASK(4, 32); master->setup = tegra_spi_setup; master->transfer_one_message = tegra_spi_transfer_one_message; master->num_chipselect = MAX_CHIP_SELECT; -- 2.20.1