Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752858AbaGJJSS (ORCPT ); Thu, 10 Jul 2014 05:18:18 -0400 Received: from mail-la0-f48.google.com ([209.85.215.48]:42693 "EHLO mail-la0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751553AbaGJJSN (ORCPT ); Thu, 10 Jul 2014 05:18:13 -0400 MIME-Version: 1.0 In-Reply-To: <1404982207-4707-2-git-send-email-harinik@xilinx.com> References: <1404982207-4707-1-git-send-email-harinik@xilinx.com> <1404982207-4707-2-git-send-email-harinik@xilinx.com> Date: Thu, 10 Jul 2014 11:18:11 +0200 X-Google-Sender-Auth: y-tnX5UKQfMpw15U0A4-Vy4fb4U Message-ID: Subject: Re: [RFC PATCH 1/2] spi: Add support for Zynq QSPI controller From: Geert Uytterhoeven To: Harini Katakam Cc: Mark Brown , Grant Likely , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , linux-spi , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-doc@vger.kernel.org" , David Woodhouse , Brian Norris , =?UTF-8?B?TWFyZWsgVmHFoXV0?= , artem.bityutskiy@linux.intel.com, Geert Uytterhoeven , Sascha Hauer , Jingoo Han , Sourav Poddar , michals@xilinx.com, punnaia@xilinx.com, Harini Katakam Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Harini, On Thu, Jul 10, 2014 at 10:50 AM, Harini Katakam wrote: > + master->flags = SPI_MASTER_QUAD_MODE; SPI_MASTER_QUAD_MODE is not one of the SPI_MASTER_* defines in include/linux/spi/spi.h? > + master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_RX_DUAL | SPI_RX_QUAD | > + SPI_TX_DUAL | SPI_TX_QUAD; Your driver advertises Dual/Quad SPI Transfer capabilities, but it doesn't check spi_transfer.[tr]x_nbits? How can it determine when to enable Dual/Quad? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/