From patchwork Wed Mar 8 10:40:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 66143 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp261004wrd; Wed, 8 Mar 2023 02:59:15 -0800 (PST) X-Google-Smtp-Source: AK7set8PRQeh35bcMOL16POIjUq571Tqbx4T8vtrfygorHVSWRPO5uZZ3NcqvmX7RzxxSZVgTKz7 X-Received: by 2002:a17:90b:1c87:b0:234:d78:9b4c with SMTP id oo7-20020a17090b1c8700b002340d789b4cmr18198785pjb.18.1678273154926; Wed, 08 Mar 2023 02:59:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678273154; cv=none; d=google.com; s=arc-20160816; b=iw3B8uueVsUTR3TU11qLe8bH35HbzO1lDDmiM5FIxJmMhb6BCRXQtN1RGCPbE1YB4i x5k1U/zjYopqKn3ZBPHdQ++wiQLvR9qaGPqLNDtGNBdXaujqKq+AiClw0iyC90Er45c4 Y1HcoId6hS8RZBLELEDxEvR6ux+ODN9FnG6O0p17ueQfkipCVFZZKLFYgaj8A73JgFh8 HqN5+gKDftG7lrv0aoTLTvGApJFcCe0TVUIAKMR32SjLPHo7LAIzL4qU6nPpKLg7iIP3 Kgcg5I9beXNmH/NDtcRpoMIJstKD6oSdP7etPSmTW9OoZJ7D91buu+3iV1OdKf/GPsZs yLoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=AROI/tjMFfPnWcGbgejV93q7I8+DDtZkPpKGekOFje0=; b=nh76J33YEnUfdlx2XH/8eUGXJ6hyLutm4XShjbOArIreKcYJn7LKV1pocXRSsIccVQ zVr5mL+WT6PN59ApBUslTuFvT9EvMc5qSNT1TBhTKs+nGs6Yp0HRb6GYa9K/HPbWPv5Z WBvKcNd1tfOX9SdQrUhFRg7jCvbPeAwD9r2X5y1fuOpFRD7CDhrE8WyzOoW9VuZzS6u5 lSpw1bEYvrSzjyaJpp6z6O7KaXbaotkJV/nFYHCLpK9h0F5CJtjsG8VD0xm44cMXK7qU IwZ7U27EGMpHd2avQXqolRb7hzBTaj7ovytmCtrNuflgg2NrW788bkvzsFcOIU2U42mz lqAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=55+wbjaA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l11-20020a17090a4d4b00b00233f3034302si16009016pjh.46.2023.03.08.02.59.01; Wed, 08 Mar 2023 02:59:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=55+wbjaA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231231AbjCHKkg (ORCPT + 99 others); Wed, 8 Mar 2023 05:40:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230218AbjCHKkU (ORCPT ); Wed, 8 Mar 2023 05:40:20 -0500 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16FDB9BE24 for ; Wed, 8 Mar 2023 02:40:19 -0800 (PST) Received: by mail-wm1-x334.google.com with SMTP id d41-20020a05600c4c2900b003e9e066550fso832465wmp.4 for ; Wed, 08 Mar 2023 02:40:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1678272018; 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=AROI/tjMFfPnWcGbgejV93q7I8+DDtZkPpKGekOFje0=; b=55+wbjaAZC++56lCkeffC5qxVDk5por5b7MVu9k0NYiH3ucpnW8s0o8k+OQ6RuLEnN GDDBaONSzh8472XE4SMV4ttWE/QgKmmIBpBQsK5OF9hVWmAwLwpcgJlBW6VyePL73H8e PslwiFNNP4NVY5hd3ixCM0Y0QQmYpy/Z3VJSW055aPsmHl3znAKXXjTlHJsMIICRCMi0 pHmVIQS46qozosJoD8sCm1apn8S0MPd+nc4g72+GgM5R8lFl1DIyrOKDE67g75B+gVCA 9q3i4TcpkTVmxLvPst371oOswD7rduGNA7/iYKn6FHTbHsyC/7k7btHVYyGM1ZZpOVcu qpig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678272018; 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=AROI/tjMFfPnWcGbgejV93q7I8+DDtZkPpKGekOFje0=; b=KZG1o1hwqILstqtgJFbRU3/nWvGdNDqi43CCsJxKuOCjU4obYXpB0tn6lWA8FVrqqr ODEzNsK3ka/hgacjE6k/HrntnZ5KWaeuqTBa9+9uFWzPlTzTyXfz9AkjkPp7/my/NeMo zJXz8ZuHIn1b8BmZr/Cb206bksPqhBXdOUbrxxOt2adgw3FniqauADKI9v07czZp9WsT NA0zGTeVTLbHwzNfPbbvOfxRd47NxrO7SB2bfHHGxg4BIj2ETKZDgZBD35r/Yp+rh3Ar 1ekYRHc1capM3255g9rXWafHZ3COTanXF3Pi3vr47Qw8OubBmomfZc8fcH0DawnYopJ5 WJ/Q== X-Gm-Message-State: AO0yUKUIju7F97vml8utkervmlR4cQFpkx7IdoaPHwocaLM+EdFl9HsZ H4ybpbZuriNQvg/KM5aom/q2dw== X-Received: by 2002:a05:600c:3c9c:b0:3ea:bc08:b63e with SMTP id bg28-20020a05600c3c9c00b003eabc08b63emr15964755wmb.2.1678272018709; Wed, 08 Mar 2023 02:40:18 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:2326:fd4c:82e3:7e07]) by smtp.gmail.com with ESMTPSA id v7-20020a05600c444700b003eb0d6f48f3sm20664135wmn.27.2023.03.08.02.40.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Mar 2023 02:40:18 -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 v4 5/9] arm64: dts: qcom: sa8775p: add the spi16 node Date: Wed, 8 Mar 2023 11:40:05 +0100 Message-Id: <20230308104009.260451-6-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230308104009.260451-1-brgl@bgdev.pl> References: <20230308104009.260451-1-brgl@bgdev.pl> MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759796951557603730?= X-GMAIL-MSGID: =?utf-8?q?1759796951557603730?= From: Bartosz Golaszewski Add the SPI controller node for the interface exposed on the sa8775p-ride development board. Signed-off-by: Bartosz Golaszewski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sa8775p.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi index d65e7826f1d7..992864e3e0c8 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi @@ -504,6 +504,27 @@ qupv3_id_2: geniqup@8c0000 { iommus = <&apps_smmu 0x5a3 0x0>; status = "disabled"; + spi16: spi@888000 { + compatible = "qcom,geni-spi"; + reg = <0x0 0x00888000 0x0 0x4000>; + #address-cells = <1>; + #size-cells = <0>; + interrupts = ; + clocks = <&gcc GCC_QUPV3_WRAP2_S2_CLK>; + clock-names = "se"; + interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; + status = "disabled"; + }; + i2c18: i2c@890000 { compatible = "qcom,geni-i2c"; reg = <0x0 0x00890000 0x0 0x4000>;