Received: by 2002:ac8:156:0:b0:3e0:cd10:60c8 with SMTP id f22csp2673657qtg; Tue, 4 Apr 2023 06:14:44 -0700 (PDT) X-Google-Smtp-Source: AKy350Zz95ZfxMOJq54pxeHZ+iO1O1vnW+NVleklEwtGuEhSl5qQWrNoNraiekoDviLKIo7oTCQR X-Received: by 2002:a62:1955:0:b0:62d:d9a6:bc9e with SMTP id 82-20020a621955000000b0062dd9a6bc9emr2177672pfz.18.1680614083673; Tue, 04 Apr 2023 06:14:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680614083; cv=none; d=google.com; s=arc-20160816; b=mODGuorB/4UNS+WmuDK7WuN12ddeiEnwHFg0d/HOaF+8dKhPnz0+R7+9v5Xu4rt291 2hcTfrA4XnasYrE7tbpar3IVpx6fquIK7Fx4dUI2WDjXqgdgJvt/PSGElM/HFuMyVukl Wg/vx3AqQPIKWmRE1Jy7jtlkK8b4WJkqIGNTOAnI7vCFX32itE6afUkiBTRT/Mmjvncj s1r5exib+mM1VO8E9TL6Xibp9DY4YHUwkmo/0HkF7KWQkwkANbr7w/cAGeTAcPlvPyUY YUXrKJeAb3d93ysSUWMXUUYq2ZIInBL/AA05eYwsN5ezsD0QBDrZyjVvuwa36LNkUvkc K2xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=fqtoEDZVWkpxcyzUs7xGDK15f83XMUNAY3m/O6ttw+s=; b=Zh03kvkotVAxYwERqoPmT2q7WzQ5rStnqsoTLBHzikxy4myqfQ6uZVW99sFOGFdc1+ UfyBAS+kiI+FGQTi3+CFX/K35qcuY1ZUwM9Q7ZkG0ImGFJdJJdJ1GuK8WDVT+ACUWyTr gj5Cx13D8f3brSg5BQuDCJ+ofrUMZ3Q9dR5G4vmxtaR4g+9W7rEk+r1W8WekkQ7w7Vza EWgyfVnkOV/K7B73I/vM5qJBb7CEpycBaMvRi/yFw5jxjbtQ0IZWIp7CjZB+kNJa1/bh MLII3HoyFAh3ekhUt4M/CIfiG0IoCzKYhoM0SOBReeCDQbG0oIAi337z83usxUpjOtLr rq3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=h+Dkbi6k; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f127-20020a625185000000b0062c1ea507cbsi10503017pfb.130.2023.04.04.06.14.30; Tue, 04 Apr 2023 06:14:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=h+Dkbi6k; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235161AbjDDNLI (ORCPT + 99 others); Tue, 4 Apr 2023 09:11:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234216AbjDDNLC (ORCPT ); Tue, 4 Apr 2023 09:11:02 -0400 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F56E359B for ; Tue, 4 Apr 2023 06:10:56 -0700 (PDT) Received: by mail-ed1-x52a.google.com with SMTP id y4so130459513edo.2 for ; Tue, 04 Apr 2023 06:10:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680613856; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=fqtoEDZVWkpxcyzUs7xGDK15f83XMUNAY3m/O6ttw+s=; b=h+Dkbi6kOstMI39IA7cvSaywyJX4Ycw3uQ2u6jjtLZTs8F/imiXll66ajpcoXGbhEM lGn5DPPGBpyNQBhkv6IltksGxH99RDtaLUyKm4d+hMiDeQuhr0QzAJUcZ3JN3ASKhtXy CV6rUEJ1GsCWxcDquhpOpRx0kHERW447ObIZDbM69mQM5Yj4L2VZsgFcFI+hQtXGXBre CjIUvJn818WyklraPGkuSgLG97PedNk7tMr7ufDFUFzDy+Au6LvHF91rGhZquZ5B4myF MdGvYUVNSzTV+j5Q89sk950JpkemyKlPaZougK/2JqzoDCQKQzZptLwrBmA2Zq3g7oIz rrmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680613856; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=fqtoEDZVWkpxcyzUs7xGDK15f83XMUNAY3m/O6ttw+s=; b=UDsqGQ5ip6LBx/9htIMVXK/sZHohyS7KE/wqq54lTh1/ZfnzAjWrhVTYdGSZlRqIcJ H6BpQ/pKkTTyZqlyZj8aMzhd//KWf+hVd2hjkOI+agOAuyMNMto0kVf0um65rkAJL9Wi rO9aGOUSN4ZjXhkGyca1lSjbxoBvznEINzhxTa70w3skReowxK7Or0Wrvy431SF5Cfzd HKoyqI4BOXaX6yH4JMOFEHdpGwrdd+oY03Arwz2gQ+9PtjV4DLMLFpNWQuRgw9r+S6Kg AOO92OmRI9LUx3F2bE30SDINbQvy1JckaeFaDfnHh7cf9yiJhDFGO70zqIcRgklCMAbn XxGw== X-Gm-Message-State: AAQBX9e0I6AGtNlpM8P+8kGBG6aGxrXFXaie9eteXzGpwPEjHOF9SF1E 5KwwiPmf6rFwVYcJcuXiR9E/xQ== X-Received: by 2002:a17:906:3553:b0:944:6d88:206 with SMTP id s19-20020a170906355300b009446d880206mr2250852eja.71.1680613855935; Tue, 04 Apr 2023 06:10:55 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:7467:56f4:40b7:cba8? ([2a02:810d:15c0:828:7467:56f4:40b7:cba8]) by smtp.gmail.com with ESMTPSA id r19-20020a50c013000000b004fd29e87535sm5870813edb.14.2023.04.04.06.10.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 04 Apr 2023 06:10:55 -0700 (PDT) Message-ID: <5c4a2a12-9ae7-fb26-ed48-4fb4dfd792f3@linaro.org> Date: Tue, 4 Apr 2023 15:10:54 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v5 1/2] drivers: rtc: add max313xx series rtc driver Content-Language: en-US To: Ibrahim Tilki , a.zummo@towertech.it, alexandre.belloni@bootlin.com, jdelvare@suse.com, linux@roeck-us.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, Zeynep Arslanbenzer References: <20230403154342.3108-1-Ibrahim.Tilki@analog.com> <20230403154342.3108-2-Ibrahim.Tilki@analog.com> From: Krzysztof Kozlowski In-Reply-To: <20230403154342.3108-2-Ibrahim.Tilki@analog.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/04/2023 17:43, Ibrahim Tilki wrote: > Adding support for Analog Devices MAX313XX series RTCs. > > Signed-off-by: Ibrahim Tilki > Signed-off-by: Zeynep Arslanbenzer (...) > + > +static int max313xx_clkout_register(struct device *dev) > +{ > + struct max313xx *rtc = dev_get_drvdata(dev); > + int ret; > + > + if (!device_property_present(dev, "#clock-cells")) Why would it be not present? Best regards, Krzysztof