Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1647465lqp; Mon, 15 Apr 2024 12:32:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVWhWK4G+1b4ac+vBfmtnnMlfPzJiTgPx2YloJs9y6n/V6F4LGAFKd/JnUQuSkjxwgT2Qfikbc9MJ+w1fpRiOofDg3ILGlYPzeRbxt4jA== X-Google-Smtp-Source: AGHT+IEjn5awF77oMPyYm05u6Ga9gmrVZLqUaz2XGDw34HMsbSoR1vULdft2giQR2gOZSkVxy5Z7 X-Received: by 2002:a05:6512:3f25:b0:518:bb48:f060 with SMTP id y37-20020a0565123f2500b00518bb48f060mr4013890lfa.19.1713209520388; Mon, 15 Apr 2024 12:32:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713209520; cv=pass; d=google.com; s=arc-20160816; b=utzIlYN0BaTLSEwiS+1K/+kWOVCiMq4tf0375wDgsMXbMYyTxE/4VXJnZxPDaEN0x8 o7crCSaPpLgumm9ei2HYBrbfvPlRIwRqmPq0pRV0Z7BkJBuXJHd4agjoF5OA4x8GoHo5 7swsr/Pd45vAbCv0MU3/B8Zd+NRaAAqKxAtvJibzNiP4VMqk3NNUQqwxecngRtBJmsRO +Gib1pZe2KydBkY0yO/L1955TjRoHsfkXxPaJXOmtl6754Sk1+5cSgjdKtgtmbTB6Z5a 42VacqeXczRdvkwDpnM7CReUOCLtWy4Ny5ZNLqJ2D1sapeAF4Ym+6T5h27LHWjbTwuh6 jk4w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Gx47+NS9TsvFbo8I/9W/8DEAWOonZGJHwk+Es5dW8Wg=; fh=Z/N+8iv7vxg1B+vGt8xTC3PisiRPs8UdQZrEV/ZMjAU=; b=dQbvcCD96Drfr3nO6RcDfETydTfXnrUDb4r7VaXqsGJSWGSx7xTwxTZuX1LIsl9XbK AevLiOnyuS6OInDiSHTlSvAG11Tn1Fhs9428S5QpvnC2dSABLCg6/mAgxq3RI2yC4OY4 eKPr95hnNChiRS3bdtgkfti1jesfOvHkJ9mcZuXJ2rJotvcdfrjD/P39D8KWxW3on9pa HtQS/5s7pW3LAaBhXzU2RCmmpCJFRMkPNGZ2gPgkqkH+oYrzkd5dKM37SLLMMepJWRkj mnuajZ5GTslh2eLxXZmhPvO1HCe0Gfc62E6uEHPQiV86b0hV1M2w17gB1srea7F3iDk/ bIPw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ujYGYJYQ; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-145769-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145769-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id qb30-20020a1709077e9e00b00a5215c3b9ebsi5082923ejc.193.2024.04.15.12.32.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 12:32:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-145769-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ujYGYJYQ; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-145769-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145769-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 1F6FE1F226FA for ; Mon, 15 Apr 2024 19:32:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0661D156258; Mon, 15 Apr 2024 19:31:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ujYGYJYQ" Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) (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 93144154BFB for ; Mon, 15 Apr 2024 19:31:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713209512; cv=none; b=O5JQSyoNcpou80UTlIatPSzebwlHDPx/RjEkO1enzUm9+oyIHPJKesceFG218uhV7HwcUsSP+UxhZEDEy+uhs+FrWvwWQHgWNnMxWW87PL+vNKU85KQfPDQPxJC8t2uAlgDO1n+PfutJYOIezlChCNC8kPKh1yvgLryLtC6QAZg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713209512; c=relaxed/simple; bh=yCsFlnUbGZWDCDqayNjxY166IYIvnKOr6fHx++JOY88=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Mg1TOwwhmh0uQc3Fb7Xh+rqP5yN2kY1KQVmp2NV0fpnBfFDjSyptzQxXCf5CLwFo4p5gH6fR7EyxfBfXA9PnWSIM+J//mi6OwPax0uASrY4n3K0RAi1VZIdugn3afPg5xp7FdldUQVTUzMA1hLprWz+6OHYt6L9zc0Eatx6qn5o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=ujYGYJYQ; arc=none smtp.client-ip=209.85.208.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lj1-f169.google.com with SMTP id 38308e7fff4ca-2d895e2c6efso45997831fa.0 for ; Mon, 15 Apr 2024 12:31:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713209509; x=1713814309; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Gx47+NS9TsvFbo8I/9W/8DEAWOonZGJHwk+Es5dW8Wg=; b=ujYGYJYQT+vXultdAhZU2cljUudDUoMTd/90kjQn0HAt/UFplbc7vCwcPMiUSt5S+n uJFXso1G7XxpEzzI/ZAujzJda4YcVeQd7P54Qw4Ux3+yuVog1HVJLfQdQOEyhLF8IpFH a8mGp3Xv1Fsk4Sdtx060h886smJFlIyUu21iK2dGgO5ieP77AT/EgCQbK5+YGEs0eISd 3oBa4ahj0rl6rfspmVgLwVdxsWtV4vWHkKDWC56A1soiHRYSsMG3lXmWYimB90VH0ns+ jMYRmI88m06/J3uW+XK38E0OQqq2jwp2s+oATfHXr17tpwoyIG1wKK2/D2fTtVHUSoCk Op4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713209509; x=1713814309; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Gx47+NS9TsvFbo8I/9W/8DEAWOonZGJHwk+Es5dW8Wg=; b=fR4ETFBW2NNuoRxgiXrvoMegg8102fdeH72LFgJLbThO5hFY3hs79VdD/TYU8oB1Ze +URnaIHKydfw3t5WnTgKAPIHiQTY7FkB9bSIP6rsBA5EMlzS69Jvx6QEqr57QayirGh3 XzYdE85ZyjnMUaIQLi6zVLFXQPGto2OQ6cBiIfTKtxUUMxsaHgSoqabGLaWuy8302JlF YYi5CLJSb0DWr0A4uHCF3otb+VS0HR3nW7fOP8HuRzUoBAQilxVXYRLWFK61VvnI31/m pgY7pRqX7Cn0tgEe5JvU0lzAXJ0u1/zJhMZvY9Tm3Mi5aaZdTziBDr0yNklHTUOPthlS SDsA== X-Forwarded-Encrypted: i=1; AJvYcCVP/5Nf48nyKw94qUN89kvv+IbQoxc8FbM0UU5cvu7MlQC+jWMayD0uPsNAUQZVtzM/wx97D5DsPiLw3LcmaAarf4pTv0mi4iT12G2g X-Gm-Message-State: AOJu0YwJZasH6h066X3vvDc1SyyX37peBZWdgdyWHXlsW54xMD9/UdF7 FAh8AUMgdUb5eupoZJKQDLJrEd3+ECjpfD7XP8JdRdFO1jKEAcl9aEI1oE8JmLs= X-Received: by 2002:a2e:9b1a:0:b0:2d8:b2e:7bf3 with SMTP id u26-20020a2e9b1a000000b002d80b2e7bf3mr6448000lji.0.1713209508653; Mon, 15 Apr 2024 12:31:48 -0700 (PDT) Received: from [172.30.205.18] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id p7-20020a2e9a87000000b002d9e3a525bfsm1291268lji.41.2024.04.15.12.31.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 15 Apr 2024 12:31:48 -0700 (PDT) Message-ID: <1158f240-ea6b-4ac7-9697-a30d27311c50@linaro.org> Date: Mon, 15 Apr 2024 21:31:44 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] mfd: pm8xxx: add support for PM8901 To: Herman van Hazendonk , andersson@kernel.org Cc: benwolsieffer@gmail.com, chris.chapuis@gmail.com, Lee Jones , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski References: <20240415123941.1527938-1-github.com@herrie.org> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20240415123941.1527938-1-github.com@herrie.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 4/15/24 14:39, Herman van Hazendonk wrote: > Add support for the pm8901 PMIC used by msm8660. > > Signed-off-by: Herman van Hazendonk > --- > drivers/mfd/qcom-pm8xxx.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/mfd/qcom-pm8xxx.c b/drivers/mfd/qcom-pm8xxx.c > index 8b6285f687da..9cca14d54d8d 100644 > --- a/drivers/mfd/qcom-pm8xxx.c > +++ b/drivers/mfd/qcom-pm8xxx.c > @@ -501,6 +501,7 @@ static const struct pm_irq_data pm8821_data = { > static const struct of_device_id pm8xxx_id_table[] = { > { .compatible = "qcom,pm8058", .data = &pm8xxx_data}, > { .compatible = "qcom,pm8821", .data = &pm8821_data}, > + { .compatible = "qcom,pm8901", .data = &pm8xxx_data}, > { .compatible = "qcom,pm8921", .data = &pm8xxx_data}, Please refrain from adding this new compatible, instead add a new, generic one and modify the dt-bindings such that we go like: compatible = "qcom,pm8901", "qcom,pm8xxx-ssbi-pmic" (or similar, +CC Krzysztof, please chime in) Konrad