Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp406879rdh; Thu, 23 Nov 2023 07:09:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IFrCSx6Q57TCOIB91PCz+BMJ861kGbCRaHulrQi7sG7eX/Lis4MURpsBEg4tCsF4Tu66wNR X-Received: by 2002:a17:902:d48a:b0:1cc:569b:1df4 with SMTP id c10-20020a170902d48a00b001cc569b1df4mr6308591plg.1.1700752167948; Thu, 23 Nov 2023 07:09:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700752167; cv=none; d=google.com; s=arc-20160816; b=gYl6+iT9jz/WmuUoviO7K2HKDbBVHaRLiyf/Q55Wnzvxp3LovfOpQGsDm/8kWIW5K3 X0ZuNKsVXT0hGRcavaTOBB/WYMM8Jmr8y9icM12Hs7HwO5VT6EzE8cdTx24nmmlPgdjc MRYYqa/7nhVaPZWhDPXW8rU1otkbhKmS0lrN0u25f7wUq1c/TSZU4mKB11BKOvUi5LsI VXPGNp/9WUM2dXlCS3SDtOUt+JI4v4CYOlFrEQMVcvmwRl4rHQ7xmJwjzdx9xM0VCS94 s2NnWGhtS0HmDUT21KBrel8sQKh4vFGifMyRniET9WJcNP1/+NZTn49anVW6y9NyfDun QrNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=TxJ+t4SFXRp1QZ7Dd4uk9GgdUHwSMX3pvrL+W8TMdjs=; fh=sFOXQRqNOI1rJmowLXlljkdCwEcMCD2cjJzaiZxbamk=; b=jq7Uff6X2aePbyR/94owykn+Z9MCL5oY+OmYzRYIVASaPJZqPb7sUh7RC0A+oTEggR 5E1w4X6bIh6n5SiYXFhUNv3d8SMDMh0iZrYHb90IyTPOemiOhbSR38homyr/HrbI4Qvc 1LJ2WcgccQ4Sp8dyM4GtstMeVOtsE6po2WJTfDkP3EiLtFbaud/uVL1yC1ymsQwOzIHN yfQ7z3HpR4BnZCQNr4LdzvPhEINLDXP9OJgzwlsYfcYls7YcpnJNWksKcGVbBFbN22Lq nRoFBvfgzE4LTqacapCR1+pgt5mZKOWa9Co+S/avZiq2suHK5FumnMulv2HvBZ+GJ/7O DfEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WnzPAinA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id l13-20020a170903244d00b001cf67375e6fsi1293892pls.254.2023.11.23.07.09.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 07:09:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WnzPAinA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 9BB2B80966CE; Thu, 23 Nov 2023 07:09:25 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345997AbjKWPJM (ORCPT + 99 others); Thu, 23 Nov 2023 10:09:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345968AbjKWPJL (ORCPT ); Thu, 23 Nov 2023 10:09:11 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B3F1A4 for ; Thu, 23 Nov 2023 07:09:17 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A3070C433C8; Thu, 23 Nov 2023 15:09:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700752156; bh=+c9SEek8h8usTjzD3WgxNQAR1+4ctQ4AQ4en0fWUy/o=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=WnzPAinAyN8E6iANQ3h7hicUWYWRG2VfCzsudsFkF99aolnpz7Jp6QbJUAGeP3Ue7 wBGdqRc256ZChoj5oQ6DS/Poj44WhVJ/CJXXUil4vZXm6nVvAzsiFVQdeqR01WRyaN PCkr4feiPQbLq7QtRL7OUf15ZLFwrX4o7+c3bY8EWA0d1qDiKDlvw994jFZhbI20gI 4NkzYGnWEXUUEgUevbKmzaJCwGOAjT20AeLcoXTkR9HBZC7ZMvcewoOVzl9uodifNR qHXcqOXRJdG/gdaslG4ppguroMXTN/8GDrbmtDg/dJW5fVmclj/9GMF43WRi2JRewg Ii/xuTsFF5SEw== From: Lee Jones To: Lee Jones , Sebastian Reichel , Neil Armstrong Cc: linux-kernel@vger.kernel.org, Adam Green In-Reply-To: <20231116-topic-amlogic-upstream-fix-rk8xx-devid-auto-v2-1-3f1bad68ab9d@linaro.org> References: <20231116-topic-amlogic-upstream-fix-rk8xx-devid-auto-v2-1-3f1bad68ab9d@linaro.org> Subject: Re: (subset) [PATCH v2] mfd: rk8xx: fixup devices registration with PLATFORM_DEVID_AUTO Message-Id: <170075215540.1376129.9613156325295712570.b4-ty@kernel.org> Date: Thu, 23 Nov 2023 15:09:15 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailer: b4 0.12.3 X-Spam-Status: No, score=-1.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 23 Nov 2023 07:09:25 -0800 (PST) On Thu, 16 Nov 2023 15:05:13 +0100, Neil Armstrong wrote: > Since commit 210f418f8ace ("mfd: rk8xx: Add rk806 support"), devices are > registered with "0" as id, causing devices to not have an automatic device id > and prevents having multiple RK8xx PMICs on the same system. > > Properly pass PLATFORM_DEVID_AUTO to devm_mfd_add_devices() and since > it will ignore the cells .id with this special value, also cleanup > by removing all now ignored cells .id values. > > [...] Applied, thanks! [1/1] mfd: rk8xx: fixup devices registration with PLATFORM_DEVID_AUTO commit: a6f86de216cd36e0f57f5797df7361c8900f93e6 -- Lee Jones [李琼斯]