From patchwork Thu Jun 4 00:43:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 187449 Delivered-To: patches@linaro.org Received: by 2002:a92:cf06:0:0:0:0:0 with SMTP id c6csp979351ilo; Wed, 3 Jun 2020 17:43:34 -0700 (PDT) X-Received: by 2002:a19:f813:: with SMTP id a19mr1052016lff.212.1591231413947; Wed, 03 Jun 2020 17:43:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591231413; cv=none; d=google.com; s=arc-20160816; b=RiFQqPru/gc+1g7VNGMPEjismDpxGWvnxQh+6mWMvtBMhEabbuO8M7FEEhPYZ6MMiD 0G0J5gHAXM+0VC8YS87Q5+T/5jSTWFop/MgIkGwWBnQfNCddxo74SNHj2CGOw0LWj2e2 5OvXxl9CXRugDLlLm6+jBOGNiIVTEvl/bu8L+sN5KKoLhnZqPHVKXu8DTzN/W9dx/ogr Gbg0NwAJONhjCWZdRQY+mXMYHS3eN3fHBQ3f9NYa8jG1Z1Op6HXkOZCZH70iO9YhbdOw 521zDmuhbXfgHpCsV+anXjA/CUbD4zq+VndiChw80SAjdo05za4VFj7D1l0cRoPEMgLT ODDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=cRs2X+oeKdHfeX7eb6eCjnPnFevRST0za6Vh4RscaYk=; b=0xvOaQKm654ZrNOaDN9YyuaCgVjLdacrz0noqRs2tdDdWrE07N9Sg3DO10ofTiGS70 wHFj9TBxpsrkicQNVYu3xlyHlnYVGSLoR30yRX3FEKS+19eWzFDMCHYPXzr16d+U8opg hjBEhcqW5dsMsQfsgO7h+ra+5htkOauTjDN4z/GsCP6lrdBrzN9K2ShhaV6+KSe/pIaT q4sEI9lFTyuDAf+iYNP8/hWeBQO0Yj24kDS5bbTrELpjnEN9AoTaQy6ukh0QOFUKSsuP /jtX2Qrk/dDQ+CWaBNYSuYrJC/68XuVyY/3uJrgZaHrQjdcWlOpbxL2ZgknlqgtlNKRH czqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=F61Eg71t; spf=pass (google.com: domain of dmitry.baryshkov@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=dmitry.baryshkov@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id u1sor2085075lji.68.2020.06.03.17.43.33 for (Google Transport Security); Wed, 03 Jun 2020 17:43:33 -0700 (PDT) Received-SPF: pass (google.com: domain of dmitry.baryshkov@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=F61Eg71t; spf=pass (google.com: domain of dmitry.baryshkov@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=dmitry.baryshkov@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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=cRs2X+oeKdHfeX7eb6eCjnPnFevRST0za6Vh4RscaYk=; b=F61Eg71tZo7yLrSch48uDBf0KGXE71dR3HqNioWJV55S47JVRdokkrYs80rBGWti5/ XEV1n92aHxZsHxfcwi32EyGaIXmtYgacwjIGmqmIzrMif3TSuH31NEOL8GClMmPwj8Bf 9XTRws7vdUclGUMSMgL2sxdjno7P9KhvriiO0nDn3BVQZj/lwM2+ctlcKOMcSZ610PAG OBbnqFVftCDzTnIt6JtDFtS88DzYhVpvPorl3aKDfzGHssRxOfaH/k9tlT6spSHqFfnj wdIX2n8W2d4WxgAHcV28FMC9Fx3MnxDVtdBu9G+QUyNbQA+RmLu1PhTcw+y36vz/kFqJ ndEA== 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=cRs2X+oeKdHfeX7eb6eCjnPnFevRST0za6Vh4RscaYk=; b=WQW/eIod2AK2ujwx08WBdQ+eL89uujcKlRYrLLCpaaBf6goQzNzilcFJhxuEfWVFJM 8gxr5vo5zMCzOHHVQg8ZUNsiJWFyBhTIzhKnvTa2yTVLzlP3cbN01YuzNGS7QKXGUDdu +c0XytcKfU9Znbnl4EEmFIdFAgv3jvSqvhEtLb2hxdeCouChsaNbT62oNCR1my5GOEMl zsBKTgPWpX+9jfIEkwlhLKMQNkqfhnJFNAreQj/mBOxLiLjXchfmguSpVLbTkx5IoZLb iiiqtvJ64+HjecohhIYaJrS/Agyb2XvI3XcyohqjUXZ/yaAg1NW+gPSvIkDyOUQDUfE3 AQYA== X-Gm-Message-State: AOAM53347ak4fOQ9V5KPb55S3Oc6lDQ5nSJhHb4cjZo7roZLlG741XvV wYVTJRwTETuv+cRT0zIZR2rzg9wm X-Google-Smtp-Source: ABdhPJxKJLWg8HQ02rdlWfobnc/UXxVw60sSX6mDM4NyyI2j3u4EiXaSOG8SVYMOqXoJMYQ9gnhVnQ== X-Received: by 2002:a2e:9783:: with SMTP id y3mr733957lji.457.1591231413382; Wed, 03 Jun 2020 17:43:33 -0700 (PDT) Return-Path: Received: from eriador.lan ([188.162.64.226]) by smtp.gmail.com with ESMTPSA id t16sm858527ljj.57.2020.06.03.17.43.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jun 2020 17:43:32 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Rob Herring Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, patches@linaro.org, linaro-kernel@lists.linaro.org Subject: [PATCH 1/7] arm64: dts: qcom: pm8009: Add base dts file Date: Thu, 4 Jun 2020 03:43:25 +0300 Message-Id: <20200604004331.669936-1-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Add base DTS file for pm8009 along with GPIOs and power-on nodes. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/pm8009.dtsi | 40 ++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/pm8009.dtsi -- 2.26.2 diff --git a/arch/arm64/boot/dts/qcom/pm8009.dtsi b/arch/arm64/boot/dts/qcom/pm8009.dtsi new file mode 100644 index 000000000000..9f3e19b5bd00 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/pm8009.dtsi @@ -0,0 +1,40 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. + * Copyright (c) 2019, Linaro Limited + */ + +#include +#include +#include +#include + +&spmi_bus { + pmic@a { + compatible = "qcom,pm8009", "qcom,spmi-pmic"; + reg = <0xa SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + + power-on@800 { + compatible = "qcom,pm8916-pon"; + reg = <0x0800>; + }; + + pm8009_gpios: gpio@c000 { + compatible = "qcom,pm8005-gpio"; + reg = <0xc000>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + + pmic@b { + compatible = "qcom,pm8009", "qcom,spmi-pmic"; + reg = <0xb SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + }; +};