From patchwork Thu Jul 18 20:05:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13736672 Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DCB9C69D31; Thu, 18 Jul 2024 20:05:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.182 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721333150; cv=none; b=fQzzFoSCTrmM3fqQJEWSw2ywU3SoIzcu/aENLuTjhWH0iIiYSfKYaBhX9i0hSQfWr5d5nudAumo/puocq3WzS0bkI1ElxgetW+fDhVtPtRnJJ4WqA3TaFqljN2F5hQyZJcic2Vpa2P6puWd6k4AxciTzal2LNRfcL5Z7YSlv0GA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721333150; c=relaxed/simple; bh=sWojNL8X3rJmlXPs3cnoX095NrxoBO7ydIDoBqIVh5c=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=BguIFUsMmYZ60YSGEoSq6HIfczCXg5U3YYk5fIh1ozYSW2msKm/mapBr4+6YGe/hDswufPQP+iQoXcOXr3VGUIXaqVvbpOqt7D4z3zk8c+d/vnR0YjVYvMxr1V8YZ1i6r1vG8k/vlBwi7uSK8AkjbUgYiqFq/9a2m+OK3GqtKZ4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=cI2DY2b1; arc=none smtp.client-ip=209.85.214.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="cI2DY2b1" Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-1fc5a93ce94so1332385ad.1; Thu, 18 Jul 2024 13:05:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721333148; x=1721937948; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=WXheKtONB63mZnV81Atvib1hdZFKffpvx2FPmF7KKQk=; b=cI2DY2b1V/1k1FppRBkgWujuQC6gpTGoYzuWOKjpn+dzyeMP2WQKcFkLG8s1lrhQxV 32f1HnYzRvKoBD9MncuVjRi68ZCUgP9+eXxe4H7zxs4lH9JzD4ePpHG6s2aRCmRQrnpJ wf5m7EDTdSpRzmV+PwUEThfCGQyx9YGdnY7Payqvq3l4ByqOutWZa+7yk1Qa09Qzcu+Q AKVuiwEi0hA/Tbo7j1hNiqnXYux5UQ8yS3ICPHG5M9AJDsicMkq0ULte4lSWmKHDtCc7 Xv5Kx5tnJi6YLe8tCopmacAU3vvUR0Va49kxeHzeScQYPUtjd87JQD8XVHTYz8djjTZy sqyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721333148; x=1721937948; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=WXheKtONB63mZnV81Atvib1hdZFKffpvx2FPmF7KKQk=; b=jmgSoOo6qJ4shNeu/mVq0Pln+kwPoNXcQ49CixvcKHeA2Blxd5/OTupAUzrC1tapOm qs0IutDGfpFkbWYR2B/Cefu3fiSxxsoYFXkDRRaOkU8WbzIGN18wPxnpJjLshZdlbnPv AElRjlGt7QR/8XBDed4gsY2K7B3LitGvECZ5EQQgygcCXDaQrbAM801pQafJWix41krG UVo1jJ1RxHJFpFsaQokdotio7XPtT/zXjeNmOpeKNHn+cOxM7a1MlF4C6LuFBcGI/Hw/ Lg/et69H4bG7s+65rV2dhcYJd+35ZLfyO0iSxMOl2USaWKfGUqyUrH1oOSJJdCE6eoAN vmhg== X-Forwarded-Encrypted: i=1; AJvYcCVXtqVoh1msYrCSo214fe8uIpia0XSOjAOGid/vAukXcloyVBZXHCyUlRooctm4M33tRoUos+k4z2g5AgNsSk+acWgCU5CiUi+Few== X-Gm-Message-State: AOJu0YzUOBfBFeSLNK0J0BHbIq8Z27LsBJtdzwITm3RKiskGE8aLHhZ4 Ncxk4Q7UyhIMjmoUX78fSjbMb5jihnscCHEp6rn1CIgVTS12s55ubcdwXg== X-Google-Smtp-Source: AGHT+IF/IYe/2Zw1VOR52xWQar1QPSGSUaRwwnE259Ei27/3y9xxHfshZ3hbsIINHgM0Huyo4fIvxg== X-Received: by 2002:a17:903:2302:b0:1fc:52f4:1802 with SMTP id d9443c01a7336-1fd5ed5e4b3mr4589835ad.10.1721333147956; Thu, 18 Jul 2024 13:05:47 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:bc92:63f4:6f0e:1985]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fc0bb74145sm97350135ad.3.2024.07.18.13.05.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jul 2024 13:05:47 -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, Fabio Estevam Subject: [PATCH 1/3] dt-bindings: trivial-devices: Document elgin,spi-lcd Date: Thu, 18 Jul 2024 17:05:38 -0300 Message-Id: <20240718200540.955370-1-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-spi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The rv1108-elgin-r1 board has an LCD controlled via SPI in userspace. Add an entry for the "elgin,spi-lcd" compatible string. Signed-off-by: Fabio Estevam --- Documentation/devicetree/bindings/trivial-devices.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml index 7913ca9b6b54..49dee2a1f6b4 100644 --- a/Documentation/devicetree/bindings/trivial-devices.yaml +++ b/Documentation/devicetree/bindings/trivial-devices.yaml @@ -110,6 +110,8 @@ properties: - domintech,dmard09 # DMARD10: 3-axis Accelerometer - domintech,dmard10 + # Elgin SPI-controlled LCD + - elgin,spi-lcd # MMA7660FC: 3-Axis Orientation/Motion Detection Sensor - fsl,mma7660 # MMA8450Q: Xtrinsic Low-power, 3-axis Xtrinsic Accelerometer From patchwork Thu Jul 18 20:05:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13736673 Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EB22669D31; Thu, 18 Jul 2024 20:05:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.173 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721333153; cv=none; b=QpnXOEsV9jDpWUZ56hw99ctxxTzKproG9dKVbh0cBuqKrSDNzEoQ6xvFmD9HN/XD1JBYf0WeHoD/8SCIWCPWcwGM5Pth+7R8FwWGNpaN37RanzwHvlHJs4m6/aMuzk20VkfMbnfc+s1EuHnGBaPdnvEu+W1TGKiQKIcd+f6U8dE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721333153; c=relaxed/simple; bh=EuGFeLgn+jyO1NSVPim1hmbHweThsEK23Ff72ZwcXcU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Civ4xnlFkU7468fDH6o+vHerY7bLLcTmTWSDPp5O34cjw+A9Fq+SMDvvbevN1ifMWWu8x0UuqYbnNFwSlEl+upIScnP3itdEnKIn/RWsLYtu89O1hFixkeexBWfkMniyV6tKMz35zi3VXrE9ZAEqXl/Q+LSaMg5pucEwO8qmZTk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Ahbcn1g4; arc=none smtp.client-ip=209.85.214.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Ahbcn1g4" Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-1fc4b03fca0so1131625ad.3; Thu, 18 Jul 2024 13:05:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721333151; x=1721937951; darn=vger.kernel.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=RCUeWfTYXcd89Nebwtk5iY6NopsRqRRFJongsyDR3QU=; b=Ahbcn1g4yBJy8HpcOYaiGLS1Q7uVN8UGJGi+xsLK34/41lvHrBs8Ot/Q3AClQGvP5y +cUUHXg3f7N3uMkEv6ji8xEQRfnpxLo0N+zX3VWld4WEQVkRydxkODye3+mra7FVi6Hj Eca25vOt634dD3oxb4rwCTikv6xW89QM4KfdW1EBXbNje73ysZmAQsQCwycsEGr8ZbVC 9oGw32817HKdHdsFW3FUdxrwrewiC8iba+ALn1oXH/lPx8Lp0H03BwCU7LuIlFnSbykT rybfXkwDmYIs/9oAO1A/XCmizVR33CmqE03bdlmOmg9bb10BfFhfSGsMVqesAm/L2T0m /ZaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721333151; x=1721937951; 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=RCUeWfTYXcd89Nebwtk5iY6NopsRqRRFJongsyDR3QU=; b=k+a6aLOEZ/bjuhcYnfNdc0ax7sfCjgp6E/rscWgDJTe8L4z6nR4oJJREO+lpQWWMiF TRmHo5U63jiiGqJ+m4neQJxfBU21b10OW94Upa7C3OhIQEkLlQds5gmgjXBCMiUnd9du 9oLyjphg8eom8c7v62lFIQLwjk9afiP60HbRaVk5ZoknXfaa0cG9cgCNC9ry9uzN5CRB +bRN/VFC2kBgQS0sFixs6T2cQLZfJ/YXf4pSMCPUf8+7Jh0ENG7LMVggJMcb37rxfagy qFQcMKZJdj0F6tvUuRsE+2fsqW74ygjk/Om/M8Lftbhdir4IdX4/xrt6FMdhmMVXaep4 bSHw== X-Forwarded-Encrypted: i=1; AJvYcCVy2LXqwvZTifhyfMU0kdzlkMXe+GztewpgxDFRxoh7ms7g0EnkY07TGZWi10jk7jZDNhlsZUZ6xHWJcwBFZC8vSE/1x0MRXcWurQ== X-Gm-Message-State: AOJu0YyAB/IaKvjjZQn51HnrSF3bxNvOIunEKYnH4ZaKN4usYxmd7rxo Tsg2L55E+BpZMxShaV/b4YAOQGZ5p+Apn8vCMDT2z+NWYKW/ApnXsj6/aw== X-Google-Smtp-Source: AGHT+IGvDSTNe79yH2dsg4k7UaByz15AEFPgV5CBCPzblt6KspaHKgyyJcaHdPMCHnusBi9Iy9X25A== X-Received: by 2002:a17:902:e74e:b0:1f3:10e8:1e0 with SMTP id d9443c01a7336-1fd5ec5b9b6mr4718395ad.2.1721333151055; Thu, 18 Jul 2024 13:05:51 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:bc92:63f4:6f0e:1985]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fc0bb74145sm97350135ad.3.2024.07.18.13.05.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jul 2024 13:05:50 -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, Fabio Estevam Subject: [PATCH 2/3] spi: spidev: Add an entry for "elgin,spi-lcd" Date: Thu, 18 Jul 2024 17:05:39 -0300 Message-Id: <20240718200540.955370-2-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240718200540.955370-1-festevam@gmail.com> References: <20240718200540.955370-1-festevam@gmail.com> Precedence: bulk X-Mailing-List: linux-spi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The rv1108-elgin-r1 board has an LCD controlled via SPI in userspace. Add the "elgin,spi-lcd" compatible string. Signed-off-by: Fabio Estevam --- 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,spi-lcd", .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 }, From patchwork Thu Jul 18 20:05:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13736674 Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2778D69D31; Thu, 18 Jul 2024 20:05:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.169 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721333156; cv=none; b=DhsVcFuM0hhD3FC7pvzW3IYxhSSE/1YNBvNNhQyO2FAONvQkDw0COZjkMflS9pjUnHPoC6+QxWU3PUNCQscBEWpun3nHIHPSsZt1rWIKe/8P6vW4Bs/49X5vQw1WrKdr0YiReDAxhu5mdzgP8UCwytbWsrnZQXfMwM4WbGpDypo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721333156; c=relaxed/simple; bh=seoxYgat+6J640iJDS1FtT9nanPqBr1LbV5X968zLUM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=iIPY/7yvi2N5IoIKL91Gz5vi0Vtz6Llxphpzy94H9yfpBz6wKqjSKffX4E39tegllyO+WB0pdLVlfWc1Y3O6mjENDrmpqmkelNiXI1yJjyLL0uOGcWUPBVqhijdNLnSP0mWxgmenxJ1xVxQBhOJVexdJ+kcDvK03CisNmc39CFA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Q48LjsiY; arc=none smtp.client-ip=209.85.214.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Q48LjsiY" Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-1fc0f82e4f5so1323945ad.1; Thu, 18 Jul 2024 13:05:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721333154; x=1721937954; darn=vger.kernel.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=/HEbbNWY9Z5mHrYsqb2yWfy8npWaP5Im1C26uHQ7+pg=; b=Q48LjsiYG3VqGWUAmlsdkYZ8csCOAzgGPcfXMi3s1QOxQMlfuICJ0w4XzKbGjrbLul /gNVR3GEeH2/1aE02Fv08pm2Y8J1iw31JhaWsUhDa+NOQWt8rva5Otc4BCz62liT7JZ1 Dc3Y7jbaYOn+QUFqM2Yj5tyfc5SkbV+XN9mTyyiDuxXufo9npdhPRFbVVxS7lGIb/fgX D6SwL3PK8jIC/wJJALkdLOfO4YcRIEgN4+sOfCGWYgg9qlTRHy5ZBr0dQu8m5XsS6bNi tB46fpe3+4JU5Mq0E2VND7t552BZSseunibGVTmclIknt9UHTy5oX/pbMbWK3FL6yYfx kCWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721333154; x=1721937954; 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=/HEbbNWY9Z5mHrYsqb2yWfy8npWaP5Im1C26uHQ7+pg=; b=OsDglekJYSlxazqaswfWj8EGB38NX3Z1R9BnJiLqPywdGrwu15b+wNIpbEBEjYap/l sw0HLrw5wDTe4hju7QpFwXwTxDWZjb3LDWpc/w68KOZOzq1IOt+mDQ6EEiUhCGGcSAQv kZAXabTRZY4oC1zuzSND2TC53bgtJ8HZGspM58X8Wc4bHNSRwNh4KuM0Y4K/0qc/yXwR fxnnnm5wXBFCqorVnQc9Z++Vg9u+K9pSXfDrw9mzCz0JlVtP81kW3Q/lgAqE1dIsjOkg gTWgJJ+kGsiU9HOJxTcac5SewZXJit7ieV6eY4qwGvDjg1ZLMmtMrLxDumW7UE58nAUN Y3CQ== X-Forwarded-Encrypted: i=1; AJvYcCUQnMMiFfd9JSHGj8IzD/IfRLz0q9e3qP76UCTFGJ9zb64cmoW7Z1ObRGuATJP5XBR8Sob9HEu4xeb39KB9Mw/IogtTFJ+IWEftXg== X-Gm-Message-State: AOJu0YyKr8rE1ssxw7xpRZNr57Th0rUNfKtSLaao34NZ/hJrZP3m28Ur K7Irry/xN+gzHM7ZW5l73MOoW2WHGv8pLsFxZOwo4YSMq+1w2qGn X-Google-Smtp-Source: AGHT+IEGG1ywSSeOx176WKs+s7kKUKcub5mzF+z9PhVOaBPgWFb15APDf+a3XETGrQDwr0M8Wiga3g== X-Received: by 2002:a17:902:f68c:b0:1fc:52f4:d7c8 with SMTP id d9443c01a7336-1fd5ed72a6cmr4470775ad.10.1721333154374; Thu, 18 Jul 2024 13:05:54 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:bc92:63f4:6f0e:1985]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fc0bb74145sm97350135ad.3.2024.07.18.13.05.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jul 2024 13:05:53 -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, Fabio Estevam , Conor Dooley Subject: [PATCH 3/3] ARM: dts: rockchip: rv1108-elgin-r1: Do not describe unexisting DAC device Date: Thu, 18 Jul 2024 17:05:40 -0300 Message-Id: <20240718200540.955370-3-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240718200540.955370-1-festevam@gmail.com> References: <20240718200540.955370-1-festevam@gmail.com> Precedence: bulk X-Mailing-List: linux-spi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 There is no DAC connected to the SPI bus of the Elgin RV1108 R1 board. There is an LCD controlled via SPI though. Properly describe it by adding the "elgin,spi-lcd" compatible string. Reported-by: Conor Dooley Closes: https://lore.kernel.org/linux-arm-kernel/20240717-parrot-malt-83cc04bf6b36@spud/ Signed-off-by: Fabio Estevam --- Hi Heiko, Conor sent a patch removing the rohm,dh2228fv entry from rv1108-elgin-r1.dts: https://lore.kernel.org/linux-arm-kernel/20240717-parrot-malt-83cc04bf6b36@spud/ If you prefer, I can send a patch on top of his. Or you can apply this one instead. arch/arm/boot/dts/rockchip/rv1108-elgin-r1.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/rockchip/rv1108-elgin-r1.dts b/arch/arm/boot/dts/rockchip/rv1108-elgin-r1.dts index 2d9994379eb2..971bb617e845 100644 --- a/arch/arm/boot/dts/rockchip/rv1108-elgin-r1.dts +++ b/arch/arm/boot/dts/rockchip/rv1108-elgin-r1.dts @@ -168,8 +168,8 @@ &spi { pinctrl-0 = <&spim1_clk &spim1_cs0 &spim1_tx &spim1_rx>; status = "okay"; - dh2228fv: dac@0 { - compatible = "rohm,dh2228fv"; + display: display@0 { + compatible = "elgin,spi-lcd"; reg = <0>; spi-max-frequency = <24000000>; spi-cpha;