From patchwork Wed Aug 28 18:00:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13781686 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7FC3AC636ED for ; Wed, 28 Aug 2024 18:03:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Y8nfjGtrBJwHu3jsvem3hCgMv99uk5+gdx+bi4jO06k=; b=lEDdjhmWQradldFflviFzF3qnn t/+IFcSfso4CoI9jUtE6Ibaox9YwbTM6bFnUgi/eg0eI7A0GgcbbmYNWcU2QJLn4xy6295kB4q1N7 udjL9BXvNwStj/dlmg4eHD+axXO5UhMd8R/Gxor8f/+E6ngfdn05U3RDv+aNoKw17NUPxgi+tObKX 3qAjEjRUzijs7vflpwpejeEhfqzlq/+5jP2c60Eo5Td+c6TnYHF+nRZGpOY46cAZI2IvkoQMx+GAB NXCeMaVZ2q3sOt+L5ez100P1ZYEzhZ0GtJf00ZCqvPXSE8QM86Zf0WVEZQ+qWUB9X29ub9m3F9K3h cICJJL5A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjN0W-0000000GT7M-0Lvu; Wed, 28 Aug 2024 18:03:00 +0000 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjMyu-0000000GSdZ-21hc for linux-arm-kernel@lists.infradead.org; Wed, 28 Aug 2024 18:01:21 +0000 Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-7143ae1b560so3991200b3a.1 for ; Wed, 28 Aug 2024 11:01:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724868080; x=1725472880; darn=lists.infradead.org; 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=Y8nfjGtrBJwHu3jsvem3hCgMv99uk5+gdx+bi4jO06k=; b=ekR6xXNssy6ixnTIKcowt7xOCtAHXZigm9sTvhzLONc62nmNw6tjPf1YQPu6Ab1B/h gwLqRpvGMdobv5oMe6FyD2FJEZx+eBt0Eco+384BD+FqqhetpZSnpPVBtPyjKamT4BLL 7U1ssHS+37Nh07ZLbEg77GojajDMVBPWlrnqPUMhPVFTpFhHIuQn3KcLMfMhmvBf2oga GgkZfFP6+zj4bgvHaxy68O5BqonM8dDjHH6RJxUszAX0VIV+H57XQiIOnyTxmbKtoMl6 F5nP70hqqX5P5puvVwuMgKqM8XnhVdYKjo2v81eSC8670VIOrX/TlxMl9nFwz9dHKYrX 9vbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724868080; x=1725472880; 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=Y8nfjGtrBJwHu3jsvem3hCgMv99uk5+gdx+bi4jO06k=; b=dktmeg3feuHorgaHp44YRL4GlvKC/pQ7JSXnBe+2g3jwdp/o7ol6iPQjE8L+rExgto vbB5bh2x2bMpdV6cx3jmVk0T8KYT5hQKgD2MLtC/K7BV+2Z1rvsRqmpobyd/Al1WWIN9 Rvo3yDYDesrUakfpBBoQlMFDLUlHB0ccLYXjZNDIrx1tNO4P1cxQNHA1KUXG4kcw1fgR +E6UCpHwmzF6V3L+xGXlyA/QmiDnZjXh3EG2b5QjJl5BkIxc1taLZOq5PI4j0bdNNHv6 2QzAfNUrEsxqaE+7mnFtlemo61ogjK3NDtqlreZ15ENNpLIhTgN+bqZSDvrLb3r8UO1N 5OZQ== X-Forwarded-Encrypted: i=1; AJvYcCUnUfa2qUwtqnaWhxq5HlP4K2qHi9FFe6ce88uS0tWwtgN+xsAdKo99GvQm0dCJkMITToDWKOdABP5dEb4W1kog@lists.infradead.org X-Gm-Message-State: AOJu0Yy0sv0isIs33MHkMqBYv1rFfRMBvTfy408qV2WyWNXxIcmoayHf r2CGlP+vL66WgxPdA4Lqte8Zbg4Q4606Uuozy7JxZHOCmDy4EvLN X-Google-Smtp-Source: AGHT+IEEJzUUdbcXwJ7R5Mkxwt0b9jh5z3waWc0+wtlwZ9XW/5kNyRevDhCZ7dM/H2L9bnuBIeKc8w== X-Received: by 2002:a05:6a21:4d8a:b0:1c4:d540:46c with SMTP id adf61e73a8af0-1cce110811dmr98448637.47.1724868079604; Wed, 28 Aug 2024 11:01:19 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:4b3a:557e:6b5b:dbdc]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7143434294asm10300127b3a.216.2024.08.28.11.01.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Aug 2024 11:01:18 -0700 (PDT) From: Fabio Estevam To: broonie@kernel.org Cc: linux-spi@vger.kernel.org, otavio.salvador@ossystems.com.br, heiko@sntech.de, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Fabio Estevam Subject: [PATCH RESEND v3 2/3] spi: spidev: Add an entry for elgin,jg10309-01 Date: Wed, 28 Aug 2024 15:00:56 -0300 Message-Id: <20240828180057.3167190-2-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240828180057.3167190-1-festevam@gmail.com> References: <20240828180057.3167190-1-festevam@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240828_110120_542372_524378FA X-CRM114-Status: GOOD ( 11.07 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The rv1108-elgin-r1 board has an LCD controlled via SPI in userspace. The marking on the LCD is JG10309-01. Add the "elgin,jg10309-01" compatible string. Signed-off-by: Fabio Estevam Reviewed-by: Heiko Stuebner --- Changes since v1: - Use a more specific compatible string. (Conor) drivers/spi/spidev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c index 05e6d007f9a7..316ed3664cb2 100644 --- a/drivers/spi/spidev.c +++ b/drivers/spi/spidev.c @@ -730,6 +730,7 @@ static int spidev_of_check(struct device *dev) static const struct of_device_id spidev_dt_ids[] = { { .compatible = "cisco,spi-petra", .data = &spidev_of_check }, { .compatible = "dh,dhcom-board", .data = &spidev_of_check }, + { .compatible = "elgin,jg10309-01", .data = &spidev_of_check }, { .compatible = "lineartechnology,ltc2488", .data = &spidev_of_check }, { .compatible = "lwn,bk4", .data = &spidev_of_check }, { .compatible = "menlo,m53cpld", .data = &spidev_of_check },