From patchwork Tue Mar 25 22:43:05 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 876038 Delivered-To: patch@linaro.org Received: by 2002:a5d:5f4c:0:b0:38f:210b:807b with SMTP id cm12csp2899914wrb; Tue, 25 Mar 2025 15:48:36 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWMqquYci/n0PVBMW9aSbHPCwIvHWtxrmBn2g74CSMrs79828UUs9Fd+xNXbwMLPOcOQAh6Dw==@linaro.org X-Google-Smtp-Source: AGHT+IESSjl81+a11L2x2qtkduM2JVesR9ueTvaeIQaMkhpfjS/OyU1d9jHxQDImG/aAwhIErS/j X-Received: by 2002:a05:620a:25cf:b0:7c5:4a8e:b6b with SMTP id af79cd13be357-7c5ba208d21mr2801882585a.46.1742942916291; Tue, 25 Mar 2025 15:48:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1742942916; cv=none; d=google.com; s=arc-20240605; b=kGoBytc/7ueDu7+BQ4Vd0ctyaygX7BF08xsfvWMCgaqnZbfh9zYNFVGIie/F1yym+9 4mCq2qSgal2EZgv7U2JZvY3F21yR/LgB8869WwvohOgQYU21q1n1gi0ngdzvlp729OP4 mT6LA6W6aV3sBuT+QmpD1D7xiM6XgcoAIY5ETtbW761yPjig3NuESKxHr6G2onjZZNI/ X+uhjTXepdAUlz0ZTdKLeYypdJqqTYxWzIn5wXoDybmqLiJUW5aQA+iDPhiFX+0elhZ1 5TuPLniBdeeQmnRXXrfzq9OSREe+szicgY0n+gvVbKxbnimgGLKQvPG+zt5stI2l+7Fm DApA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=eP0RXPwsF3SX47mGX273slrVOKCgPW3RL9KKH1EnAUU=; fh=9c/JAvGbBY4XayL3/YkyLgbqrvY6BYPOS0yKqP19Q0o=; b=RkPk+MHvS52FvKksUO6/73kU8ThsD/Ae0XFIuwEox10syXBhMMrrcLOpklXShTTV67 MpAbMJZqVsSIUG3d4vzp5k8rJgdK9HQsRh4LM14+HKdxOheSQt4QuAX/aeOjF+aNYYvx 7O+Khos0EARNymwtV90tf9BRp9vzjk46K6uK87YW/LBUcQL5hl5EfDb8rVzmveNahWkT 4vHUKKz7S1TIsD9b31XdgaM1HjMqGrElLEoXv+CRh44eo2Tsr8enj9JPmeAz4p0cIAy3 b6L+76u5WZQz94+iW1o4OrWa8oVHkrTd3FW4/hGWG4hohY8DVBiMvLOZ4eJxwFtFe8xB 8SoQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=y5Kg2eQr; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7c5b935612asi1050445185a.379.2025.03.25.15.48.36 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 25 Mar 2025 15:48:36 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=y5Kg2eQr; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1txD0U-0002MF-1v; Tue, 25 Mar 2025 18:44:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1txD00-00010I-7Q for qemu-devel@nongnu.org; Tue, 25 Mar 2025 18:43:58 -0400 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1txCzx-0006zk-Gx for qemu-devel@nongnu.org; Tue, 25 Mar 2025 18:43:55 -0400 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-43ce70f9afbso60889485e9.0 for ; Tue, 25 Mar 2025 15:43:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1742942632; x=1743547432; darn=nongnu.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=eP0RXPwsF3SX47mGX273slrVOKCgPW3RL9KKH1EnAUU=; b=y5Kg2eQrWYPcuhZoVCOgic3gwlOIjNWl9ZJ8oR0nCY3lIbNI0sMC9mh9XwYHMAspcr h43tzhoyH1e0T36HxGNSdduO3DQzeThDxkv3gTSaPgBpE6MCSDO+xNfcloTtb0KNABaU pmQKRkBZOTftWE/rsW7C06tkhMHaINzenmDKHbE2q866Tq0RG/F0uDgWHsM84jmJCIdD vLOP6mghI4E91ZirX82zuhNo6qUH4DM20ixXTt2rw3FQkIFIbDCpT4LXpqOPwBw5f5bZ WynyfwLzvbKQxGOqfGfoQVE7UTTc34KVKGXFHFbHm4B7oiJbnqfjAaHIidhNlh7eNSSB NFfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742942632; x=1743547432; 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=eP0RXPwsF3SX47mGX273slrVOKCgPW3RL9KKH1EnAUU=; b=TmtB6Osn3u+vbjgs6dBaDldgVFkNL3dXGxU/qfT+bAnZrB4IorUkojB64LjNN4abqm Y10Om6pMwWh+LlBTBnCiY/EndwP+ZiYAGYhbQAanIA3bhbAbOV5RTOF6t/qRSVWfrb/1 dKkF18J5JIYSGhW+WM89656ZooXN4lAilU2ZRPAm7grUSwx3Hiy+qF9rH4ptn18WpycY ICzXKbhHgQ+z0fqj6EH8xjaR0I003sUP8lxtJ8c78U4i3+WW7gc6ePuK8s27FtLawvNr sI4iribx8GZCg7CXJgGA5UPqZBn7CPvNk6yibHbAFJk/b/6BBklyfnN9WzVw1qYcKgUa vCAQ== X-Forwarded-Encrypted: i=1; AJvYcCVCD/dAvhIygI4dNGgYyMCZXUZei6ZKMzSDF0Mo069JqB4eK74V3zSPXiZ3+cM25ob1LoIi3YbbbvtX@nongnu.org X-Gm-Message-State: AOJu0YzffC/LYGPaWqHZySf8xD2EzqzrXgPg9ruSf8CL0nLQLUthkFsU V2enydWR93zlfUpkrI4zsXnHHCmKyWPDYra1FCH4MF4kDuCn+AgvYRD1DRc5BEE= X-Gm-Gg: ASbGnctr4D124jcU5evyoH+ivA3w7R1arEAJDgOkp5aVTCbPWtj8K50ow/LihPbjlDv bFPBDVp2I7MTo4ZYpdQ6hr1kzoF3EoicA+PH08YdCY9qHayhdiqj5I0R3A1uv6CutqYCFncGFkD AV+KJXZl8h8sQ4adJl7SCd/63ouGA+AgAd/+Obzg+RPP8HbUHKq9+8znSsF0L6I+1xDVYN6TBHi 0QHPu4VTlRYbddCH4a+UK2zj/Vo5Bh7rAeXJDTk9CLa3+u+OIDVfFklyqDAcc1XITR/S0oYW+Db xyNqPOWcATSC4dhEsMRa5jEBBrFgPT01dEQZ3glUIEXxjRLCFSjh0DOCZliGlhRGLX6VsHi9ETC WWXaQAAAN/Ipj32O1DAk= X-Received: by 2002:a05:6000:144e:b0:38f:28cb:4d35 with SMTP id ffacd0b85a97d-3997f902c76mr19201735f8f.13.1742942631785; Tue, 25 Mar 2025 15:43:51 -0700 (PDT) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43d43f33237sm214876075e9.4.2025.03.25.15.43.49 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 25 Mar 2025 15:43:50 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: Thomas Huth , qemu-devel@nongnu.org Cc: Ilya Leoshkevich , BALATON Zoltan , =?utf-8?q?Herv=C3=A9_Poussineau?= , =?utf-8?q?Philipp?= =?utf-8?q?e_Mathieu-Daud=C3=A9?= , Matthew Rosato , Gerd Hoffmann , Glenn Miles , Samuel Tardieu , qemu-block@nongnu.org, Patrick Leis , David Hildenbrand , "Edgar E. Iglesias" , Tyrone Ting , Eric Farman , Christian Borntraeger , Peter Maydell , Halil Pasic , Richard Henderson , Kevin Wolf , Alistair Francis , Bernhard Beschow , Hanna Reitz , Hao Wu , qemu-s390x@nongnu.org, qemu-arm@nongnu.org, qemu-ppc@nongnu.org Subject: [PATCH-for-10.0 07/12] hw/misc/axp2xx: Categorize and add description Date: Tue, 25 Mar 2025 23:43:05 +0100 Message-ID: <20250325224310.8785-8-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250325224310.8785-1-philmd@linaro.org> References: <20250325224310.8785-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32c; envelope-from=philmd@linaro.org; helo=mail-wm1-x32c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Signed-off-by: Philippe Mathieu-Daudé --- hw/misc/axp2xx.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hw/misc/axp2xx.c b/hw/misc/axp2xx.c index af646878cd2..747af430479 100644 --- a/hw/misc/axp2xx.c +++ b/hw/misc/axp2xx.c @@ -232,6 +232,7 @@ static void axp2xx_class_init(ObjectClass *oc, void *data) ResettableClass *rc = RESETTABLE_CLASS(oc); rc->phases.enter = axp2xx_reset_enter; + set_bit(DEVICE_CATEGORY_MISC, dc->categories); dc->vmsd = &vmstate_axp2xx; isc->event = axp2xx_event; isc->recv = axp2xx_rx; @@ -250,7 +251,9 @@ static const TypeInfo axp2xx_info = { static void axp209_class_init(ObjectClass *oc, void *data) { AXP2xxClass *sc = AXP2XX_CLASS(oc); + DeviceClass *dc = DEVICE_CLASS(oc); + dc->desc = "AXP209 power system management"; sc->reset_enter = axp209_reset_enter; } @@ -263,7 +266,9 @@ static const TypeInfo axp209_info = { static void axp221_class_init(ObjectClass *oc, void *data) { AXP2xxClass *sc = AXP2XX_CLASS(oc); + DeviceClass *dc = DEVICE_CLASS(oc); + dc->desc = "AXP221 power system management"; sc->reset_enter = axp221_reset_enter; }