From nobody Mon Nov 25 03:39:45 2024 Received: from mail-pj1-f46.google.com (mail-pj1-f46.google.com [209.85.216.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 168A0215026; Wed, 30 Oct 2024 21:12:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730322753; cv=none; b=QhTy8FoVgblFnJaXAFs2hX/ATAUlJQaGQcdEtNuaFvKyw6aKOQaldZCguJFAs3Mdg6Hd+EyQCZ3quRs8QH251M/oi2Qpia/hzuqw95b24diw+HJ/jye62d74xYLzVRSoonjc3Nfi1wVhpWu42OaFQzLYbhGdWu9nQ3B4Ar03Dsk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730322753; c=relaxed/simple; bh=FQduf5cwXIgUyz/63A/Nc2IGXdKSOXKo45SIt/5WtS8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=GzRTKHW9WtHcqP9z7JhbnxGg5on9Pmeg3WhvcioFfi9io7CgV/mtc2UavFcra3AdbsbYfqdqm64iGvKBgPvjoi1yxN848pXxd8n2G80z9edkFrcK3H+FMMvwM0We/9ukL5+dDgcctvAFVAR8CkIr2pYhQbqNLFz9Y1d2XwZuumk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=gYSD0Eh1; arc=none smtp.client-ip=209.85.216.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="gYSD0Eh1" Received: by mail-pj1-f46.google.com with SMTP id 98e67ed59e1d1-2e56df894d4so198606a91.3; Wed, 30 Oct 2024 14:12:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730322750; x=1730927550; darn=vger.kernel.org; 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=Oe5hHL8GbBpLCsAL+CtzpElKiB4JLj+qmFfxgJqIhIc=; b=gYSD0Eh1NxND6gi072fh0JEqXbjtXvQqZZXAJrcFxe9k1X+qZLoOd4YAedwV7hcIer GygCm4qobvQ4gcpRl7bhbb9AQgfV3f+DMpzTctE9Q8f1k+ew6+cZR7ZzLcotmP2CrFaI wpyi/43azrN+fwNeXBu2VUnoCK2Tc3OqWeVvSZoUd+YVbZM1BtHdtPyU1Z6U7H6QSv81 emjLUknRE3RjOI6c/gKMuacLx1PHsIQzaDezU4BnduqGqN0nAxxerhz89K4OUVGVIx31 w0mznGj29O86K8qDSiFPVBvkTIpUTraUrZ/D1nuZjKnsmmoUXUb+dAtgb/tOcJ8QQpGg 1yFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730322750; x=1730927550; 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=Oe5hHL8GbBpLCsAL+CtzpElKiB4JLj+qmFfxgJqIhIc=; b=FvjIf6QIQLyV0X9JNib+Nw6NZRUfTIHsJ9aqo3uyLcqLEA47JYofyqo91XjfSZp/sD Q2wbXW+YotQIURaz42jId0HgJVPp+GBoWAbthvoCOz7qxT/Zft3mjDSDM1EVjwySIcjC 2+c4P9qEfaHbclgPkOM7cmO9wo/gBo9qjhF6HXZFdw3tnFnvLHBM9EiWqJudKACCK/0s VW7mZOpDLKxTrYuBBDfmtpULA9YvYA9bcharFi/HDSWdwiznhZPDCCyc0RzdvpXCPd1c ADf52UhhtZJz57DM44hd1Ztb5toW41uYMefS8W9pGLW6P7y37Wpf7tZ0kMsVq1eGnDYq oD4Q== X-Forwarded-Encrypted: i=1; AJvYcCVcbcO4Kir84ZU+Au8J2NY0BCn7YfLaY9+jj7fZAJbzVvIOvcpkqusvtXfFph1y2FBPBnyV6Rc9A+oxPYCSlEtI@vger.kernel.org, AJvYcCWt2eIk+nlqVV4yGqobMoGNkqkvgbBeOfKhiCcGeOmOGr0HpIFYjBR1wjMYGegKLXFotzvXrxr3sU66JRPF@vger.kernel.org, AJvYcCXOtrTX2ty+xWB7iEjqz4xf7sPFXx5ASMD9tvQSSG3oWT7QK1bUNcWr73rUv+Pt45gvTqZwEz6ejO4t@vger.kernel.org X-Gm-Message-State: AOJu0YykxXRaYx4N1H3sn8K602xuEgjGT/NxVub2UpJZXl/U0jajwcQI 1va79g194GccAswRjrfsf484rflJTfymSliSsj0JedNFo3btTWT5CoO0V4t8qDc= X-Google-Smtp-Source: AGHT+IHJLuVQMqgVFpdKwBvPrnyY2bgMg18Z5qZlDnVxg2ixq1YP432b3XFZAeeGW+9FSIrCgQuGUA== X-Received: by 2002:a17:90b:38cf:b0:2e2:ffb0:89f6 with SMTP id 98e67ed59e1d1-2e93c14fd1emr1031795a91.15.1730322750364; Wed, 30 Oct 2024 14:12:30 -0700 (PDT) Received: from mighty.kangaroo-insen.ts.net ([120.88.183.142]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e92fa0ed5esm2406800a91.2.2024.10.30.14.12.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2024 14:12:29 -0700 (PDT) From: Mithil Bavishi To: Aaro Koskinen , Andreas Kemnade , Kevin Hilman , Roger Quadros , Tony Lindgren , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org Subject: [PATCH v2 1/6] ARM: dts: twl6032: Add DTS file for TWL6032 PMIC Date: Wed, 30 Oct 2024 21:12:10 +0000 Message-ID: <20241030211215.347710-2-bavishimithil@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241030211215.347710-1-bavishimithil@gmail.com> References: <20241030211215.347710-1-bavishimithil@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add a dedicated DTS file for the TWL6032 PMIC (Phoenix Lite). Already has driver support with TWL6030 (Phoenix) since both of them are so similar, some nodes can be reused from TWL6030 as well. This can be included in the board files like twl6030. Example: ... &i2c1 { twl: twl@48 { reg =3D <0x48>; interrupts =3D ; interrupt-controller; interrupt-parent =3D <&gic>; }; }; /include/ "twl6032.dtsi" ... Used in devices like samsung-espresso, amazon-jem, epson-embt2ws etc. Regulator values are found from downstream kernel for espresso. Signed-off-by: Mithil Bavishi --- arch/arm/boot/dts/ti/omap/twl6032.dtsi | 81 ++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 arch/arm/boot/dts/ti/omap/twl6032.dtsi diff --git a/arch/arm/boot/dts/ti/omap/twl6032.dtsi b/arch/arm/boot/dts/ti/= omap/twl6032.dtsi new file mode 100644 index 000000000..1518a2c5a --- /dev/null +++ b/arch/arm/boot/dts/ti/omap/twl6032.dtsi @@ -0,0 +1,81 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * Integrated Power Management Chip + * https://www.ti.com/lit/ds/symlink/twl6032.pdf + */ + +&twl { + compatible =3D "ti,twl6032"; + interrupt-controller; + #interrupt-cells =3D <1>; + + rtc { + compatible =3D "ti,twl4030-rtc"; + interrupts =3D <11>; + }; + + vana: regulator-vana { + compatible =3D "ti,twl6030-vana"; + }; + + vio: regulator-vio { + compatible =3D "ti,twl6032-vio"; + }; + + ldo1: regulator-ldo1 { + compatible =3D "ti,twl6032-ldo1"; + }; + + ldo2: regulator-ldo2 { + compatible =3D "ti,twl6032-ldo2"; + }; + + ldo3: regulator-ldo3 { + compatible =3D "ti,twl6032-ldo3"; + }; + + ldo4: regulator-ldo4 { + compatible =3D "ti,twl6032-ldo4"; + }; + + ldo5: regulator-ldo5 { + compatible =3D "ti,twl6032-ldo5"; + }; + + ldo6: regulator-ldo6 { + compatible =3D "ti,twl6032-ldo6"; + }; + + ldoln: regulator-ldoln { + compatible =3D "ti,twl6032-ldoln"; + }; + + ldousb: regulator-ldousb { + compatible =3D "ti,twl6032-ldousb"; + }; + + smps4: regulator-smps4 { + compatible =3D "ti,twl6032-smps4"; + }; + + gpadc: gpadc { + compatible =3D "ti,twl6032-gpadc"; + interrupts =3D <3>; + #io-channel-cells =3D <1>; + }; + + twl_usb_comparator: usb-comparator { + compatible =3D "ti,twl6030-usb"; + interrupts =3D <4>, <10>; + }; + + twl_pwm: pwm { + compatible =3D "ti,twl6030-pwm"; + #pwm-cells =3D <2>; + }; + + twl_pwmled: pwmled { + compatible =3D "ti,twl6030-pwmled"; + #pwm-cells =3D <2>; + }; +}; --=20 2.43.0