Received: by 2002:a05:7208:c24f:b0:81:d631:dc8 with SMTP id w15csp406632rbd; Thu, 4 Apr 2024 12:54:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUZ0S0CpyGiukIXvJSy/NGP3UkongYbIBWNTYmLcMH3h9QsCYhwcjTpnKs/FfrAatsi5/6wIS/jvV0NbbL/aFY09bw3khHpRNDxl7AbwA== X-Google-Smtp-Source: AGHT+IFCMU91SBM5GngLMoyOK3T4TJ+lnFWYjw2CzpDUjq7TGkWmH7RZm1nnd0UBNsRI3tiLT3DN X-Received: by 2002:a2e:88d2:0:b0:2d6:d2fb:3d27 with SMTP id a18-20020a2e88d2000000b002d6d2fb3d27mr2968807ljk.53.1712260499597; Thu, 04 Apr 2024 12:54:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712260499; cv=pass; d=google.com; s=arc-20160816; b=BmLD/qwBk3yuNF4galwfdUMcPOF9b1MloW5ANHBe+MjqoWGZxrXWirQTYqUrDM9f0J hVoJdB0mso6IbCD75PhZrna6g8NA3Mo7FiN0tb67JxtNfWelhrDh5iPX6C54XJI7pQmF RdwNTHOfvwhga0sBrxApjlmH8iZPumwWfEG9agIGO+Y7jmv7x7OR3zoRMBLvxPaSuO7g 254ERrOMNpUiBkxsAHprkKUpZjA80IKkOpyTo60dT9WYdpMXxqIl+eNAQqEjlYQ20YTt eRtjZ2KqIUWO3g6nm1hvC9R1adie3kgmVXX0Y3fX4YoLd67BfEcHXC5Qx9Q8nSYbtPi8 7PHg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=I/eqSp3fz2MEWBZ0DqXy54vMgWaFQ16ZM1W/UJkmTqE=; fh=COWw7W7yo9dAMu2I4hSp3bfcgcoPeTZWMvIxswQY1aE=; b=hKIXyn4eF7WfijK/xjt+ckEZgvAJtjDr8yVf9Sny4eoOhOwqrqO210qIeloT08yAjj VOnfbuHb8Fh7oba4Skv/3bhQUYfM+WYbBZlHZoMTqz0qMCtCXWEaM4MFiqQP9lIx1ZCc j5cYPnO2GAgCAWLUz2MrQ43Skubbls9uhQVPf74ZpkbKJCR0gmxTB2XEPeLZzUxq8wSx AIrfgR4drGi1zRz4RhC43hnun3tSl5t6wOT+aOXBy2C6cjaaw3BUO71/ybsqBF3nfmPv pP/cjJfNGaLKYkglj2ytdUH/p9fVSDHRJ6mPG3E40fMCt04u/uZROZAZJ7uVOa2oK9k/ Us2g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20220719 header.b=jVIk+bqg; arc=pass (i=1 spf=pass spfdomain=kemnade.info dkim=pass dkdomain=kemnade.info); spf=pass (google.com: domain of linux-kernel+bounces-132064-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-132064-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id f24-20020a170906c09800b00a518c43187asi758175ejz.148.2024.04.04.12.54.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 12:54:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-132064-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=fail header.i=@kemnade.info header.s=20220719 header.b=jVIk+bqg; arc=pass (i=1 spf=pass spfdomain=kemnade.info dkim=pass dkdomain=kemnade.info); spf=pass (google.com: domain of linux-kernel+bounces-132064-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-132064-linux.lists.archive=gmail.com@vger.kernel.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 5AB381F22290 for ; Thu, 4 Apr 2024 19:54:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BDAA5135A6D; Thu, 4 Apr 2024 19:54:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=kemnade.info header.i=@kemnade.info header.b="jVIk+bqg" Received: from mail2.andi.de1.cc (vmd64148.contaboserver.net [161.97.139.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E368A12D76B; Thu, 4 Apr 2024 19:54:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=161.97.139.27 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712260473; cv=none; b=CCX/Wub4L69cqK1LWbilfnaw0kZxiHgZZ1ekmHkehaPRWSE574QmOMZ22m0h7YNulQmlnpeMJYIW7Gucy/pO2uPsjtDracKjKXl93sCB+PE7WS3/nkf2qXHH+TpLoCHi79FPUS35/8W6D2fW5I5R+UL52eiL6xIaLKQ84KKfd2Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712260473; c=relaxed/simple; bh=SZWlzQtfsdaW9PsjgdhUMriXlWvym2xNI6HSd5gWS70=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ZrAAWdAuuy/wr3Mm7eJ92IEjdltwBF9Knpp8alpbdB+ZIdjqDdB+BQRRamFVuByIsDdTkkacS7I2NaYH3PbwdhX6xnzGSyf1NV83pYWdChwvMcwdYxY7lmRqmJc6xx/dIVjn/GiaEQ61avJ3i9BVHVE8AM9VybZbxBOdN6RwZ44= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kemnade.info; spf=pass smtp.mailfrom=kemnade.info; dkim=pass (2048-bit key) header.d=kemnade.info header.i=@kemnade.info header.b=jVIk+bqg; arc=none smtp.client-ip=161.97.139.27 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kemnade.info Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kemnade.info Received: from mail.andi.de1.cc ([2a02:c205:3004:2154::1]) by mail2.andi.de1.cc with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rsTAJ-003qnl-2I; Thu, 04 Apr 2024 21:54:27 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20220719; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=I/eqSp3fz2MEWBZ0DqXy54vMgWaFQ16ZM1W/UJkmTqE=; b=jVIk+bqg/A1ZHI26xH8GZwin+l nrjh9OkYcloRN3W4ESV2PMGJZju0oPXbrvu0oiyr3C0hueGIWjPJV20boGSlDlvtNiHchqzilE2jg k/mdwgqwBv8uFhIbJ+xPJNSxC/GxpaPIwc42HNLMzMo5XEp7+Ru11+eVfNQkhOSds8CtHIzZ4kaMS avDPg3N9QCZrdk8zCIJXtKWncfUUz8EJEPY+pWMcBnBGr8HfvjlXWoK7Nn3wj5uisrCIExcwtYZny H5APtCwTH46mUDWMMftxvQs0Mr0GVoS8wVj1f4DxvoKRYYuYvVhCG3ozmrNzf82VE3PZ7GKHtfI8V sSkH7thw==; Received: from p2003010777026a001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:107:7702:6a00:1a3d:a2ff:febf:d33a] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rsTAI-000Nh1-2b; Thu, 04 Apr 2024 21:54:27 +0200 Received: from andi by aktux with local (Exim 4.96) (envelope-from ) id 1rsTAI-002nNZ-2B; Thu, 04 Apr 2024 21:54:26 +0200 From: Andreas Kemnade To: lee@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, mazziesaccount@gmail.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Andreas Kemnade Subject: [PATCH v2 2/2] mfd: rohm-bd71828: Add software-compatible variant BD71879 Date: Thu, 4 Apr 2024 21:54:23 +0200 Message-Id: <20240404195423.666446-3-andreas@kemnade.info> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240404195423.666446-1-andreas@kemnade.info> References: <20240404195423.666446-1-andreas@kemnade.info> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add the BD71879 PMIC which is software-compatible to the BD71828, so reuse the same device_type enum. Signed-off-by: Andreas Kemnade Suggested-by: Matti Vaittinen Acked-by: Matti Vaittinen --- drivers/mfd/rohm-bd71828.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/mfd/rohm-bd71828.c b/drivers/mfd/rohm-bd71828.c index 4a1fa8a0d76a..f0b444690d4d 100644 --- a/drivers/mfd/rohm-bd71828.c +++ b/drivers/mfd/rohm-bd71828.c @@ -585,6 +585,10 @@ static const struct of_device_id bd71828_of_match[] = { { .compatible = "rohm,bd71828", .data = (void *)ROHM_CHIP_TYPE_BD71828, + }, { + .compatible = "rohm,bd71879", + /* equivalent from a software point of view */ + .data = (void *)ROHM_CHIP_TYPE_BD71828, }, { .compatible = "rohm,bd71815", .data = (void *)ROHM_CHIP_TYPE_BD71815, -- 2.39.2