From patchwork Thu Aug 29 11:31:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13783047 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 E76DDC7EE33 for ; Thu, 29 Aug 2024 11:34:16 +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=Ve5miaNHTj/DG8kxyX2sEyvCSTRto6cBtski2G3f/4k=; b=o41/HEFL0uT46I07mjdbByyOK+ lYt6dtfKvhgUUQ+peYczqRY1/0JpGz9ovuHX6/nNnSjaEUYW8G7u9qE4RoxAKJQtre4qDSMqmNRna 8vQj41by/k9OfeCbBddzabolGR82pqlVNn5MhbKmZWv62t1ZiqJGvWKQvtOcaS0bnFp4SGm5UuT94 Ef9X47kumk/vw5NoyQF+DI+ieid7B33YpuDhXoKpMqrkUJ8sf5lJv4U7NmCePEwEU+3KfOv/DwI7X M41GrdowBkIXTILxd0CNbTdqkdkXsRNEUlITP5O0nt6k4qqRQ3UMXIKidu67ake+RS9odxeL+rl97 ns9qhH+Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjdPh-00000001lLH-21R7; Thu, 29 Aug 2024 11:34:05 +0000 Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjdO5-00000001kuK-2WEZ for linux-arm-kernel@lists.infradead.org; Thu, 29 Aug 2024 11:32:27 +0000 Received: by mail-pl1-x631.google.com with SMTP id d9443c01a7336-2021c08b95cso12404065ad.0 for ; Thu, 29 Aug 2024 04:32:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724931144; x=1725535944; 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=Ve5miaNHTj/DG8kxyX2sEyvCSTRto6cBtski2G3f/4k=; b=nrIkiDvDw5zk723A/oWmFkN5KUhOasUfZk9ciX3qKGcUYRXtnCFX/51YS5fa6QqFV2 NHjJ9cnHgCoIiys71Jf5H+D1Fvsnp9KwX8VGJKD/or/9GHg42nACmSkWUJ37YbSzFXpZ iHoH/bQdICIVIgywUdUVemdexUY3OciXu/+ztxDfOh0ogoKJm78IJezLlteo0VKDBmY5 5Ij2WSZNVhWvZtRDrzFQ6+f0EZtDT1Zqu/ODbA9z9aoAZFpXZNWOTEYmoiGPRYvd9383 2UiT9F5OxYAALJaozwgyuQTN1zE/l//n9ShBFN/02FRhXjW8uzXdkVd6MReFWcQWN1j3 nVjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724931144; x=1725535944; 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=Ve5miaNHTj/DG8kxyX2sEyvCSTRto6cBtski2G3f/4k=; b=LJsiLWGfgIo7wcsutFwXa3+0YulCFHjlKJYoQOHjumkgoXWwuGcVGaZBS9vhT2YS2I HNdLVck1gcwYkqmxbXcmYWpTW6UPmiRlz+QtxrGIH4qDg4lmi4BXfmPRVXvJNeifeyTp p0whbun2bVLZtRz/SHHITXQXqW4dcbYiYpQ0cidmFRlF1c94xeyRcmwOE1cu1qwXNOsT rzOC6C6ohuJcxsjagye9cOjhC/gk9L5AtptFcbqVGziT7y9M6Kc/RA0+IUoNLUdOzIWB sIcLQ77xFJG/Ad73Fy0CPkNpSs5iu6s5ptfihuZxrPQ9zrPbgEDVt7HkDXZBAhoLILPE DzGw== X-Forwarded-Encrypted: i=1; AJvYcCVCKkGdJK0+vYYivGf+M/XvgjGx58ffsAlyCHBe/YDZeqP3jqjXrwAMN2wzNmFrrHi3H2zxxXQr0Y2SV+XtkegR@lists.infradead.org X-Gm-Message-State: AOJu0Yzw3ztdYnXJ9femRrM0KI2MByBVhrKOpONM0tNy5fyekS9adUWt H9dXBPtMYSigznnBBnIt8y5wz46dNSyNo4LZFPfgJgzo1xcHwOEu X-Google-Smtp-Source: AGHT+IHyd1LjKOk4YKRCWX3gAojxcPy3igfQaJXsAr+L+Sn/Kh/NRJHCLuIjaQPn0Muk7reTWePrkg== X-Received: by 2002:a17:902:e883:b0:1fb:80a3:5826 with SMTP id d9443c01a7336-205166dac83mr23677115ad.4.1724931144345; Thu, 29 Aug 2024 04:32:24 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:adb0:3b7e:78c6:e307]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20514fce4fdsm9652665ad.0.2024.08.29.04.32.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Aug 2024 04:32:23 -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 v4 2/3] spi: spidev: Add an entry for elgin,jg10309-01 Date: Thu, 29 Aug 2024 08:31:57 -0300 Message-Id: <20240829113158.3324928-2-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240829113158.3324928-1-festevam@gmail.com> References: <20240829113158.3324928-1-festevam@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240829_043225_657091_2C3D3390 X-CRM114-Status: GOOD ( 11.00 ) 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 v3: - Fix the series numbering version. 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 },