Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2808027rda; Wed, 25 Oct 2023 12:57:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGc1Glzqo+F0WKednf5ZKa7jvlAoNyjpNJZ0VIJ66plCru+wiGQmoYvUdZn+YsEMnUi7CCp X-Received: by 2002:a05:6902:1343:b0:d9a:4f29:866d with SMTP id g3-20020a056902134300b00d9a4f29866dmr18496046ybu.60.1698263825695; Wed, 25 Oct 2023 12:57:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698263825; cv=none; d=google.com; s=arc-20160816; b=mYmjDH9AWoxHXAcpzAwyr0E8Y5O2y2kj6qtxgsPUKya1GjnTspxyXvdt95VjfsuP52 trkCvDbMh3oCD0D0QNiXBnuqlTBjv9rElAdl+ZPBKZzRis44HSTND8fhn0R5CsbdqVcP DQze9g8lisS8aLP+SpQGw3yOsKOy2pTA8gYp6cPU9PYu9+/8TmrnQ71YMMLusl99IdZx iun68HGh8LeecYb7m7W7MHcvQ+YXMnd2S/dY0/EmQ7EDVzKiqgY1TYIB1pmeny7wZDyy CvpfOWCeIAc26P6KW5X9V9Qn/SdCrKf0JZeT52lvjnUcwXRi3y8T3j6MhUTZchzmYPi9 PRmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=3XFWueEfiw2bQQie01J9PQDSlZE4Y5T3Z8ssKqoKnFg=; fh=qyyDiZo/rLWAxW1q+xKY6cfFwjsUtsLdz/ROfMILfFA=; b=CjGHH9L+BPP5cTVjUGwVrip1p+yNANaToYSIa2kMqZW9L2xENo2ck2gbZdpnQOLjp9 P0H22/rKCyxuFeOPr4rc9GuC+7YDrd+8KyU1ItTKyBmaKrgrJaJ6UTXYqZMxntGBH0QR RmzTbnehJG1KyhR7yJ+lpvJ3qB73ThiT8jNuvHom5BMfU+3J7orXOl3WQlTGWHrKCpUd 9/6M2xtYzjTeer7tVChkVTcyPdCMAduPZnimK/x2vyN+rGWBOz89RPWYys1bP6LwFH7z G8IxvnBxZE5e85eKla/kxYC2cJ2kY03bwj1ERXcTgz8m5iJXI0TleyyFnrbmrw5hgySF LFdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ghe4xlz7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id a2-20020a25ae02000000b00d9a55d40b85si12513504ybj.137.2023.10.25.12.57.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 12:57:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ghe4xlz7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 1E4CC80C5C9A; Wed, 25 Oct 2023 12:57:03 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229629AbjJYT4r (ORCPT + 99 others); Wed, 25 Oct 2023 15:56:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229498AbjJYT4p (ORCPT ); Wed, 25 Oct 2023 15:56:45 -0400 Received: from mail-yb1-xb35.google.com (mail-yb1-xb35.google.com [IPv6:2607:f8b0:4864:20::b35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30D3DE5 for ; Wed, 25 Oct 2023 12:56:43 -0700 (PDT) Received: by mail-yb1-xb35.google.com with SMTP id 3f1490d57ef6-d9ad67058fcso89198276.1 for ; Wed, 25 Oct 2023 12:56:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698263802; x=1698868602; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=3XFWueEfiw2bQQie01J9PQDSlZE4Y5T3Z8ssKqoKnFg=; b=Ghe4xlz7glUos1/u3uBIlRZfHGRuHPtIH2qxGf15SrKXpx6VgLi6b/449MHmR8v1Ri 2IoQeCPjSfULapuWbxBwHLUAosuCWJRlzo6V31km557GUXKBpqQUuaLBt/djqxdi+ejd jwe78yZgtQOAW2Q+si7ETjFBA2sBOqJAlyqzEcNxoRnJeP2+vs2VSGHlBV0bZtUSDSjm +dfpetrK/CgDiZWULIvQ0t7pH0pXnGRTNjhakRfV+zLwRgfJbUvKm3ePIvD7gNCU/S1y gKaom4HAFOKhjphkQJnSSh1zg6NjB6GYSkrNI8FmCCH0nNbrurbqKkPlzRFULpdJjeZB LnEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698263802; x=1698868602; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3XFWueEfiw2bQQie01J9PQDSlZE4Y5T3Z8ssKqoKnFg=; b=mOjM6v3dLpOAT0DCCE3DY5sfFhIDqv/NwLhs7xV05xXhjTK4leaNK+YYjua9oEosgF 3WD5WyM3kizr+Clc6BFYF//QqlgNIJGMt1IDVYS5iUF02vumJaGFhjo4Vqo+3o/Ec+Iv iTUHaTCbqx9s2sVBkflElAk6e/rrrA/HP716uxeYOexh+z+Q/uAuLYXWYC5cRmEHdE4Y ihPGxXznJ108kH6I0WkaA0dVd0iTH1cUn4ZXEgNflfJ2dJ111uLBsL7aK1iROZ9SfVAt E0XHwuMW1jC8ByWeYbpO8G0g70kJgSf3NcEEYhW4eHe/0vOTto414t/BQNw+crM9wz0O DSTg== X-Gm-Message-State: AOJu0Yy9ramqcQfj6HkQVQYymj9yEm2PnnqSc7XzWRiB61NWD9LTJPeM TXUwEm0l6xoLuEV5gmM9MlML2YwRZMHXl5jfs95xOgn/oO3S5dOc X-Received: by 2002:a25:cf14:0:b0:da0:3475:c5e9 with SMTP id f20-20020a25cf14000000b00da03475c5e9mr7623910ybg.18.1698263802406; Wed, 25 Oct 2023 12:56:42 -0700 (PDT) MIME-Version: 1.0 References: <20231025190619.881090-2-robh@kernel.org> In-Reply-To: <20231025190619.881090-2-robh@kernel.org> From: Linus Walleij Date: Wed, 25 Oct 2023 21:56:31 +0200 Message-ID: Subject: Re: [RESEND PATCH v2] leds: syscon: Support 'reg' in addition to 'offset' for register address To: Rob Herring Cc: Pavel Machek , Lee Jones , linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Wed, 25 Oct 2023 12:57:03 -0700 (PDT) On Wed, Oct 25, 2023 at 9:09=E2=80=AFPM Rob Herring wrote= : > The register-bit-led binding now also supports 'reg' in addition to > 'offset' for the register address. Add support to the driver to get the > address from 'reg'. > > Cc: Linus Walleij > Cc: Pavel Machek > Cc: linux-leds@vger.kernel.org > Signed-off-by: Rob Herring Reviewed-by: Linus Walleij Yours, Linus Walleij