Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp289349pxb; Wed, 4 Nov 2020 23:14:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJz0VlcYHqELos4PBIt9o+FnYq/ZDv+Ts+e3mVYr5kgnaN4XjjV36NqBxODFpkqBU6KtJshC X-Received: by 2002:a17:906:57ca:: with SMTP id u10mr305206ejr.389.1604560457318; Wed, 04 Nov 2020 23:14:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604560457; cv=none; d=google.com; s=arc-20160816; b=uulrJu9hrrnFE5KKdTCZY6eyZkaTLvP/iXScDAim6KE1gFsdQtJnEpPtijEKWN8oO/ lvrNv8daKoeK314ZMCMrr/v/CE8oyw5fEcMv8gzLRbrJbrGZ+Q8tOpAqOGNcxNjgVflO 469OXQ5QsIr6+CBcjpgWURDJRT/ilAMyx9zQgvFZxKloSTqrvT1qMLPq/TyEhAkfdrPv tqS1NWgln1KTrHeSSCmLg5KHuHuh40dMy+7W3fYI0N3MV8xu9lnJN3j7oCoWoMw+ZZWJ I4kFYmCJtA1T2qa6FDPvrIb+JWYN5dUqyeoCDNrb0EM3tABSf6mpuTVROKQjmw2pNfnv KlGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=WNBLtQhx0lIFZsfU2449a/+PzoBFm8WIuwQ69CU7rMc=; b=qjhxmcr3ScTORzHfAjJDcNAfULHhxT9B5WijsOEAcMbj1i+QANaLG3CTnB1vyUNqoD 8jTfUjmcLPTiyXn5caGJznqxuargdL8a6Zz7RukkTkBQRLQBVY4Qj4tH72Ywp/qnXb0e Aw0pTMkGMoKfobWzbmuTrtlejF8lUIKYTY6mMavGusoQlh7VOSlwD4vJOu1AosFzWWIH oFR9oQG5s/qHAc7U8s6/rDPah6PfPmwBzXwPoEbOxDkIucjp09i3SJLTkzvQ8eEdKF6E O90Al2uRwykgxZ1kSw2tB4F3qERAw+0DX+jFrY2XnKC/zwhZ9kC1a3i+a5cziq03EvM4 ZU/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZQT1WmbX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id j10si588073ejs.720.2020.11.04.23.13.54; Wed, 04 Nov 2020 23:14:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZQT1WmbX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726756AbgKEHL5 (ORCPT + 99 others); Thu, 5 Nov 2020 02:11:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725861AbgKEHL4 (ORCPT ); Thu, 5 Nov 2020 02:11:56 -0500 Received: from mail-lj1-x243.google.com (mail-lj1-x243.google.com [IPv6:2a00:1450:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30EB5C0613CF for ; Wed, 4 Nov 2020 23:11:54 -0800 (PST) Received: by mail-lj1-x243.google.com with SMTP id p15so440553ljj.8 for ; Wed, 04 Nov 2020 23:11:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WNBLtQhx0lIFZsfU2449a/+PzoBFm8WIuwQ69CU7rMc=; b=ZQT1WmbXOd3h+w+nHhJ1Vt1wtFDtE/mjJXAk3jAt2FGb0tLGDkEZJA9vr0UOxMJish 8ii1IbOpAn0cbLZ9pCu4GcErW25ODUZam+oFxBZJvQ0UxoSB69UopiAj4o8l5CrAlTsY 2gI+iNB8RUd8Pm3qH9WXxldgchh2IC3D/8tc5FWen4NyKWHmXWVP7ClT29/K8YeMoUbF YRear4W1ywXxsn8x2uJCzjPu5UcrZ7P26pW+AR9wohFxpS1uy/M16oooCzBNDITBJRNg AgJtZN3qVpdKC5FCW3i6N1ag2HjSXsjUqwcgUnWsoim4ZpYYvORCcaDMntQQjr4eV4Yt b11A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WNBLtQhx0lIFZsfU2449a/+PzoBFm8WIuwQ69CU7rMc=; b=kLH4wz2R/xFKHIQscdzShBdWY6ZXZQJ5IRwwZFxOGlYzMupOSMvzw38RlOBc8CwCUY E88Whc59sBMUXMgFPfIGH7F/lAi0erCB2riQLKrSbo0hOZEeTCgSaiYfTQ0HUsQIUnrX LQ6+zMLq5D7HoFUTjDwioPB1uDwz1FDtPD0WosxJioG0O4qVgbGpiKLVAI3bJmJC1w66 EgkD7oAZ+3RgPMkT+MWnoG7jmvuJqM4hLi8AtujV4y0QE3+99ykG2jGqNmCAHEhg9s/8 82Fq6NixZ/T0r12V/QeYQdBtlQkQK5VW+JkaNWyMajIpwfHdZrr47mbi1OYBZx7lxF7E BydA== X-Gm-Message-State: AOAM532byRU/BBYrqekdq+SRUmat+KhQYQDUQR39mb2feLhpaDr3eiph xrgEejCmu7sQdj9Kb/pZGxb2Fjr/VJZROj7aW46UHg== X-Received: by 2002:a05:651c:1050:: with SMTP id x16mr388615ljm.100.1604560312669; Wed, 04 Nov 2020 23:11:52 -0800 (PST) MIME-Version: 1.0 References: <20201030053153.5319-1-vadivel.muruganx.ramuthevar@linux.intel.com> <20201030053153.5319-4-vadivel.muruganx.ramuthevar@linux.intel.com> In-Reply-To: <20201030053153.5319-4-vadivel.muruganx.ramuthevar@linux.intel.com> From: Linus Walleij Date: Thu, 5 Nov 2020 08:11:41 +0100 Message-ID: Subject: Re: [PATCH v6 3/6] spi: cadence-quadspi: Add multi-chipselect support for Intel LGM SoC To: "Ramuthevar,Vadivel MuruganX" Cc: Mark Brown , Vignesh R , Tudor Ambarus , "linux-kernel@vger.kernel.org" , linux-spi , Rob Herring , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , =?UTF-8?Q?Miqu=C3=A8l_Raynal?= , Simon Goldschmidt , Dinh Nguyen , Richard Weinberger , cheol.yong.kim@intel.com, qi-ming.wu@intel.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 30, 2020 at 6:32 AM Ramuthevar,Vadivel MuruganX wrote: > + ddata = of_device_get_match_data(dev); > + if (ddata->hwcaps_mask & CQSPI_SUPPORTS_MULTI_CHIPSELECT) { > + if (of_property_read_u32(np, "num-chipselect", The standard SPI bindings in spi-controller.yaml already has a binding for this "num-cs" so please use that. It is also what your device tree binding is referencing, so if you were using "num-chipselect" the YAML check should give a warning? Yours, Linus Walleij