Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp1886525rdh; Sat, 25 Nov 2023 06:19:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IFWDREEpkTxj9/432HeDF2ZJ7SjZWN7nJdhDNjR9LMKO2HmYMi2wH6V5ZIGh7bzGlaJARAs X-Received: by 2002:a05:6a00:1d88:b0:6bd:66ce:21d4 with SMTP id z8-20020a056a001d8800b006bd66ce21d4mr6465353pfw.23.1700921963734; Sat, 25 Nov 2023 06:19:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700921963; cv=none; d=google.com; s=arc-20160816; b=QzGABbtOzU2ulgnNkLbAB1WcfbH0AQLihPMPyQq8SCkt0qupKFMjka8VpVU0EiyE3g VVZ1meNiBhL5tZssyatFdSOseNDKlAJLhKRmPLBUnz0J66hq1LGv/1/iEzeLuu/Al4jW vcW95umA8gPEckAsJoOzrl7OQ0dn4YL7nLDdxcr0teSzvmBjjhv755UrJNskQMvw26e7 LWwpQxOWnPYQIDGnqRN19fameSBfZsHoEhod4xoN2ivpKpPnO6c2ZqiBTbbB1vvbf96p ZrFKf9Sjzg3YdM2+BL4W70weBhf4EaZZgdh8AavtW3JBwNxDrAnCAnZVeI71++AosEz6 lazQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=YptWvF1sLLHvvXfICRwlDYacILHWf1Qs1ovKRND9MmY=; fh=f9IYJrZ2tIgkDFQWXFAbpprsZvBqnOiPvy7osrKa52E=; b=ym32ms6GwX+VKW2Nkwa9jdGwzYP15R9dBJLIcAleLj4o/j7Z4SF1gLPq6yZYmpNGki p12/PT4oYzDs61lXKs3bAwZsBEcFICHWHyzdYVA47P7I4w3MChhCcEyTj0KXjTP3h/tA uQQMFep2HVhP3BbNvumc0mmte3m3si0N5N67YVXYwNQVZriFQzmesF7adB1NFf8hXMWF bqH6Qzi4I+yXN3GPZfq8xRWt2dDX4ZBxnMy/GMwF6unl1Q/+dcKqopsMt7CtxDByKjgY X9aXFTqorMeS1nsn3BDu5AavRCDegdwNS0LC1Fg9cQ7pCWKQcOHBb2BA/lqjT24L//yO CM3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=P76PbfWa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id u18-20020a056a00159200b006c34028e37dsi5958894pfk.219.2023.11.25.06.19.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Nov 2023 06:19:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=P76PbfWa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 773B68043C23; Sat, 25 Nov 2023 06:19:21 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232285AbjKYOTA (ORCPT + 99 others); Sat, 25 Nov 2023 09:19:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232367AbjKYOS1 (ORCPT ); Sat, 25 Nov 2023 09:18:27 -0500 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A1FD193 for ; Sat, 25 Nov 2023 06:18:15 -0800 (PST) Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-a049d19b63bso390931466b.2 for ; Sat, 25 Nov 2023 06:18:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700921893; x=1701526693; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=YptWvF1sLLHvvXfICRwlDYacILHWf1Qs1ovKRND9MmY=; b=P76PbfWa9SxbzUBQSdu+ni9PJL6e/0b+4CXLCXyPGaH0RUA0cvfOBIaVmOA0lfaDBJ vVG2/5kZhA983v0CN13nRwiR1lq8agjh1HSgnzVb/VIbrP/5GQbVa27uI8HSOThTVyP7 e/A9l0fEtdilOG0KCMT5j6wFgkE9gRiaAwTkZXzBT3LvYiElodFbITp0MV9evITnQIly LPbk/X4/J3y53bhOYF7d/8MiPtcuSpySnItVSgBDPd1OHSCXIfT3ABsVCX9z8v0Cyx+1 ERWJjqOVHixwvkG2Gs8aODyTlTIKQCzRZtM3ZljMZ3D/vVNROeLGCC+OpQnm3bTVEmoY 5yag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700921893; x=1701526693; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YptWvF1sLLHvvXfICRwlDYacILHWf1Qs1ovKRND9MmY=; b=Sp6EUAnCDRAzClsLl7tZet62g7WYYhImcQbsRGNPnmq26zq560I4MLe+0YX6nxnFN+ 9h7MsaXu4j2XK+uiEMjOWEBpw3q8IsDaCglIAAYZm7PTn93w7mGnvCptw7UDlBBomQcy bsPCtKke0Zb//yE1zGK5lZRC46at0ZfItbVGrtRyHV+J0pxwmpMDOwOzHSHOusRgLxQG GT8AWAfxZGetLpD54xIQn2JB7R90RqVOxFRGRBykR4nDA5YA5rggBUZofGZAIeoXm1NZ t9oAadeOF9s/+8alHChqI9wgc1v7A6EO8ih9BNJ8mKENZKLTHGBg6sQACqQdjvT7QHTZ NDAg== X-Gm-Message-State: AOJu0YyHHv9cp3We60LyjexrjYJazIyBICNGExyYQOt9ctFxKm0CbVPY /FgfcwZwRzKU9UaVkNE70XB5RA== X-Received: by 2002:a17:906:5195:b0:a03:9a89:5aaf with SMTP id y21-20020a170906519500b00a039a895aafmr4262215ejk.6.1700921893233; Sat, 25 Nov 2023 06:18:13 -0800 (PST) Received: from [10.167.154.1] (178235187180.dynamic-4-waw-k-2-3-0.vectranet.pl. [178.235.187.180]) by smtp.gmail.com with ESMTPSA id 19-20020a170906319300b00992b8d56f3asm3500345ejy.105.2023.11.25.06.18.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Nov 2023 06:18:12 -0800 (PST) From: Konrad Dybcio Date: Sat, 25 Nov 2023 15:17:39 +0100 Subject: [PATCH 11/12] arm64: dts: qcom: qrb2210-rb1: Enable CAN bus controller MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231125-topic-rb1_feat-v1-11-11d71b12b058@linaro.org> References: <20231125-topic-rb1_feat-v1-0-11d71b12b058@linaro.org> In-Reply-To: <20231125-topic-rb1_feat-v1-0-11d71b12b058@linaro.org> To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Loic Poulain , Bryan O'Donoghue , Andy Gross , Bjorn Andersson , Krzysztof Kozlowski , Georgi Djakov , Will Deacon , Robin Murphy , Joerg Roedel , Krishna Manikandan , Robert Marko , Das Srinagesh Cc: Marijn Suijten , Rob Herring , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1700921858; l=1186; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=JMbrDi2bxn7DXN0vpomcpuwaGp6goPBlt7d60Jxny0w=; b=Ow4Ll9242Yv5Y/KsoduODHlhgumTpa99uBnKCbAyWQYNOkJS+/6FFM3xsPWfMjhds1Cgj/BkR MwrWiH7RB7lDoCaSaSob+BAKLUxzTFGSFHjKebDh3bFYbzY/x1JMPJx X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Sat, 25 Nov 2023 06:19:21 -0800 (PST) Enable the Microchip mcp2518fd hosted on the SPI5 bus. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/qrb2210-rb1.dts | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts b/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts index ac6584164058..ac597eb3fe9d 100644 --- a/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts +++ b/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts @@ -23,6 +23,14 @@ chosen { stdout-path = "serial0:115200n8"; }; + clocks { + clk40M: can-clk { + compatible = "fixed-clock"; + clock-frequency = <40000000>; + #clock-cells = <0>; + }; + }; + gpio-keys { compatible = "gpio-keys"; label = "gpio-keys"; @@ -449,6 +457,20 @@ &sdhc_2 { status = "okay"; }; +&spi5 { + status = "okay"; + + can@0 { + compatible = "microchip,mcp2518fd"; + reg = <0>; + interrupts-extended = <&tlmm 39 IRQ_TYPE_LEVEL_LOW>; + clocks = <&clk40M>; + spi-max-frequency = <10000000>; + vdd-supply = <&vdc_5v>; + xceiver-supply = <&vdc_5v>; + }; +}; + &tlmm { lt9611_rst_pin: lt9611-rst-state { pins = "gpio41"; -- 2.43.0