From patchwork Sat Feb 24 22:49:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gianluca Boiano X-Patchwork-Id: 775655 Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) (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 2C9B34C63D; Sat, 24 Feb 2024 22:49:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708814999; cv=none; b=t0EYWpFadJ+CAxMUJPKuP2QJoobke1SOFM1YBIpr9FWIfd56aGcuVg88RHd+/OGJxcBsVW+Ngh/p095UL502iQH7Rjxoj7QlGgqyf0ojD0SIpUrIbUxmkPAbS3XtNEJMtD1LbnBEpnWoCbw0tNUCHCA8e//6l+qoGxCjTXpoIh8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708814999; c=relaxed/simple; bh=+M/IcrkC4KiqVSgKEfF4MEPWWH07B+P/vlCcnh7YeNg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=d/NJFUnPlAN+Tc5iV4vntKhCM8zqygqYQy1qiHv7+WGKXubNakfcRE1iVttw+46ArTUeSxCSqWUZi9q5aOA0KaMS1rgA5Q21CRvJcJFaBEpcfvCDnnSwIDtl5LcUkfMKVC0BSPg3UIqH6Cp9qbfzymYZ8wdV5UT2M2vs4SVguto= 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=Z4n6wHvM; arc=none smtp.client-ip=209.85.208.48 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="Z4n6wHvM" Received: by mail-ed1-f48.google.com with SMTP id 4fb4d7f45d1cf-5655c7dd3b1so2870493a12.0; Sat, 24 Feb 2024 14:49:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708814996; x=1709419796; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=dpglvbug8B6rz9FHKHRWvwGpjAjoa19+rytvw+mL+G8=; b=Z4n6wHvMA6d83CuYaa3qrH+S2RI/fVNdzo68PIFxPKSC2Z9x851cyO049Ovfjb3LIO AC/0YUHmMI1/A/b+oPNdU81Rm7yXiQzTJ8p0urhj2Zi6gkTOLljJWtn16RdUsw/0tjV9 79FJyGV48zh9NUf5qCixQ+3k9LOqNLXEJxNe2PTshySjf12PvrFhKjDavc/US25eJdkX QgKyFQK8c9lKDVW13mkyoXBIJ+dUwe80pOqahPxHxfhbKoV7PJSVulfXIfMupT4fI18M ynd+LNclizDyxhhB/grCAfZPdiTZH0YdS/uftuA9kcpirWQCY6sgGyJBEHVhS1W8YhyU Y87g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708814996; x=1709419796; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dpglvbug8B6rz9FHKHRWvwGpjAjoa19+rytvw+mL+G8=; b=j1H5nkKQNOub8EpK/iJ6LrPYFrllvvUifmGk5xQUWy1kwgRf8ZgsMOIRegiksxXwNX 87Ms5RGAzRRTzzFS7RuDBqmzwbnUmTAOpa9Q/bsvl5e3sSYlkmfEz5rVAlfmXu2S8X2+ Hp75Yjz3ypTBgxeAX+UXEw5eNWb4rCQzG6357eCedzXCgYjt/w7EKWJhyoJ0wanqJHci 83SJ4rcORccxb4EcEgr8vXu3UZnP5VenHR98eglO1j6UIaE9QdIfb5xZWfpFML+xJgrP pX1D4khW8Z56PxYRk/NrYynkUeWw8IFL/RoxvBKQFk0UX4o62VHsjsN5kwTDXs1znHTe vV2A== X-Forwarded-Encrypted: i=1; AJvYcCXT4A+LP4y2gDm/+pak7blnjg4RluAJC+VEbFGUrZja7jdIRG55ztCGDM+WT2Ohdy4EPCH1r41PKnmwcs6JHPojtFtppaVo1+RWG89LgJs16ai6+aMv5QUf/a0yVS2aEPyfhFUmSPREH/Y1yG+2KDwuAfgapOudFHqcAMRSX34favy4UPFGQ57u2+3J6eXHGnKhhCoEUHYSL53o3PLAuQklnROf X-Gm-Message-State: AOJu0YwVC/aKXO/c3FYq3y3RthrIiaD54Cskzcp1eDEiahTdDe6v3A0A LBOu+WSVjzu+eV1XJTxOu+znB84dUE5hOlA53PMC4QYAsQPaCPoj X-Google-Smtp-Source: AGHT+IHezV4As1b96/JxzDP6NBZJMXtzlZvALrG1yUtw58NRnfOwh1D+9iMHqeOsJkYgoUvEacE24g== X-Received: by 2002:a17:906:c9d3:b0:a3e:69ff:141f with SMTP id hk19-20020a170906c9d300b00a3e69ff141fmr2679500ejb.33.1708814996309; Sat, 24 Feb 2024 14:49:56 -0800 (PST) Received: from unknown.netbird.cloud ([37.161.229.181]) by smtp.googlemail.com with ESMTPSA id ti6-20020a170907c20600b00a431cc4bd3dsm145672ejc.182.2024.02.24.14.49.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 14:49:55 -0800 (PST) From: Gianluca Boiano To: Pavel Machek , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Gianluca Boiano Subject: [PATCH 1/3] leds: qcom-lpg: Add support for PMI8950 PWM Date: Sat, 24 Feb 2024 23:49:49 +0100 Message-ID: <20240224224951.1357644-1-morf3089@gmail.com> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-leds@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The PMI8950 PMIC contains 1 PWM channel Signed-off-by: Gianluca Boiano --- drivers/leds/rgb/leds-qcom-lpg.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/leds/rgb/leds-qcom-lpg.c b/drivers/leds/rgb/leds-qcom-lpg.c index 6bdc5b923f98..9467c796bd04 100644 --- a/drivers/leds/rgb/leds-qcom-lpg.c +++ b/drivers/leds/rgb/leds-qcom-lpg.c @@ -1693,6 +1693,13 @@ static const struct lpg_data pm8941_lpg_data = { }, }; +static const struct lpg_data pmi8950_pwm_data = { + .num_channels = 1, + .channels = (const struct lpg_channel_data[]) { + { .base = 0xb000 }, + }, +}; + static const struct lpg_data pm8994_lpg_data = { .lut_base = 0xb000, .lut_size = 64, @@ -1819,6 +1826,7 @@ static const struct of_device_id lpg_of_table[] = { { .compatible = "qcom,pm8941-lpg", .data = &pm8941_lpg_data }, { .compatible = "qcom,pm8994-lpg", .data = &pm8994_lpg_data }, { .compatible = "qcom,pmi632-lpg", .data = &pmi632_lpg_data }, + { .compatible = "qcom,pmi8950-pwm", .data = &pmi8950_pwm_data }, { .compatible = "qcom,pmi8994-lpg", .data = &pmi8994_lpg_data }, { .compatible = "qcom,pmi8998-lpg", .data = &pmi8998_lpg_data }, { .compatible = "qcom,pmc8180c-lpg", .data = &pm8150l_lpg_data }, From patchwork Sat Feb 24 22:49:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gianluca Boiano X-Patchwork-Id: 776086 Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) (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 34F554D11B; Sat, 24 Feb 2024 22:50:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708815005; cv=none; b=WMAwy1RKZ17nb2lQjD9b7m/6VEnAs5jGa5OqEqLNiOceQGPRX4gOqgqo1ScdEZIVqdyrpCKF1kQryKB7Li6UhbM1oLSJLtuXDhDlff9C1aG3I/gE0/V7VGXv8bOTmVMaTZks8+Vdeoz2+gZnuLWGd8RB/75oZ7fmuKmq6YA/IBM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708815005; c=relaxed/simple; bh=LqZLUJ4Kt9gL7yGBq5/WTF+5QKr1TTwkCx3SCqPdS1Q=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=qpoabermQqmqApace75cMwlnByTlYHxeKjiBe86mRS5X0Eum1nU+Q4bcL5wb6h3xtQ/yXR0BysLUzSKeAcUWh+wG/fcSf9Hw1RYYZPyOOHniuPLQpsF6bjA2BL3aOjrjGRy/W/3uwobdPPBeZTXbcIeP127MwSAZChF2AxB+t1o= 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=Lspgwe/O; arc=none smtp.client-ip=209.85.218.49 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="Lspgwe/O" Received: by mail-ej1-f49.google.com with SMTP id a640c23a62f3a-a3e75e30d36so377942266b.1; Sat, 24 Feb 2024 14:50:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708815002; x=1709419802; 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=mgPRh2pCMQxvdaIAKISCXT6gieIymjX80GLulP6M7s8=; b=Lspgwe/O5nkpGzIgtCy6IcjHv2lb/zajgmCL33LYqokrhTW58jHbW+nyT8fa+whWkF 0QxMKBMnX2PirV6jU1yFF8zSVeskM/d5NPmdLmwn+Vz8tKy9uXygSqa4p4nznGoLJ1pf tlf3XnKqbOJVoubcTy0DEjHiCIXjcx1HKh8cRqFAXtx77PB+/XCZR3VeDn4VPPRKYSYA acG6zXXq4ejNkye2PeODpFqu+k8yf4gwCOe80FUstHmcZfO2mN0B0Lp7boZAK5YCz0Mc /5QuY4mzAsDJAEZSnfOphDO9yCIa/K0mfEy+QN7HTlix4QudHP23jgfyTtBcgCP+KN9l W35A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708815002; x=1709419802; 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=mgPRh2pCMQxvdaIAKISCXT6gieIymjX80GLulP6M7s8=; b=F6W/WHUxC1+Hl9LkRet9MgJtcR/usS6CB24NYjn3BEAMW37UpPIJ2SAQ6DNBsZ/RYs +PaRFrHk+s0tSennV1tD6vmptlWNDYBFxyoLrVgaK6PMNL4MNxebEo/t6zWUbPjhIywr n+GCGmMnEWSYLrADex6gImJ2k960ZSYs8uDxhANRsPXpXw2k4U8Um8XJ8fBgebBZQEr6 kU522R/FmHjCL4W6wAKOMoAJbk9wEpyHtFDzRBw6htnuO2vmhYS7gItrURMWqdUY+4UR Dd9LXJ6oWajJT3KpyJdw5SF8H7KcUOvFIPqdQ/aE6IGjj939XNQg63dN/RhFnCW3ttWG dodw== X-Forwarded-Encrypted: i=1; AJvYcCUaV1GO2t+wj/OWx//8pKiXMxbzRp8oPbhAe5pJdrDKV06aNKRggneXO6ZEq52vNDxa/qB0A0Td4rHkl8NTL7No0pQqdGmKdiwCb60IRmoRsG1P8a5LZ+rTZjYul0+1HK/m3+ey5wHQ5nWvkDvCR837w2Kgu+MV0D9aEJMMUG0ymR2CPfF9vBDYikSpVGgyd6VpYpUKYqNs8QCEJuZWzGo1c0bv X-Gm-Message-State: AOJu0Yx+v1qoD1QphX+0FRhcn6ryHW5rWdvoTRTLuUziw7uY/aDnr+TM 8BdGYv4vun/NuHUvrmL1jKGgzRDlFgR9sz5tSsebUwkilPeMh5YI X-Google-Smtp-Source: AGHT+IECDSdHIAGB9XJDAQ0rPm3BGyKtzuyBwr7bYbKOvkJcKsbUQPmyQgM4hWXJKV4oaws9Vvtquw== X-Received: by 2002:a17:906:408d:b0:a3c:5e17:1635 with SMTP id u13-20020a170906408d00b00a3c5e171635mr2658520ejj.30.1708815002635; Sat, 24 Feb 2024 14:50:02 -0800 (PST) Received: from unknown.netbird.cloud ([37.161.229.181]) by smtp.googlemail.com with ESMTPSA id ti6-20020a170907c20600b00a431cc4bd3dsm145672ejc.182.2024.02.24.14.50.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 14:50:02 -0800 (PST) From: Gianluca Boiano To: Pavel Machek , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Gianluca Boiano Subject: [PATCH 2/3] dt-bindings: leds: leds-qcom-lpg: Add support for PMI8950 PWM Date: Sat, 24 Feb 2024 23:49:50 +0100 Message-ID: <20240224224951.1357644-2-morf3089@gmail.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240224224951.1357644-1-morf3089@gmail.com> References: <20240224224951.1357644-1-morf3089@gmail.com> Precedence: bulk X-Mailing-List: linux-leds@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Update leds-qcom-lpg binding to support PMI8950 PWM. Signed-off-by: Gianluca Boiano --- Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml b/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml index 6649ca2ec805..ea617fad5a4e 100644 --- a/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml +++ b/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml @@ -27,6 +27,7 @@ properties: - qcom,pm8994-lpg - qcom,pmc8180c-lpg - qcom,pmi632-lpg + - qcom,pmi8950-pwm - qcom,pmi8994-lpg - qcom,pmi8998-lpg - qcom,pmk8550-pwm From patchwork Sat Feb 24 22:49:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gianluca Boiano X-Patchwork-Id: 775654 Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (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 9E4C34D11B; Sat, 24 Feb 2024 22:50:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708815011; cv=none; b=mAo86svu2Plre85IRVR9Xz3l5pKMDDEdkYLRVTLanG3uq5WBQaGw1r3wXLoajskFurI7OfzhL8oj/P9ZuizL5kOhiGdid2aSIsU67ZnEmxewLs951/n0DovJH9nL6oHnIBo5TxrwTDLSzvAHkNwdR1VqkmIgrjtZNN8I2AVZBIA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708815011; c=relaxed/simple; bh=31a5GEP8D1PpwdN5PyjwuEtq748f/aUOFXdtpk75vgo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=hVQeDHBjm3Ix8P4SmgOMwXR7jPNta7f5RYESRQb+hCG2uJGoz4dIoAPQo/LnV+ZBr3RUEEX0Do95wksrIOH+RnuAOGT0M3W38bRsaD3RhVMeywGfHZe1y9YOgPyTiHQ1ItFm+xg41o2pq0FOEvwGS7FrIx44s+2hGhbhYQERm7k= 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=a87XncPO; arc=none smtp.client-ip=209.85.167.44 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="a87XncPO" Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-512ab55fde6so2124567e87.2; Sat, 24 Feb 2024 14:50:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708815008; x=1709419808; 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=CyUeNBz/6EL4JMqPMkzQBEjM7Nv00R+NzMPMSoNI1/U=; b=a87XncPOeIjS02wB1SfpkarJoHcWvJWzmLVBNaCFTwrjNLXbEAKsrJ3Udqrd4SBDov aMLC3cAkOjQkE62NxQjonMO1hRyIvV0o+yRqpANZ5Dg6kQVrFefQXG1OWVLHkjGXOr9D jg1H8IFOfy6n+wx/Z4mSgOV2h8qmxQu/EYbkgsPXlZ/ubDXlqC4SqHdILSFq/kPD4ncw W5dSWZzckEmP4rO/cJ/q2ZtwzLWZnT24NijVNva6+wmTkO6FrxgHVSX8sZDVPifxnbSI C2+gajytSLgn36mcJnC+lnYoIBeALHu98V8KkzQhZ4eT1cpv9BN7onDXCfHOi9TT3BGT PnjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708815008; x=1709419808; 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=CyUeNBz/6EL4JMqPMkzQBEjM7Nv00R+NzMPMSoNI1/U=; b=v3P1n5Yv2AnkmG2QBY5UVCq7eUklR8o1TMris58x7NjOdsXMyCqYmiPp7kLArCo+Nd XrVMDIGlo2NCXY/ZvQ49BugiksBc55y41srVwrsO7/SBNwI1SmMOivhXAflkjPo+dnAf GcGtPxQV0m/A50vfe0zl3HorttfzNGrCnPXGo7wBVdkzq/lwLzgFa9acErBvc19WQdUc nu1vDfoXhABFOKbaYp1p6fLHJ3kkbaCljOUU7ABeYOwrctlxsOsXtBTGeZbASyapCq/N dxXuDR7Vn3pWG9K7fkSiGZKddwijG81Oe1VEUVKjrlNjrult9keyEJTCtCprS2kOKXYh aKVw== X-Forwarded-Encrypted: i=1; AJvYcCUz/sWyle/YdrifmFHuqgsChcYcqJb9N7nQKOWiYSYtwYSlDAnhr1SELVM+oKeYOsIZNBweJlqbYYiPvSJYxERvvXyDP5irCgU+MRr8f9TwbS0o9UE0uMAOrxZMeIUd6cq2kXS05js/AiWsPzfIQVUuZ3LyKaJ7rb2xO2nGcbSz7PW3tHIyDZrYsy019aw6ue9iGrIBNsY3hd6SVn07+QptCThQ X-Gm-Message-State: AOJu0YyuWs395pK9M/9C64l2vNFN7IimUX0dqCrcoPbnU02XgUWkFhUc aYdpCSZvEpBv1s+McXuBpZqCTJ629QhRCHs8r1+7Vah5EeLhU093 X-Google-Smtp-Source: AGHT+IHBzJLfQOY8i0MtTP644KdtkaI5a50DFXrhplfFOgTK/AsvwDWJYYu79HZD5D/Y98ywV4OcGA== X-Received: by 2002:a05:6512:2210:b0:512:d81f:c22e with SMTP id h16-20020a056512221000b00512d81fc22emr2323567lfu.59.1708815007566; Sat, 24 Feb 2024 14:50:07 -0800 (PST) Received: from unknown.netbird.cloud ([37.161.229.181]) by smtp.googlemail.com with ESMTPSA id ti6-20020a170907c20600b00a431cc4bd3dsm145672ejc.182.2024.02.24.14.50.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 14:50:07 -0800 (PST) From: Gianluca Boiano To: Pavel Machek , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Gianluca Boiano Subject: [PATCH 3/3] arm64: dts: qcom: pmi8950: add pwm node Date: Sat, 24 Feb 2024 23:49:51 +0100 Message-ID: <20240224224951.1357644-3-morf3089@gmail.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240224224951.1357644-1-morf3089@gmail.com> References: <20240224224951.1357644-1-morf3089@gmail.com> Precedence: bulk X-Mailing-List: linux-leds@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 This node is actually found on some msm8953 devices (xiaomi-mido) and allows irled enablement Signed-off-by: Gianluca Boiano --- arch/arm64/boot/dts/qcom/pmi8950.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pmi8950.dtsi b/arch/arm64/boot/dts/qcom/pmi8950.dtsi index 1029f3b1bb9a..b4822cb17a37 100644 --- a/arch/arm64/boot/dts/qcom/pmi8950.dtsi +++ b/arch/arm64/boot/dts/qcom/pmi8950.dtsi @@ -84,6 +84,14 @@ pmic@3 { #address-cells = <1>; #size-cells = <0>; + pmi8950_pwm: pwm@b000 { + compatible = "qcom,pmi8950-pwm"; + reg = <0xb000 0x100>; + #pwm-cells = <2>; + + status = "disabled"; + }; + pmi8950_wled: leds@d800 { compatible = "qcom,pmi8950-wled"; reg = <0xd800>, <0xd900>;