From patchwork Thu Feb 16 12:52:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 654598 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 7385DC636D6 for ; Thu, 16 Feb 2023 12:53:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230488AbjBPMxR (ORCPT ); Thu, 16 Feb 2023 07:53:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230221AbjBPMxM (ORCPT ); Thu, 16 Feb 2023 07:53:12 -0500 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 196E648E30 for ; Thu, 16 Feb 2023 04:53:08 -0800 (PST) Received: by mail-wr1-x434.google.com with SMTP id m10so1752382wrn.4 for ; Thu, 16 Feb 2023 04:53:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; 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=dibhyEZtmC71mf7EJSLWFvkJAQUY//1IZfvc8uLBhaw=; b=E160OixKVn90Zpizo/M3/xEFYcyRRa/ZXahSb91waDLEM8CkY0pOfJ94KT+2CNrbpA OIcBQJtTj0JiQkqn1kf9QeiLKuzWxrWBwj7BooNZiopqlGCjcOAiM4z1T7xw1lH5EHJm xs5M/1mJGlg/2V5R79Jo9i3nbWQgEjOl7dZIRkdwOjI0C7CRdzHsEjLnIBvGLSYBqVnP /jmX7rxl/uCnZCY12BM/DppcSV3eborERAUSxomSX8wSQV+pdtZDOmdqUe2GMop5YKZN rBzG2nY1i0t7WEncfe5lXrtRT+QYAwq+bHoRPdf8x2qvaZSUGfnxMx6QsxUyJY0hYnds ys+g== 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=dibhyEZtmC71mf7EJSLWFvkJAQUY//1IZfvc8uLBhaw=; b=apP0l+WxFiPSsw6fr4pIdy2ucT/myD46GD9iD2o3bp/JaMTtKOGw/UB/vpkXk7rbuB 8RqcYyaXL7cn748ixLWu5oYcKVTl8RibXd1/0UPvDmRefW6jwGww7FHYCqX4jEEqZZdn QuD9fsCY6wYGFKdtcpK9soeO7KI0e0mgAW+8ioCKsRHSu3em2ww6O+1Tgn95ITLfwLk3 4pdzGq46Vn2ebBAkBqPx7Zf8RjhtFnVZMXurUrB/hTB83Q1RtoVFMQJBWnXFC+5t+qXS aHktvFfsPuzsOviM+JhzO3k66MmBmHazpfsFS345kolNeOf3Kve7i/7hyGgLkq5H0cn/ PYhw== X-Gm-Message-State: AO0yUKUqu0m8HTTCcmfDED+eHhU5wtmq5VVxZLcB3iCKZvk6VSl/8fgV wkxmEPUHKsH3DLt98xo/ngkWRA== X-Google-Smtp-Source: AK7set/4zjAVRkIhO53ldU71bp1KqctiEVHhvuH8slmb/qQuJ2do0Q9irXuM9u4q8pEeHCQsPd8O8g== X-Received: by 2002:adf:f450:0:b0:2c5:5759:12d2 with SMTP id f16-20020adff450000000b002c5575912d2mr4825255wrp.35.1676551986668; Thu, 16 Feb 2023 04:53:06 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:7c5b:1160:db5d:72da]) by smtp.gmail.com with ESMTPSA id h18-20020adffd52000000b002be5bdbe40csm1453292wrs.27.2023.02.16.04.53.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Feb 2023 04:53:06 -0800 (PST) From: Bartosz Golaszewski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v3 6/9] arm64: dts: qcom: sa8775p-ride: enable the SPI node Date: Thu, 16 Feb 2023 13:52:54 +0100 Message-Id: <20230216125257.112300-7-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230216125257.112300-1-brgl@bgdev.pl> References: <20230216125257.112300-1-brgl@bgdev.pl> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Bartosz Golaszewski Enable the SPI interface exposed on the sa8775p-ride development board. Signed-off-by: Bartosz Golaszewski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sa8775p-ride.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts index 5fdce8279537..d01ca3a9ee37 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts +++ b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts @@ -14,6 +14,7 @@ / { aliases { serial0 = &uart10; i2c18 = &i2c18; + spi16 = &spi16; }; chosen { @@ -40,12 +41,25 @@ &sleep_clk { clock-frequency = <32764>; }; +&spi16 { + pinctrl-0 = <&qup_spi16_default>; + pinctrl-names = "default"; + status = "okay"; +}; + &tlmm { qup_uart10_default: qup-uart10-state { pins = "gpio46", "gpio47"; function = "qup1_se3"; }; + qup_spi16_default: qup-spi16-state { + pins = "gpio86", "gpio87", "gpio88", "gpio89"; + function = "qup2_se2"; + drive-strength = <6>; + bias-disable; + }; + qup_i2c18_default: qup-i2c18-state { pins = "gpio95", "gpio96"; function = "qup2_se4";