Received: by 10.192.165.148 with SMTP id m20csp1036060imm; Wed, 25 Apr 2018 11:30:51 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqIHqXYy/C/ijtkKvcXVySkfmAAdADW6JpLKsvRY2E1ULGIhU2o82nTX1PyPdj7ikzRLwiT X-Received: by 10.98.135.133 with SMTP id i127mr2235920pfe.201.1524681051488; Wed, 25 Apr 2018 11:30:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524681051; cv=none; d=google.com; s=arc-20160816; b=Aye7L1ffgWi/jmiNcaZpJwgsozssYkl8+C1nGq2bfxxfu7thpMR0wKOC0SOW8cXw6Y nFHhh258s/DgXk+B+rskHcYFq3hp2wdc4+GFlJ7lgPa6xvKdKMzRyCqWXGpsK+MwxF9K 4/irUaYiQW9QTOwhZRi+lPs2ZSD2iazupS36koyr5qc6Vk4iRk8za7ph/Qx84tDUv6tg y0vy8C4WYiZI9W5MYuGdvoTlvVn+9nfiq662a6ohFO9wO7y7zMYBvoBTPfnALVM321r6 PgoSwYHlgWBtEKvduU6JT2mLR8MQRcSjQ7tqxlJbIOXLwKG8H4FVq0/HDv0nPJgBYF9Y fQvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=thugO3Fy2AbBkH357XQaujgRUw7kd6HwXcm9Bbh6h10=; b=n5Da6xYDHYqOp4cIF1YB7A5xA5kfumwul3HpcwjGdyvgGrvwQSEdCM2sxO1Xzy2+5I JGoEqDnaCbc1h6ze3SIG72tkk1iIZTQaPcbFB9+I6Z4GEKgxbNM40JoOLdJyKgsWkyhS uHZ5a6onyF0w9PhiaNsEXZSD2VShilRDKENflyrd3ukJSPYZEQXO4p+Sw4QPf9GXEv7I nHZujaV9jH3VheQsBy1M1CMlTusR9MspF5lrWmxSv2BJ/WuUz/BmZfA6yO1spqLn+9NS IheaCPU55yuSm+JwNCMJXQgMZnGO8I82qW9BxLNztg2jymgVnwtcEaH8kCj+41kvscJF cN4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tdM1H3Bz; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z79si16953088pfa.120.2018.04.25.11.30.36; Wed, 25 Apr 2018 11:30:51 -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=@gmail.com header.s=20161025 header.b=tdM1H3Bz; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756414AbeDYS2S (ORCPT + 99 others); Wed, 25 Apr 2018 14:28:18 -0400 Received: from mail-qk0-f170.google.com ([209.85.220.170]:36193 "EHLO mail-qk0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756206AbeDYS2M (ORCPT ); Wed, 25 Apr 2018 14:28:12 -0400 Received: by mail-qk0-f170.google.com with SMTP id a202so23444318qkg.3; Wed, 25 Apr 2018 11:28:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=thugO3Fy2AbBkH357XQaujgRUw7kd6HwXcm9Bbh6h10=; b=tdM1H3BzmBlxvUvxVsSiY1uU8aGU61N/vm6fMqoE29i7/meyWjDz36uCO3anoh0G5Z D0Qz3MPwK9iOAtkhL7wpcQUBGtH/EhbZtYw0sML329jdpzqb5MDTXFJQRiAuXT3C7tp8 jo0JTwGXwTxutI+yl+a5f0R15D5mitllAKIOtTlwGQVtqp+BmxSSYUpYsPqkBhc+bZiq EN6fWplqZ4cdiXccw5eor/5V7Ts427+SeFbZ1+IG8/EVsMV2PWWnh90jgAMiEdQ3kmvy AzZrCTj04jGjUSz2BE1LEmT1Lz94xpfS5GGYiEt4Lh/cWDU1Zci/dk2oG8S863tfKERc a/uQ== 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; bh=thugO3Fy2AbBkH357XQaujgRUw7kd6HwXcm9Bbh6h10=; b=WL7ZOJ5YxwWDQYfHzV6WhM5E3xab3hLynNphCJ//DlRrlcpOABhpZcB7IIuoH44Zfc kAFQSLdrU1yRUJ9tSmpE9k+4MzjJl8FDJMiihK75HL/p0wRMzpNNgcxNxt10DhTsB/V8 H6sdeTt3br//pTV7mlwFpFPrYki7UcBzxGpXKiYzTk3d46VxUY/X/vWul0V6WR9gTVM9 pdabnh0mm7rLOWm86EpjQbrmWfj3I15GFd9u1TL8beHcL9iWm/9JNaGgflQ9y3N1T2KR HJN7AiYNvBAytIGtQUXZbh4Bcc1ARnR/vZqDWz99x70yeWvDwi58TxFON7fMTvlgUm92 GkdQ== X-Gm-Message-State: ALQs6tCcxpQj/b51Asi2qWPlhVXz87bsHqR2dMhPhuXgtMKCzkPwvHAA oPaDnTY/+aXNSfeyFTpstr4= X-Received: by 10.55.168.71 with SMTP id r68mr30245324qke.154.1524680891395; Wed, 25 Apr 2018 11:28:11 -0700 (PDT) Received: from mail.broadcom.com ([192.19.231.250]) by smtp.gmail.com with ESMTPSA id x28-v6sm1980695qtx.95.2018.04.25.11.28.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 25 Apr 2018 11:28:10 -0700 (PDT) From: Kamal Dasu To: broonie@kernel.org, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: f.fainelli@gmail.com, bcm-kernel-feedback-list@broadcom.com, jon.mason@broadcom.com, yendapally.reddy@broadcom.com, Kamal Dasu Subject: [PATCH v1 0/2] spi: bcm-qspi: Fix spi-nor chip select logic for BSPI Date: Wed, 25 Apr 2018 14:28:03 -0400 Message-Id: <1524680885-4600-1-git-send-email-kdasu.kdev@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org spi-nor master controller driver needs to verify the chip select bit in the cs register for any cs change during trasfers. Also CDRAM PCS field not used in BSPI mode, set defualt to ~1 indicating active low for zeroth bit. Also always enable/disable BSPI_MAST_N_BOOT_CTRL when using BSPI mode. *** BLURB HERE *** Kamal Dasu (2): spi: bcm-qspi: Avoid setting MSPI_CDRAM_PCS for spi-nor master spi: bcm-qspi: Always change BSPI_MAST_N_BOOT_CTRL state drivers/spi/spi-bcm-qspi.c | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) -- 2.7.4