Received: by 2002:a05:7208:3003:b0:81:def:69cd with SMTP id f3csp4293162rba; Tue, 2 Apr 2024 12:35:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUKBTJD+Io9ZK9LseLbKcQvIZhzluLBQwSi7Wdz1WqFCy7nS64LPw5OMS5+8+zfoG0ySuc5g+qZ3gFDDrfl09XerpPQQgMLC9GNdmjFRQ== X-Google-Smtp-Source: AGHT+IFCfSveF+hfiOSnDlqnbZ8DlYz4IX1ZPgElhWkyaGOYCm4Ju9ou5miEqM02dogDShE1pKeR X-Received: by 2002:a05:6a20:9f9a:b0:1a5:bc62:30fd with SMTP id mm26-20020a056a209f9a00b001a5bc6230fdmr1072707pzb.27.1712086539254; Tue, 02 Apr 2024 12:35:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712086539; cv=pass; d=google.com; s=arc-20160816; b=kpjXTgq4YyIoPT7Mbdjq0QutxzGvaT+SlANauB2Hg7+tWOCQ3/AA0+mNqJODebwIqn FsUk54I1sHOdXDV7AxJP3D1zOl81v2/HBkZw5hYOiJE9I/1/lztv0pKuJY5dAMbxj55a lDqoX5g7JSYE+M9QjQ4QVEj0ixVcGqmEELhJDSVQh5QlYXh41foRrfXnOPvBmsAKA0rx 3uTBSZdbJ+DuPd0urWHjF4eiShbzkPXIxjeLnsBIhdIfu0TXSV09CKc2N6ANj9oEmyPf OR57NaxCm7+S3lSEecZ3+/sqwqmS0dIleYvEljU8Qw988Ru7QZ0jQhiWVZ2Z1EHa9C8+ vFNA== 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=JZvK80tTRWAuZejNRWV8wWoUaoCWXbTiAE55SjVVMvs=; fh=COWw7W7yo9dAMu2I4hSp3bfcgcoPeTZWMvIxswQY1aE=; b=ktNG4G7sd90dgX7yTFts0URw17fjgD8TUIbjIWBZKkiOkIQcg8anOyN/KzLblOxxp5 +lA8qDTkFPE+VPataLjbRn017dc8g7/SjHXVkC7pLLfpic7tI1DNAFUBFcQE+FySnbiH wbiSyDGrE+/q45akzSeM+7qgiQ3FrO3O9rBYY9t3hnb6HhEWhjMDzjzBIheanKhIHbzb JBRN7jxBdd7LjCSyB5NKHxVySWI4DxzVYMwwaTA7eLKCqXqAvU7SlqMfdsdIv7hgwPZY FaHbd7l18EHsZfoWePhQN0q8NXPkHIs3SjE9kp8jo1npEzN+qs4yV6N+zrKDRTzkjibh WjRA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20220719 header.b=J3ADQfrM; arc=pass (i=1 spf=pass spfdomain=kemnade.info dkim=pass dkdomain=kemnade.info); spf=pass (google.com: domain of linux-kernel+bounces-128583-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128583-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id w8-20020a056a0014c800b006e6a3c94feesi12097021pfu.374.2024.04.02.12.35.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 12:35:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-128583-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=fail header.i=@kemnade.info header.s=20220719 header.b=J3ADQfrM; arc=pass (i=1 spf=pass spfdomain=kemnade.info dkim=pass dkdomain=kemnade.info); spf=pass (google.com: domain of linux-kernel+bounces-128583-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128583-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id EFB142823B4 for ; Tue, 2 Apr 2024 19:35:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E722C15CD44; Tue, 2 Apr 2024 19:35:27 +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="J3ADQfrM" 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 7BD0315B962; Tue, 2 Apr 2024 19:35:25 +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=1712086527; cv=none; b=JZ1uz+xUXCEM09bowIWrESs2gLAWxjyMs/C4pqZdLZCN6bS88Ph6VuLmRZ+J/P449l3VPWVQlvOPe4ydH5KF+2CnhZLhWoTp8REaGgqOIyWxG81L3FPpIq2JEgcUVUt02MGpVvGgXQI9ss20M7W8RpkO4c8U0RgCu+rVomRPN3Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712086527; c=relaxed/simple; bh=+AGgKD6Tmq9lM58FzmpAuALw4Ata2Tvc0YArRJgl6kA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=EQAjrgoSmJ8DzNxEDac7ttBdB9gfS/Hk61xq+LLaa/4tdRseXqK4q/63YZXD/A7K9x/4xexLGR1u2payVrfoMh/5eCLdzbnD3KtDFUcPCnWaHp1v85jB/20DSs7OfrcpCDVNo2eBW4dBOwBHDlQUF0+vwdKcypbokYSyuZaHoMk= 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=J3ADQfrM; 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 1rrjul-003lfo-1J; Tue, 02 Apr 2024 21:35:23 +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=JZvK80tTRWAuZejNRWV8wWoUaoCWXbTiAE55SjVVMvs=; b=J3ADQfrMDwUPI42xlCfk1ueFHF 2Xwmr1IJJHUltjZYRsA/B11+UXLrL7OfwVLDflEEDMedaoxqSEG1n+T57vKKA6mmlYcxnKKV0zSUF FJJUotOn+PGEG6W+EOPXfDvzgtjyFqHPUYh7QlRLvtBX5cJmJYrFkXOk1x+TtJIDcPdgOxB8IAFWh ORLOxx3ucjkjYCcye9/yImPQnUPXACRNRk4E5uUK85cpyBkxe+jyQOQsHqF2YbffFNtPB9+r+rDSK HLhv3gSAA4dMOCFvyAKmUGPhlag1C+3e2V3TjLW85OzlyON1pEx/I7ErRYcy/u9R2RA0g34TddM6s NUfbNMGA==; 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 1rrjui-000J30-0P; Tue, 02 Apr 2024 21:35:20 +0200 Received: from andi by aktux with local (Exim 4.96) (envelope-from ) id 1rrjuh-0029e5-3B; Tue, 02 Apr 2024 21:35:20 +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 2/2] mfd: rohm-bd71828: Add software-compatible variant BD71879 Date: Tue, 2 Apr 2024 21:35:15 +0200 Message-Id: <20240402193515.513713-3-andreas@kemnade.info> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240402193515.513713-1-andreas@kemnade.info> References: <20240402193515.513713-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 --- 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