Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp239439pxa; Fri, 31 Jul 2020 10:42:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXISoffZatN8FQBZpTGxwBA5Phi3h1LW1pSYtAAx1CyVHYvKqxb+PdhIVPSAeOLUAYvKPl X-Received: by 2002:a17:906:289a:: with SMTP id o26mr4964596ejd.309.1596217338435; Fri, 31 Jul 2020 10:42:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596217338; cv=none; d=google.com; s=arc-20160816; b=Nv1NeoGnjmaeggbaUrohUtIjbtlQA+Lb39JDikydqCdkwrWdDdAV12oJGQ6hbtHQ2B YpF4vwHKUcbpeZO2+bHfVcM94UCLc2WJdn7KJYxPZtpSjE6LbzYC+N2bf9kLlhRYdf/K 0fPH0rOpXwgelK0wdpyB83VlRLWNDSqU/aqRWVPxkULKtg/So8iNoJxPFQnciraxPOyX iVA/1a5cXerZqItULL5nPnd9v+f+pB+R0Zt+5l9k4/yfbOJ+3+k2t4/BfFIDUZQ00tDB BowWVKRG2fveU7pou1ELb2PhLQGZBHcnqcOqS6ENMVs6176O7TGmChDD5PfbubDRCNao PWvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=/9aWp0bz/nnaw4ao4sMaH1Gr+bkmDwD+FD1Cx7jgSD8=; b=HctaOcL3VH2yyDNg1rXesbKSKsEGWaBy1PfdeFI3lny3Tt0pX9DS+XVgepZTXulw/n C+w95w7mVovDK+ehoU5mj0np7crz9dTVf+pxKNxO7GQDMd+1b6RYTE2t1gWkNkY2yOQD JkWYv3x3GCyOk8jham0Hp7cuWvgD/9/N0kJmKN/PkbuSz1QPjuZo4PDEjfL3Vq6Eq5z0 vID8MSuFxtTFNfaXltFkfhddScxb6UllBPqRNGB9IjMhI69/plnMQcDcXvnHf3kWmP9P W+f3gT9RegJlvKzQE4rl3lkdl27LNEqNzfQ275iF0O2pLN8gV1a72L0GvNWfj6+4bRPK DrVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=IhnygZYj; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w15si5514042ejk.680.2020.07.31.10.41.55; Fri, 31 Jul 2020 10:42:18 -0700 (PDT) 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=@kernel.org header.s=default header.b=IhnygZYj; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387610AbgGaRii (ORCPT + 99 others); Fri, 31 Jul 2020 13:38:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:56078 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733236AbgGaRih (ORCPT ); Fri, 31 Jul 2020 13:38:37 -0400 Received: from mail-oi1-f171.google.com (mail-oi1-f171.google.com [209.85.167.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6FF432083B; Fri, 31 Jul 2020 17:38:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596217117; bh=ThVcK9Hvk7m9SF2um16GNyMOPFFlXYWERxYa9S07VUg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=IhnygZYjOuB4e8fBhH11m1q+TmFS2ZWUv8vOBc4uVHIHAvi287Ay/CKLxsFFcZ8gn dN5LsV3Wzf16tQXmdLDJd7zpNyKEAD8wM/eVEu+bR3aRt/bVCDuV24pG/ouu5z0HXJ 1hj8WiNwwWEOaqsAtIwELhY+t/dAMR+YN88Sgf9k= Received: by mail-oi1-f171.google.com with SMTP id s144so17455720oie.3; Fri, 31 Jul 2020 10:38:37 -0700 (PDT) X-Gm-Message-State: AOAM533Q6Ur7PZvk3Mh0FVY3gnU/959dBVzSrEIIr/XGaxZm0HUvQQ6Q nrTHFxA/YAJktbzLTlWeAyubd84nLAZk9xF9WA== X-Received: by 2002:aca:190c:: with SMTP id l12mr3850529oii.147.1596217116807; Fri, 31 Jul 2020 10:38:36 -0700 (PDT) MIME-Version: 1.0 References: <20200727031513.31774-1-xiaoning.wang@nxp.com> In-Reply-To: <20200727031513.31774-1-xiaoning.wang@nxp.com> From: Rob Herring Date: Fri, 31 Jul 2020 11:38:25 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH V2 4/4] dt-bindings: lpspi: New property in document DT bindings for LPSPI To: Clark Wang Cc: Mark Brown , Anson Huang , linux-spi , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jul 26, 2020 at 9:15 PM Clark Wang wrote: > > Add "fsl,spi-only-use-cs1-sel" to fit i.MX8DXL-EVK. > Spi common code does not support use of CS signals discontinuously. > It only uses CS1 without using CS0. So, add this property to re-config > chipselect value. > > Signed-off-by: Clark Wang > --- > Changes: > V2: > - New patch added in the v2 patchset. > --- > Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml b/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml > index 143b94a1883a..22882e769e26 100644 > --- a/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml > +++ b/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml > @@ -34,6 +34,12 @@ properties: > - const: per > - const: ipg > > + fsl,spi-only-use-cs1-sel: > + description: > + spi common code does not support use of CS signals discontinuously. > + i.MX8DXL-EVK board only uses CS1 without using CS0. Therefore, add > + this property to re-config the chipselect value in the LPSPI driver. This breaks linux-next and you didn't test with 'make dt_binding_check': /builds/robherring/linux-dt-bindings/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml: properties:fsl,spi-only-use-cs1-sel: {'description': 'spi common code does not support use of CS signals discontinuously. i.MX8DXL-EVK board only uses CS1 without using CS0. Therefore, add this property to re-config the chipselect value in the LPSPI driver.'} is not valid under any of the given schemas (Possible causes of the failure): /builds/robherring/linux-dt-bindings/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml: properties:fsl,spi-only-use-cs1-sel: 'not' is a required property The problem is you need a type definition for a vendor specific property. In this case 'type: boolean'. Rob