Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp499186rbb; Sat, 24 Feb 2024 09:26:05 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV4P7fmMZsVlU8+9yMNEnVvT4YQG/xFhAxRlSm6itZD0l4TuIz5SvvN+1Hol1t1q4fvdgMruRsCmh12FtKgHqrfKpFY4T1WlAh4RsxnSA== X-Google-Smtp-Source: AGHT+IFTyJIyL9GABkL5o/9YIUsDAcv6XjXwbZXX+76n5uYLJw4yb2NL8vTsb3vZpeXwBPtiQN9T X-Received: by 2002:a17:906:c196:b0:a3e:8300:1af3 with SMTP id g22-20020a170906c19600b00a3e83001af3mr1822733ejz.30.1708795564869; Sat, 24 Feb 2024 09:26:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708795564; cv=pass; d=google.com; s=arc-20160816; b=od7fej1DSVrXIClpVovX9XqtSzfTQds+4zTX6a8RQniI1nY5imD3ArfS7oNMSxALXo UdcfKFTqoYNIzKeA6j3YGddfkEnMUxQPCcMBPMdkG7utrKFmxFXKFjU1qCzmdloFiIwu jc/sVNwXyaa/1smKJsgen8cScnzMZZEuudFfTZKTOijZyadkPo66VNgcO9ri5BUmvgD/ C/zIP6AhrLzfm6dRG54tMdxSkVDKHFJfkFIMfYiHLYC67RMyR8CFGa1haaFg+4d1Mitr kRyDlmPJ43buPxZZQ+o1tHwvm/HIU6rsemCMQCr3ztc/HfIDIvA+0UWci2E3ZiTEkYHG K0Sw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:sender:dkim-signature; bh=uAeCo/AcYCYLlxx+rUC55TzelkJiG1qBUO3+Q6Qt12M=; fh=N1Uw4JqBkPY5LLA3ThBAWS8rr0d6VZk6g35nJJpmh+g=; b=JEwc3u9tu66un0KsdnC/Nmtxg94S0g1JPzbsI1uBzErkwNnkIcjhOD1qGJxe9s3KbQ KQ25xzFfFtsDV9ORRhYIxzLGr8zQ8qhmKOnXySB2eoXvUqYz0DFrWUTX+8S0/Xvfggzj ncIDPUgd7XJ1OUXpwaqB9sgtxmzO0SzvnMnUfUCf7WLsUTuSmer8otiI3U/tyi8GDbJw cIP93358dWyGSLskTir6PcnaV9y34POjqGs/DzRqY/KiEi9H0cVpRLTQwVZ9BiaJQr3r wh+xp2FFlOSdANhmkQ607WzCSBcbPZLoF4QTSp1wHv7gtiC5V6BuE5OikM27RFHRxEv0 WisQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ePDxcQG7; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-79758-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79758-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 e7-20020a1709062c0700b00a3d8333850fsi657865ejh.453.2024.02.24.09.26.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 09:26:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79758-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=pass header.i=@gmail.com header.s=20230601 header.b=ePDxcQG7; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-79758-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79758-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 9C3531F22499 for ; Sat, 24 Feb 2024 17:26:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E02A545026; Sat, 24 Feb 2024 17:25:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ePDxcQG7" Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) (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 9D5E33D97D; Sat, 24 Feb 2024 17:25:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708795558; cv=none; b=Lpagb/XKcpJ+CgL65NW7sKD6VA+opobU0Snrty+MCYKpwc8PNPhMrq+kg/wnyaMxWxRDQFwS+CmiX4fsix+aIfmjuzlWcJHTOxStvG35S27Oeiph0s+FXVI57gn8u7EugIUx1qQ5CN1le68WLuWqmkPMjOAoIDWDJt51wPs+nWA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708795558; c=relaxed/simple; bh=LKdxKMRX99gZWFFua9mb0elqag115969gvdZU7QCa4Q=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=TUWb5ish6muy1iGCgz5PNbSOz2b52hLze+NXn3AKdRFUdiLR10iW6cop3WIKPUE6IO7DQQYL/HPXB8lLTLcyn/z3yYqjgnG+7Ikvu3fcsi9RBOZGnMWPjkvqEDpoXgG+xFvmhMBjFJVUYQR0OmvB6XRydBeLq+qfk3Ji5RKbxCs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=ePDxcQG7; arc=none smtp.client-ip=209.85.210.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-6e4670921a4so890562b3a.0; Sat, 24 Feb 2024 09:25:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708795556; x=1709400356; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=uAeCo/AcYCYLlxx+rUC55TzelkJiG1qBUO3+Q6Qt12M=; b=ePDxcQG7upTVkbX2vitIODqgA0a4V5Z219yFaRVoiyRX3jycb8DMlC7IuuF31WDcs+ RhipKKiMjySCkeAaDOGPXolKRGQ2sf0U+g/TePGN6Ss2nK8ra8EHlMB6YSLjF/EZVZtw d/bEulWwP1QzFoiCNrj4S1tjxlH6TD5Oo1ETbALppGFiRdeFwOaN+UEkhPbBVQiy+2WC jV9oYIdMFrLlNRxl7Tmt6zcZhVo5drKzifIej37coyTy5qEQ09oJP5Rw8wfRHeqjGZ32 4q/dAa4HT+h6C+S7qBjl0XAli/oozijDxJr3lnQ4iizyz/fyv9hH0arFC9HsPRyALgr1 Z9hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708795556; x=1709400356; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uAeCo/AcYCYLlxx+rUC55TzelkJiG1qBUO3+Q6Qt12M=; b=gzXQx3Uw06l3Z53BE4GzoIJLYStZKyELb2MYCx8OAy4fRHWiArw/n2YOmERl76A5/S YKEkfB76XrK6HrNtKse5VjkmDnJE6z1kAwO936WgqQiloJY2lcBHiwE3V6ZCw8Tiktug RKXIi1XlX/fPozkctlIF1KOrmGqE785mMzcRZSiMnGTXH3zAeD2QPcm8vk3/mKVmfmzC XSWSJMLgOasWeP7Ys2pVP++gymAvruO+JOwG5vd2zl+g7iOtn8hg5y97IOOk8NyyBzfx ufPOK32ZdOtw59Ld+MAJ4bl/2ffB1gCJkr0gKmynDWZdr0FgQ0+Ow9AyV+jWj8BfEtu1 U46Q== X-Forwarded-Encrypted: i=1; AJvYcCWfhhmWGv7oQmYtO2VGGKnikevzmfSReZoTam+sQ/kNtGnfBLTGA818YlQ+opuvhu8W98dVjNQNE2f5XtsfOHZ2aAWT5Hsx3i/AahOkXYvRVd1PLQHbUlgQQAtDFkrgWmM43+8sjTqEHw2kVdU= X-Gm-Message-State: AOJu0YzlocIji6U6NZ2CWo1AH059h/I+1S1/Hi70blW4lo0BijQnq+xg 5prcKhu5kj2I21gmvv1yvEvzRn5tyTPy2r55rXzyl0PXXelyBDx2BAlIx43E X-Received: by 2002:a05:6a00:290c:b0:6e4:8ffc:e31f with SMTP id cg12-20020a056a00290c00b006e48ffce31fmr4024068pfb.20.1708795555765; Sat, 24 Feb 2024 09:25:55 -0800 (PST) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id ks1-20020a056a004b8100b006e471ade144sm1324264pfb.188.2024.02.24.09.25.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 09:25:55 -0800 (PST) Sender: Guenter Roeck Date: Sat, 24 Feb 2024 09:25:54 -0800 From: Guenter Roeck To: David Ober Cc: Mark Pearson , David Ober , "wim@linux-watchdog.org" , "linux-kernel@vger.kernel.org" , "linux-watchdog@vger.kernel.org" Subject: Re: [External] Re: [PATCH v2] watchdog: add in watchdog for nct6686 Message-ID: <9d670c24-4897-4a02-87c1-98e366075e83@roeck-us.net> References: <20230912112747.285393-1-dober6023@gmail.com> <78da7ad0-cc11-4e6f-bf25-12bd5ec247a0@app.fastmail.com> <8458d626-8862-44ed-8966-2f60852c92bb@app.fastmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Sat, Feb 24, 2024 at 05:00:04PM +0000, David Ober wrote: > Hi > > I understand the issue of the first come first grab but when I attempted to add this to the hwmon you insisted that that was not the correct place and to create a watchdog module so if both can not be loaded then would it have not been better to add it to the hwmon like some of the other chips. > Two options: - Add it to the hwmon driver. Not a preferred solution. - Implement a mfd driver which controls access to the chip (preferrably through regmap) and instantiates both the hwmon driver and the watchdog driver. Guenter