From patchwork Sun Sep 13 22:47:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 250285 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2BB52C433E2 for ; Sun, 13 Sep 2020 22:47:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D9B15221E5 for ; Sun, 13 Sep 2020 22:47:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="MGRVfMK5" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725946AbgIMWrs (ORCPT ); Sun, 13 Sep 2020 18:47:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725940AbgIMWrp (ORCPT ); Sun, 13 Sep 2020 18:47:45 -0400 Received: from mail-lf1-x141.google.com (mail-lf1-x141.google.com [IPv6:2a00:1450:4864:20::141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02FF2C06174A for ; Sun, 13 Sep 2020 15:47:42 -0700 (PDT) Received: by mail-lf1-x141.google.com with SMTP id y11so11380433lfl.5 for ; Sun, 13 Sep 2020 15:47:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=a0CnuPu0K6/WLK/liJFiz6d6XaRPvznS10ttRYxon8k=; b=MGRVfMK52cQ2dQ3Pos6elob2rY4hrc2YuM8Sm2XEbdwkiuO1ku6Ug0PpmH5inWkx9X CItcaMKpSvdYKub6O/kOLoXLmzp2eTJXiQ7y7K/+rG4Ls9GOFBqQAmSYs79YvO4S9ExW mYaPAm0B0G1yPPhSaQJqZIW6C+CMt6+u5u8oZgh05UUAZr0U2/mJFvh9ZnvkhAaG/w4a nH4myF/t3OhoMDhsDEsovxuTJA6nLno3pa8YG8kfa3eIJconIuYpLGxefR5kuEtMYVlK 2deygX++ONJh2jfQFnaZEts4/WW8WU2XdFvOiYHSs2a3ghbqbOVKaUu3URakKhbuEROM O/Vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=a0CnuPu0K6/WLK/liJFiz6d6XaRPvznS10ttRYxon8k=; b=sczxfoXASM6CxDIFsMnXogUWi/JbY5d3V3nx+woIsSTbgdgSep90g55pqmqqJ+uH6R Pgait7Cbz3Cc/XK8Z/ErtH4+DtHWmtpTLugS8raWOhguGJf+qc/3bgYn2jLEPhMVCrxg 7OM9BVa5k/ibEmPxBQKG4Z5+PrYbgsRAPOlXixrBh+pZstPK+6hdjGwh98Qx3+4aasCf 3NRgITSoe/PWUAKD82jhjQSM0C5xRtGMA19UN5/gE/M3BI0czbvcqrkH4IzyPI5yzEAs 5J+kVR0hc6wySf5iLKbeovkB50fxr2KS5V/uAlkZsV+GIB5aGou1yV9YebXVlyPrXsNe vF/A== X-Gm-Message-State: AOAM5300RItyTSiUocLrsuFallnG9NhPTiTPsJJgWAWnleJM8UXsmmqR 4h4WsPsV5gI2jdVr3gFDvMZ0UA== X-Google-Smtp-Source: ABdhPJyUkHGVyAza0vXgaGprcY3Q65fp/CUCpm8eZLqKTGRfN9RcZeNlbEROqVtVcqIbvfVPgS1tOA== X-Received: by 2002:ac2:5327:: with SMTP id f7mr3607124lfh.8.1600037261240; Sun, 13 Sep 2020 15:47:41 -0700 (PDT) Received: from eriador.lan ([188.162.64.187]) by smtp.gmail.com with ESMTPSA id c1sm2851900lfh.190.2020.09.13.15.47.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Sep 2020 15:47:40 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Rob Herring Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH] arm64: dts: qcom: sm8250-mtp: add i2c device tree nodes Date: Mon, 14 Sep 2020 01:47:38 +0300 Message-Id: <20200913224738.30046-1-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add device tree nodes describing used i2c busses according to the dts found in msm-4.19 tree. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8250-mtp.dts | 28 +++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8250-mtp.dts b/arch/arm64/boot/dts/qcom/sm8250-mtp.dts index 6e2f7ae1d621..fd194ed7fbc8 100644 --- a/arch/arm64/boot/dts/qcom/sm8250-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sm8250-mtp.dts @@ -358,10 +358,38 @@ &cdsp { firmware-name = "qcom/sm8250/cdsp.mbn"; }; +&i2c1 { + status = "okay"; + clock-frequency = <1000000>; + + /* NQ NFC chip @28 */ +}; + +&i2c13 { + status = "okay"; + + /* st,stmfts @ 49 */ +}; + +&i2c15 { + status = "okay"; + + /* smb1390 @ 10 */ + /* rtc6226 @ 64 */ +}; + +&qupv3_id_0 { + status = "okay"; +}; + &qupv3_id_1 { status = "okay"; }; +&qupv3_id_2 { + status = "okay"; +}; + &slpi { status = "okay"; firmware-name = "qcom/sm8250/slpi.mbn";