Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp887520imi; Fri, 22 Jul 2022 11:47:13 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vaK0XkMnRUUDZY/7Zpb0NmhcCSCBhymdHHigRaLvl8W9lN1QZMpAAJHdfzjCnueeoAMl4e X-Received: by 2002:a17:907:1c0c:b0:72e:e206:bfed with SMTP id nc12-20020a1709071c0c00b0072ee206bfedmr892828ejc.682.1658515632662; Fri, 22 Jul 2022 11:47:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658515632; cv=none; d=google.com; s=arc-20160816; b=0QnXLcjZJxXxq3iOmWn8dyQIPrJAzfVZ0M0zGu6/vIt4qfF3vZioEu582IHo60HK+f xnxIWcqEGOXmQ6ALfPifjfWNT2nxyadFlgI4/rADL9xAkpsLT/fYcZP5Eyvye24uSd10 EIb52vFSeXArok7KrFOi1jX9LhWl/eGp3q9LUaNlW3JjnjiltYEuJ4IbeanTl8OgYIIu MW01htoAcxycbb/xe5MRm5uNK0HvJE8p14wqmgVXYWWqph+vTGJ/1Y2ApHoYrA91tnJY cFX4YKisc47a+1/NRA2u2EWqeQ8CewvIMDkwExknNixdfc6sLChRoAICTjuUgQ51qI55 r5UA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=njyy1BoLKqM+Xbt9gZkPer+i2NnDxfT8/XYOw+KV0GE=; b=J5XuhNFiItj44QayYVLlUS2uP4n2OHmYiduIf1AXGSguLVgp0Qtd8iGUjdhTiF/v4q bnvVITTiZXK99+QtfhLzIPC8+Q4dRe/e7G4rm8ZEQnZ+SrArlN9PIVPBawRqlbriGnUa zXCZi+TVTdWOlaGK/bbJgXX+aFCv79ObxXi3cacNtPXWABgM2QC5pSaGciOwziVZ/aoB +u9px9UmTq5RuxoqXqd8bOJnY2T45NNWYgb4a1ux73hyXw4GA94B0z2zryFPGoKaTf8A eEWg85uT8rE7djsRTEyBBJXGeeZZY1606KFRHZPjtFCrC9hK2AJFSu6JNnHPfdWH/LBh lPcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rXgNWAkx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dm14-20020a170907948e00b006fe95bb93b3si7389577ejc.861.2022.07.22.11.46.47; Fri, 22 Jul 2022 11:47:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rXgNWAkx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S236333AbiGVSne (ORCPT + 99 others); Fri, 22 Jul 2022 14:43:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232197AbiGVSnd (ORCPT ); Fri, 22 Jul 2022 14:43:33 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD23B82F9F; Fri, 22 Jul 2022 11:43:32 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 65541B829E0; Fri, 22 Jul 2022 18:43:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 18BAAC341C6; Fri, 22 Jul 2022 18:43:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1658515409; bh=mfIRv2wuhp8KHLeBKI5SqG9q732q4GvGt+OdQIlx6t4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rXgNWAkx2zzzKaEVN67f/NA8hj5ybOxmP5JJLSZNRLCt8UPqRwqRRWvYn5SjaZvoe WhBDkhlb6SAR7J5I1WCswQcUwXwmTIYdAqgdgBKpgqmzl/JWgBMMN3GiDsD6Ya4Pjn 1o6vidn0H2AVq25yRHYB4BVuqdhYFOVAcBcPHIO2ziyxNJVbtSgtPQNyVeLtV+mdZJ t8HbDdfb8QFjlaKIayJMrJhi6d025Dw64BK9Id1sKCLFVMQBaA40c7nmUpEf9mSi2P v4qMr4zCljCx7pTg7tGWd8Q5d6B1iaAwzI+ljZRdi8reqF24S5KhrTBQXmHwqDEpzy X63CZjh6TmB0Q== Date: Fri, 22 Jul 2022 19:43:23 +0100 From: Mark Brown To: Krzysztof Kozlowski Cc: Tomer Maimon , avifishman70@gmail.com, tali.perry1@gmail.com, joel@jms.id.au, venture@google.com, yuenn@google.com, benjaminfair@google.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, openbmc@lists.ozlabs.org, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v2 2/2] spi: npcm-pspi: Add NPCM845 peripheral SPI support Message-ID: References: <20220722114136.251415-1-tmaimon77@gmail.com> <20220722114136.251415-3-tmaimon77@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ry/50fY3hlFre6NP" Content-Disposition: inline In-Reply-To: X-Cookie: Yow! I want my nose in lights! X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ry/50fY3hlFre6NP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jul 22, 2022 at 08:31:22PM +0200, Krzysztof Kozlowski wrote: > On 22/07/2022 13:41, Tomer Maimon wrote: > > static const struct of_device_id npcm_pspi_match[] = { > > { .compatible = "nuvoton,npcm750-pspi", .data = NULL }, > > + { .compatible = "nuvoton,npcm845-pspi", .data = NULL }, > The devices look compatible, so why not reusing 750 compatible and > adding more specific upfront only in the bindings instead? ...with a fallback list required by the bindings so the driver actually binds. Note that bindings are currently not in YAML format so there'd be even less enforcement of that than normal, and as they're currently written the bindings don't require fallback. --ry/50fY3hlFre6NP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmLa78sACgkQJNaLcl1U h9AEwwf+OtPY0/qOhQEJ/2NsoSOb8GSd7aJy+EOe87QYuCJBD5JsoZiLHai6ubHa 0zs/2vrhlkyXG7cwFqmhim4KR5XhbU5vrBrqV3SLNb8tKfRF8EcUNpG8jK9S+Pih GldFX6HoidQdZAZK7eGvXsWymaJavKEeLJ+jD/GQ15LnlNSVyxSYF/IW0rd9SP3L 5MdwDI3SLPefhUfFmSd/QEZ5ZbY3RLRvCkkUIaFLC/0VwC9mYV0NbBUQm2RbC5EO ljTGswpc41I4VTgs9IAuLgPetUsqecivo4Q8Iriwb+7g2SMbIaHf6LtJQqaOGqvc 0BWDzIyUZDxzu3tiB6I3WNJupudE9A== =7ol/ -----END PGP SIGNATURE----- --ry/50fY3hlFre6NP--