Received: by 2002:a05:7208:13ce:b0:7f:395a:35b6 with SMTP id r14csp367163rbe; Thu, 29 Feb 2024 01:44:55 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWgtB0lgnPyD5/LqC3BJGjeBVJX7mo2StqwPiIxIn2utcqu1kZMYdIkBcg5paJwF32CsfyHRFvkujO0X2sgqkLYTm8uh9fJUdsWwDWUjQ== X-Google-Smtp-Source: AGHT+IFYU8nv5cDOmJ/MGweKA0lNJmSWpB9iE/7c769v3xDTaSLf/oHlVNovS7sGd88bq46h6Ich X-Received: by 2002:a17:902:a384:b0:1dc:6b99:a547 with SMTP id x4-20020a170902a38400b001dc6b99a547mr1411018pla.47.1709199894976; Thu, 29 Feb 2024 01:44:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709199894; cv=pass; d=google.com; s=arc-20160816; b=gfmWKI3rIaeHbgqwK1fdj7t+oqnxjGg98DpaX1cVlh2iLVnkZuaemBmKIs5X7KJdiQ VcMDQPmJxaMYZWSWval8s8C7bBtjVR+2PqiKIhDCs6KT38CFpo3PwDd2LRkAI8EofSN3 uHAgXxL9oY9I3Pvv5i47FMvH6B/N/6ieHDoJNaa9KvocXtNWlCd5TXP3f77cLqGylBYc t3PjK2nQDipd9A8CtLA6r8zrldzufFQg6z0o+Qxi92gUlm0DcN69ZcoOGy+CICYWlVZc q5MRrocfKfFQ/jF7pJfretBg8QmsakrUPV/Gd7uQDftOpNslwQpbMNxtnYKMUHm/sTPU KVJg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=BTKFqTkQ/Hdxy7pKbUgkWsXlYhvwEw9bt65k1KFPuDs=; fh=Q5QM4CtNpvZzY0H1TsOjAO6N55lxj3rDUbwWvU3ZY9M=; b=CLJGr/NbTBbxe3fkq4odEhBJeLteAPP1XFvRP8EopafkFr+njOcvwEdPBYpwrH9r+P nDUR3VkadphXPO0LnBdcCMOMe3LaDn+hi/zC/IiqDirL4D7A3oveMbUo3/kPQ6zplJcE 6Edzw43aKYgFB2K4ZrcbUVZnwvVAa0xewGXIsgLbm19WUyEktXsa3T9qElrhHJwXE9hT TealsSfn99eGEhmbCeFisTlxUm0nwLYppBACexpGRhTOug4cJTJI9mYkm3ASdzTjutrQ S3VdB6iZHP+HqC9tuj1t7N/KXIWPg0y/S59KhwwlJgCYgXFb/QYnaSwbzc6r9uf9SP7q hXSg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qPpMxIOF; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-86437-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86437-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id y23-20020a17090264d700b001d720af9a66si946225pli.366.2024.02.29.01.44.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 01:44:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-86437-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qPpMxIOF; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-86437-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86437-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id A2AE1B266A1 for ; Thu, 29 Feb 2024 09:34:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A16E45DF3E; Thu, 29 Feb 2024 09:33:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="qPpMxIOF" Received: from mail-yw1-f181.google.com (mail-yw1-f181.google.com [209.85.128.181]) (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 4A6B85D90E for ; Thu, 29 Feb 2024 09:33:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709199229; cv=none; b=sKy8mQ9EpJ2N+BVx8k7Ti3CVk188+7uRhH3D0MDxwBFR0LmsIg7MjqM+S3q8VxEn3MM4HVI0CzwKHbirL6ZHLcKpjsBNHcyU0+CKjLeay/iSJwR/vYhPH6UUHzIhv0pEcXxaXaDcWyqSWvtYQd5KQG1zTFytZIZyMD51w8h2hqY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709199229; c=relaxed/simple; bh=BTKFqTkQ/Hdxy7pKbUgkWsXlYhvwEw9bt65k1KFPuDs=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=cPJQSg/kLSBIT1eOi8Awr2gcS02Qfa4joSfp6dwKocnl57onP5CRTVL/XJcEoc8gYlwreeBU2WqTlyPeD4lcickz5zdRhAkaec1GaRYWkHPq+c1fCnAc7jtP2LuBJFbwN6tgJOYnfViiMT9gP3jpoaiHSknLQ/VOjq3mD6mJLXk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=qPpMxIOF; arc=none smtp.client-ip=209.85.128.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yw1-f181.google.com with SMTP id 00721157ae682-6096ff3e4abso3036937b3.0 for ; Thu, 29 Feb 2024 01:33:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709199226; x=1709804026; 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=BTKFqTkQ/Hdxy7pKbUgkWsXlYhvwEw9bt65k1KFPuDs=; b=qPpMxIOFBOREPhw9l3O7ylF7/oN7NkAvmbPK7SJgn3VjC0kayodnvodSMV/m3iMTst eiO1fndMDSZtAk9Ls7c3TpYK/ub97gV5edzDCG/RKTCmm9iKRKwzYDc6hxlsVagrC0QT TPQhsCH0YbAyU6/w3THRgtE5IhnpZTJLx49aB8q1nLUuRKsAggBK/gnTXs9st6Op4Y5A 1b3AfAiuuEIYAc8Iw9/dcXSsTjuCUijINJJ0zanFGYRkQDGBxRg6gzknIHiaJKRwlxuP L5QiD2DlzdGlUySs/8iwwBgDtcZR6lJO/c73sBVr89nRYIw+b2wqp7qS1NLcjf3JZr4g 5N9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709199226; x=1709804026; 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=BTKFqTkQ/Hdxy7pKbUgkWsXlYhvwEw9bt65k1KFPuDs=; b=j62LxVqSaqooAvUTQjxUrHGTLD+OqHiMZ9izVpbXYeCr117FWCkoWKPmjmyPGuedaU wfj6/TPV/1oNSnZa8bn8tAJW4vTAsar+YUXhkUQ6RdfUoPdbRXjUYxDD8CR7u/jpOIZU Vvfa9m/+fy3xfaUFf67ajrUFArDN6g6bjwsXB3RQQAD6fv0pyU6oYeS+1Hb57FbTijDp L9fYvIHVn5I7ZmFn+nILCcxieMaxX/VQA+6gqKXsGDb/bRNbCNSejNdzrsCOggTK2vUu oxDlp+aF4FH+FDr44px6J8h7/DSnICG2KIo0dqb9W848oPb7GcxRO2ZrD3mihruKy5xn iVNg== X-Forwarded-Encrypted: i=1; AJvYcCWNc8+GJa17FThCn1RR6lKDPGRqASrvK5flzBcLn7FB+7pklArGpUMU4qmOpHxf8mKKqroz6B1CCMzi4UA48SwuPmJ2S2PNcP9WNtKR X-Gm-Message-State: AOJu0YxVp75qjL3YkV6tC8v/sxcT1gb3b8F3cIpa4dSqj9335Q/U1tLu fJf1w4ZdFf3TsXW89uLtalCr3TY/nuBslzDCzUOSg8EOp1HN7t5Nkkwl54X0jJm9Ivfm2S2FO/t 6AtpikliSeCIFwE3CqjoZ7LC1W8dBKpFaKNL6Lg== X-Received: by 2002:a25:8548:0:b0:dc2:349d:10cf with SMTP id f8-20020a258548000000b00dc2349d10cfmr1676538ybn.53.1709199226350; Thu, 29 Feb 2024 01:33:46 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240228-mbly-gpio-v2-0-3ba757474006@bootlin.com> <20240228-mbly-gpio-v2-20-3ba757474006@bootlin.com> In-Reply-To: <20240228-mbly-gpio-v2-20-3ba757474006@bootlin.com> From: Linus Walleij Date: Thu, 29 Feb 2024 10:33:35 +0100 Message-ID: Subject: Re: [PATCH v2 20/30] gpio: nomadik: make clock optional To: =?UTF-8?B?VGjDqW8gTGVicnVu?= Cc: Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Philipp Zabel , Thomas Bogendoerfer , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, Gregory CLEMENT , Vladimir Kondratiev , Thomas Petazzoni , Tawfik Bayouk Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Feb 28, 2024 at 12:28=E2=80=AFPM Th=C3=A9o Lebrun wrote: > Not all platforms using this platform driver expose a clock for this > GPIO controller. Turn devm_clk_get() into devm_clk_get_optional() to > avoid failing when no clocks are provided. > > Signed-off-by: Th=C3=A9o Lebrun Patch applied! Yours, Linus Walleij