From patchwork Tue Dec 27 02:35:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincent Tremblay X-Patchwork-Id: 13082038 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F836C46467 for ; Tue, 27 Dec 2022 02:36:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229767AbiL0CgP (ORCPT ); Mon, 26 Dec 2022 21:36:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229892AbiL0CgO (ORCPT ); Mon, 26 Dec 2022 21:36:14 -0500 Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com [IPv6:2607:f8b0:4864:20::832]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5DD56B9C for ; Mon, 26 Dec 2022 18:36:13 -0800 (PST) Received: by mail-qt1-x832.google.com with SMTP id x11so9602439qtv.13 for ; Mon, 26 Dec 2022 18:36:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vtremblay.dev; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=OI0zO948M7Usl6Mh9jnJL/dQvMAibdS+Nj8w4BoMGME=; b=kDp212TWBINw212tyfVcBrg6aIGbE5iwcI+XNzxugxoeQ6FmSBcrU5H9km8lJmwRSP E5NA94s5LcCSTiBf6wn9xWJfPEXwsaTUnbigCwqJhlxfilq/2FZQiKb1lqvsnFq5/YKI JoAp6YMYstfGQ2YN54U6fcsaAqJzQo5QIbsJKTvCvB9ZkReC/p5f9xg5AJM3qJ0xR14o OD1rIomKmKa6FT1VwDKsUMobTU3arij5/gxAm10ZXVg/WaUhwlbE7omCmTu9LW2/sSyr slMpt82oDP0j75vPmVA1Wub7PFaRwg78dZxfHmQ3SQGuI/e6hRiH9OEp6YjJ6Oviy7S5 VVBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OI0zO948M7Usl6Mh9jnJL/dQvMAibdS+Nj8w4BoMGME=; b=yV46Cb7GMvG5KhEwrxCvJvggArGWFnP0N6fp566xEHRXGzOu7L0VoszmBdQWOM/IoD P/5UMmX9Px1Nd+zDsWD+hd5mrTnApnNPPM5WnawakIRafExheCIR5+4n9mghmPb9YiVO iuU/Gf6pGWr0M7f/PrC58uIj5imJ/Yb5XkbKGju2MHGn1AiakGnQRvpMCO+V1nDqvMAa PF+HA8u7exqlGwMyYkGXGhRr+idaailk6LQ+MOp432xd1b9TUF3xAWilG8UmIYM0IptT NIWPfnyOjKgJLl22hgk2ODhvVChaR8C38B6K23ForessrCxgPyh9qquF/X+fDwdG/1Uc Qy1Q== X-Gm-Message-State: AFqh2kpXh+ZXEDKSjongUzcYtQXQqrx3EkT1HjzM1ITeKCnI/hFi18J3 Xp8vBgcLm/3tKZwY2wuIImlSXA== X-Google-Smtp-Source: AMrXdXvq0+yjcebqLKcA4+wy9C5HzvVhAnP5rXJNCVgr9M0cSlodEIE3Z4uTv9Du8jMG2JpnnBtZLw== X-Received: by 2002:ac8:7583:0:b0:3a7:eb2c:efea with SMTP id s3-20020ac87583000000b003a7eb2cefeamr28495539qtq.19.1672108572568; Mon, 26 Dec 2022 18:36:12 -0800 (PST) Received: from vtremblay.. (modemcable190.194-177-173.mc.videotron.ca. [173.177.194.190]) by smtp.gmail.com with ESMTPSA id l8-20020a37f908000000b006fcab4da037sm8612322qkj.39.2022.12.26.18.36.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Dec 2022 18:36:12 -0800 (PST) From: Vincent Tremblay Cc: vincent@vtremblay.dev, Rob Herring , Krzysztof Kozlowski , Mark Brown , Guenter Roeck , Stanislav Jakubek , Marcello Sylvester Bauer , Marek Vasut , Samuel Holland , "Greg.Schwendimann@infineon.com" , Conor Dooley , =?utf-8?q?Pali_Roh=C3=A1r?= , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org Subject: [PATCH v2 2/2] spidev: Add Silicon Labs EM3581 device compatible Date: Mon, 26 Dec 2022 21:35:48 -0500 Message-Id: <20221227023550.569547-2-vincent@vtremblay.dev> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20221227023550.569547-1-vincent@vtremblay.dev> References: <20221224041825.171345-1-vincent@vtremblay.dev> <20221227023550.569547-1-vincent@vtremblay.dev> MIME-Version: 1.0 To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org Add compatible string for Silicon Labs EM3581 device. Signed-off-by: Vincent Tremblay --- Changes in v2: - Add missing documentation in trivial-devices drivers/spi/spidev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c index 6313e7d0cdf8..46f53ca03f8d 100644 --- a/drivers/spi/spidev.c +++ b/drivers/spi/spidev.c @@ -702,6 +702,7 @@ static const struct spi_device_id spidev_spi_ids[] = { { .name = "m53cpld" }, { .name = "spi-petra" }, { .name = "spi-authenta" }, + { .name = "em3581" }, {}, }; MODULE_DEVICE_TABLE(spi, spidev_spi_ids); @@ -728,6 +729,7 @@ static const struct of_device_id spidev_dt_ids[] = { { .compatible = "menlo,m53cpld", .data = &spidev_of_check }, { .compatible = "cisco,spi-petra", .data = &spidev_of_check }, { .compatible = "micron,spi-authenta", .data = &spidev_of_check }, + { .compatible = "silabs,em3581", .data = &spidev_of_check }, {}, }; MODULE_DEVICE_TABLE(of, spidev_dt_ids);